@php $storeName = \App\Models\Setting::where('key', 'store_name')->value('value') ?? 'DigiShop'; $pageDesc = $page->meta_description ? strip_tags($page->meta_description) : strip_tags(Str::limit($page->content ?? '', 160)); @endphp @section('title', $page->title . ' - ' . $storeName) @section('meta_description', Str::limit($pageDesc, 160)) @php $allPages = \App\Models\Page::published()->orderBy('title')->get(); $waNum = preg_replace('/[^0-9]/', '', \App\Models\Setting::where('key', 'whatsapp_number')->value('value') ?? ''); @endphp
{{-- Page Hero Strip --}}
{{-- Subtle Abstract Background Pattern/Gradient --}}
{{-- Breadcrumb --}}

{{ $page->title }}

@if($page->meta_description) @endif
Diperbarui: {{ $page->updated_at->translatedFormat('d F Y') }}
{{-- Main Content Area --}}
{{-- Main Content Card --}}
{{-- Loading overlay --}} {{-- Actual Content --}}
@if($page->content) {!! clean($page->content) !!} @else

Belum ada konten untuk halaman ini.

@endif
{{-- Back Button --}}
{{-- Sidebar --}}
{{-- Daftar Halaman (SPA Nav) --}} @if($allPages->count() > 0)

Halaman Lainnya

@endif {{-- WhatsApp CTA --}} @if($waNum)

Butuh Bantuan?

Hubungi kami langsung via WhatsApp, kami siap membantu Anda.

HUBUNGI KAMI
@endif
{{-- /sidebar --}}
{{-- /grid --}}
{{-- /container --}}
{{-- /bg section --}}
{{-- SPA Logic --}}