@php $seoSiteName = \App\Models\Setting::get('brand.app_name', 'Quran Review'); $seoTitle = trim($__env->yieldContent('meta_title', $__env->yieldContent('title', $seoSiteName))); $seoTitleFull = \App\Models\Setting::get('seo.title_template', '{title} — {site}'); $seoTitleFull = str_replace(['{title}', '{site}'], [$seoTitle, $seoSiteName], $seoTitleFull); $seoDesc = trim($__env->yieldContent('meta_description', \App\Models\Setting::get('seo.default_description', \App\Models\Setting::get('brand.description', 'Platform membership Islami.')))); $seoImage = trim($__env->yieldContent('og_image', \App\Models\Setting::get('seo.default_og_image', asset('icons/icon-512.png')))); $seoCanonical = url()->current(); $gsc = \App\Models\Setting::get('seo.gsc_verification'); $twitter = \App\Models\Setting::get('seo.twitter_handle'); @endphp {{ $seoTitleFull }} @if(\App\Models\Setting::get('seo.keywords'))@endif @if($gsc)@endif {{-- Open Graph --}} {{-- Twitter --}} @if($twitter)@endif {{-- JSON-LD Organization --}} @yield('jsonld') {{-- Set theme sedini mungkin (hindari flash) --}} @vite(['resources/css/app.css', 'resources/js/app.js']) @php $pixel = \App\Models\Setting::get('meta.pixel_id'); @endphp @if($pixel) @endif @php $u = auth()->user(); @endphp {{-- Top app bar --}} @unless(View::getSection('bare'))
{{ $brand['name'] ?? 'Quran Review' }}
@auth @php $unread = $u->notifications()->whereNull('read_at')->count(); @endphp @if($unread)@endif {{ strtoupper(substr($u->name,0,1)) }} @else Masuk Daftar @endauth
@endunless
@if(session('status'))
{{ session('status') }}
@endif @yield('content') @unless(View::getSection('bare')) @endunless
{{-- Bottom tab nav (5 tab) --}} @unless(View::getSection('bare')) @endunless @stack('scripts')