@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
@if($logoUrl) @else {{ strtoupper(substr($appName, 0, 1)) }} @endif {{ $appName }}
@if(isset($languages) && $languages->count() > 1)
@endif @if($footer && ($footer->show_admin_login ?? false)) {{ __('landing.admin_login') }} @endif {{ __('landing.sign_up_free') }}
@if($hero && $hero->subtitle)

{{ $hero->subtitle }}

@else

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

@endif

@if($hero) {!! $hero->title !!} @else {{ $appName }} @endif

@if($hero && $hero->description)

{{ $hero->description }}

@elseif(!$hero)

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

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

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

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

@foreach($stats as $stat)
{{ $stat->value }} {{ $stat->label }}
@endforeach
@endif @if(!empty($testimonials)) @if(isset($stats) && $stats->isNotEmpty()) @else

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

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

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

@endif @if(isset($stats) && $stats->isNotEmpty())

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

@endif
@foreach($testimonials as $t)

“{{ $t->review }}”

@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
@endif @if(!empty($features['is_active']) && $features['items']->isNotEmpty())

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

@if($features['section'])

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

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

@else

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

@endif
@foreach($features['items'] as $feature)

{{ $feature->title }}

@if($feature->description)

{{ $feature->description }}

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

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

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

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

@forelse($howItWorks['steps'] as $i => $step)
{{ str_pad((string) ($i + 1), 2, '0', STR_PAD_LEFT) }}

{{ $step->title }}

{{ $step->description }}

@empty
01

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

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

02

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

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

03

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

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

@endforelse
@endif @if(!empty($pricing['is_active']) && isset($pricing['plans']) && $pricing['plans']->isNotEmpty())

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

@if($pricing['settings'])

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

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

@else

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

@endif
@foreach($pricing['plans'] as $i => $plan)
@if($i === 1) {{ __('landing.most_popular') }} @endif

{{ $plan->name }}

@if($plan->price == 0) {{ __('landing.perfect_to_start') ?? 'Perfect to get started' }} @else {{ __('landing.for_growing_teams') ?? 'For growing teams' }} @endif

@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)

{{ __('landing.or') }} {{ $currencySymbol }}{{ $plan->yearly_price == floor($plan->yearly_price) ? number_format($plan->yearly_price, 0) : number_format($plan->yearly_price, 2) }} / {{ __('landing.yr') }} @if($plan->getYearlySavingsPercent() > 0) {{ __('landing.save') }} {{ $plan->getYearlySavingsPercent() }}% @endif

@endif @php $limits = $plan->limits ?? []; $planFeatures = $plan->features ?? []; @endphp
    @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
{{ $plan->isFree() ? __('landing.get_started') : ($plan->hasTrial() ? __('landing.start_free_trial') : __('landing.choose_plan')) }}
@endforeach
@endif @if(!empty($faqs))

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

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

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

@foreach($faqs as $faq)
{{ $faq->question }}
{!! nl2br(e($faq->answer)) !!}
@endforeach
@endif @if($cta)

{{ $cta->title }}

@if($cta->subtitle)

{{ $cta->subtitle }}

@endif @if($cta->button_text) {{ $cta->button_text }} @endif
@endif