@php $isRtl = in_array(app()->getLocale(), ['ar', 'he', 'fa', 'ur']); $generalSettings = \App\Models\Central\GeneralSetting::instance(); $appName = $generalSettings->app_name ?: 'Stocky'; $logoUrl = $generalSettings->getLogoUrl(); @endphp @if($seo) {{ $seo->meta_title ?? $appName }} @if($seo->meta_keywords) @endif @if($seo->og_image) @endif @if($seo->favicon) @endif @else {{ $appName }} @endif @php $l6HeroVisible = $hero && ($hero->is_active ?? true); $l6CtaVisible = $cta && ($cta->is_active ?? true); $l6Faqs = isset($faqs) ? $faqs->filter(fn ($f) => ($f->is_active ?? true)) : collect(); $l6FaqsVisible = $l6Faqs->isNotEmpty(); $l6TestimonialsActive = isset($testimonials) ? $testimonials->filter(fn ($t) => ($t->is_active ?? true)) : collect(); $l6TestimonialsVisible = $l6TestimonialsActive->isNotEmpty(); $l6FeatureItems = $features['items'] ?? collect(); @endphp
@if($logoUrl) @else {{ strtoupper(substr($appName, 0, 1)) }} @endif
@if(isset($languages) && $languages->count() > 1) @endif @if($footer && ($footer->show_admin_login ?? false)) @endif
@if($l6HeroVisible)
background_image) style="background-image:url('{{ asset($hero->background_image) }}');background-size:cover;background-position:center" @endif> @if($hero->background_image)
@endif
@if($hero->subtitle)

{{ $hero->subtitle }}

@endif

@if($hero->title){!! $hero->title !!}@else{{ __('landing.launch_title') }}@endif

@if($hero->description)

{{ $hero->description }}

@endif
@if($hero->primary_button_text) {{ $hero->primary_button_text }} @else {{ __('landing.start_free_trial') }} @endif @if($hero->secondary_button_text) {{ $hero->secondary_button_text }} @else {{ __('landing.features') }} @endif
@if(session('success') && session('tenant_url'))
{{ session('message') }}
{{ session('tenant_url') }}
@endif
@if($hero->hero_image)
{{ strip_tags($hero->title ?? $appName) }}
@endif
@else @endif @if(isset($stats) && $stats->isNotEmpty())

{{ __('landing.trust_bar_eyebrow') }}

@foreach($stats as $stat)

{{ $stat->value }}

{{ $stat->label }}

@endforeach
@endif @if(!empty($features['is_active']) && $l6FeatureItems->isNotEmpty())

{{ __('landing.features') }}

@if($features['section'])

{{ $features['section']->section_title }}

{{ $features['section']->section_subtitle }}

@else

{{ __('landing.features') }}

@endif
@foreach($l6FeatureItems as $feature)
@if($feature->image) @elseif($feature->icon) @else @endif

{{ $feature->title }}

@if($feature->description)

{{ $feature->description }}

@endif
@endforeach
@endif @if(!empty($howItWorks['is_active']))

{{ optional($howItWorks['section'])->section_title ?? __('landing.how_it_works_title') }}

    @forelse($howItWorks['steps'] as $step)
  • {{ $step->title }}
  • @empty @foreach([__('landing.hiw_features_title'), __('landing.hiw_data_title'), __('landing.hiw_trial_title')] as $line)
  • {{ $line }}
  • @endforeach @endforelse
{{ __('landing.get_started') }}

{{ optional($howItWorks['section'])->section_label ?? __('landing.how_it_works') }}

{{ optional($howItWorks['section'])->section_subtitle ?? __('landing.how_it_works_subtitle') }}

@endif @if($l6TestimonialsVisible)

{{ __('landing.testimonials') }}

{{ __('landing.loved_by_businesses') }}

{{ __('landing.testimonials_subtitle') }}

@foreach($l6TestimonialsActive as $t)
@if($t->rating)
@for($s = 1; $s <= 5; $s++) @endfor
@endif

“{{ \Illuminate\Support\Str::limit($t->review, 160) }}”

@if($t->avatar) @else {{ strtoupper(mb_substr($t->client_name, 0, 1)) }} @endif

{{ $t->client_name }}

@if($t->company_name)

{{ $t->company_name }}

@endif
@endforeach
@endif @if(!empty($pricing['is_active'])) @php $l6Plans = $pricing['plans'] ?? collect(); $l6PricingYearly = $l6Plans->isNotEmpty() && $l6Plans->contains(fn ($p) => ($p->yearly_price ?? 0) > 0); @endphp
@if($pricing['settings'])

{{ $pricing['settings']->section_title }}

{{ $pricing['settings']->section_subtitle }}

@else

{{ __('landing.pricing') }}

@endif @if($l6PricingYearly)
@endif
@if($l6Plans->isNotEmpty())
@foreach($l6Plans as $i => $plan) @php $featured = $l6Plans->count() >= 2 && $i === 1; $limits = $plan->limits ?? []; $planFeatures = $plan->features ?? []; @endphp
@if($featured)

{{ __('landing.most_popular') }}

@endif

{{ $plan->name }}

@if($plan->price == 0 && $plan->yearly_price == 0) {{ __('landing.free') }} @else {{ $currencySymbol }}{{ $plan->price == floor($plan->price) ? number_format($plan->price, 0) : number_format($plan->price, 2) }} / {{ __('landing.mo') }} @endif
@if($plan->yearly_price > 0) @endif {{ $plan->isFree() ? __('landing.get_started') : ($plan->hasTrial() ? __('landing.start_free_trial') : __('landing.choose_plan')) }}
    @foreach($limits as $key => $value) @php $meta = \App\Models\Central\Plan::AVAILABLE_LIMITS[$key] ?? null; @endphp @if($meta)
  • {{ $value == -1 ? __('landing.unlimited') : $value }} {{ $meta['label'] }}
  • @endif @endforeach @foreach($planFeatures as $fKey) @php $fMeta = \App\Models\Central\Plan::AVAILABLE_FEATURES[$fKey] ?? null; @endphp @if($fMeta)
  • {{ $fMeta['label'] }}
  • @endif @endforeach
@endforeach
@endif
@endif @if($l6FaqsVisible)

{{ __('landing.faq') }}

{{ __('landing.faq_title') }}

{{ __('landing.faq_subtitle') }}

@foreach($l6Faqs as $faq)
{{ $faq->question }}
{!! nl2br(e($faq->answer)) !!}
@endforeach
@endif @if($l6CtaVisible)
background_image) style="background-image:url('{{ asset($cta->background_image) }}')" @endif>

{{ $cta->title }}

@if($cta->subtitle)

{{ $cta->subtitle }}

@endif
@endif

{{ __('landing.cookie_banner_title') }}

{{ __('landing.cookie_banner_text') }} {{ __('landing.privacy_policy') }}