@php use App\Http\Middleware\SetLocale; use App\Models\Faq; use App\Models\KpiFeature; use App\Models\LandingBlock; use App\Models\Testimonial; $locale = app()->getLocale(); $rtl = SetLocale::isRtl($locale); $platformName = config('platform.name', config('app.name')); $tagline = config('platform.tagline'); $get = fn (string $key) => LandingBlock::findByKey($key); $hero = $get('section_one'); $features = $get('section_two'); $analysis = $get('section_three'); $kpisIntro = $get('kpis_intro'); $faqIntro = $get('faq_intro'); $testIntro = $get('testimonials_intro'); $cta = $get('cta'); $footer = $get('footer'); $kpiBlocks = KpiFeature::where('is_active', true)->orderBy('sort')->get(); $faqs = Faq::where('is_active', true)->orderBy('sort')->get(); $testimonials = Testimonial::where('is_active', true)->orderBy('sort')->get(); $iconMap = [ 'emerald' => 'from-emerald-500 to-emerald-700', 'sky' => 'from-sky-500 to-sky-700', 'indigo' => 'from-indigo-500 to-indigo-700', 'violet' => 'from-violet-500 to-violet-700', 'amber' => 'from-amber-500 to-amber-700', 'rose' => 'from-rose-500 to-rose-700', 'slate' => 'from-slate-500 to-slate-700', 'brand' => 'from-brand-500 to-brand-700', 'blue' => 'from-blue-500 to-blue-700', 'red' => 'from-red-500 to-red-700', ]; @endphp
{{ $hero->t('subtitle') }}
@php $logos = $hero->v('trust_logos', []); @endphp @if(!empty($logos)){{ $features->t('subtitle') }}
{{ $features->t("card_{$i}_text") }}
{{ $kpisIntro->t('subtitle') }}
{{ $kpi->summary() }}
{{ $analysis->t('subtitle') }}
{{ $analysis->t("card_{$i}_text") }}
“{{ $t->content() }}”
{{ $faqIntro->t('subtitle') }}
{{ $cta->t('subtitle') }}