@extends('layouts.app') @section('title', 'Travel Indo') @section('content') @php $c = $contentValue; // Format judul CMS: baris pertama jadi judul utama, baris kedua jadi aksen. $headline = static function (string $key) use ($c): string { $lines = explode("\n", $c($key), 2); return e($lines[0]).(isset($lines[1]) ? '
'.e($lines[1]).'' : ''); }; $specialties = range(1, 5); $reasons = range(1, 4); $trips = range(1, 3); $gallery = range(1, 7); @endphp
{{-- Hero dengan foto yang bisa diganti lewat panel admin. --}}

{{ $c('home.hero.overline') }}

{!! $headline('home.hero.title') !!}

{!! \App\Support\RichText::sanitize($c('home.hero.description')) !!}
@foreach (range(0, 2) as $dot) @endforeach
{{-- Pengenalan singkat Travel Indo. --}}

01 / {{ $c('home.intro.eyebrow') }}

{!! $headline('home.intro.title') !!}

{!! \App\Support\RichText::sanitize($c('home.intro.description')) !!}
{{ $c('home.intro.link') }}
{{-- Daftar spesialisasi layanan perjalanan. --}}

02 / {{ $c('home.specialties.eyebrow') }}

{!! $headline('home.specialties.title') !!}

@foreach ($specialties as $item)
0{{ $item }}

{{ $c("home.specialties.{$item}.title") }}

{!! \App\Support\RichText::sanitize($c("home.specialties.{$item}.description")) !!}
@endforeach
{{-- Alasan memilih Travel Indo. --}}

03 / {{ $c('home.reasons.eyebrow') }}

{!! $headline('home.reasons.title') !!}

@foreach ($reasons as $item)

{{ $c("home.reasons.{$item}.title") }}

{!! \App\Support\RichText::sanitize($c("home.reasons.{$item}.description")) !!}
@endforeach
{{-- Paket dan inspirasi perjalanan. --}}

04 / {{ $c('home.trips.eyebrow') }}

{!! $headline('home.trips.title') !!}

@foreach ($trips as $item) {{ $c( {{ $c("home.trips.{$item}.title") }} @endforeach
{{-- Galeri perjalanan terbaru. --}}

05 / GALERI PERJALANAN

{!! $headline('home.gallery.title') !!}

Buka galeri penuh
@include('partials.contact-footer')
@endsection