{{-- SEO --}} @isset($seo) {{ $seo['full_title'] ?? $seo['meta_title'] ?? config('app.name') }} {!! app(\App\Services\SeoService::class)->renderMetaTags($seo) !!} @else {{ config('app.name') }} @endisset {{-- Schema --}} @isset($schemas){!! $schemas !!}@endisset @isset($schema){!! $schema !!}@endisset @isset($breadcrumb){!! $breadcrumb !!}@endisset {{-- Fonts --}} {{-- Icons --}} {{-- Swiper + AOS + FancyBox --}} {{-- Tailwind --}} {{-- Custom CSS --}} @stack('head') {{-- Google Analytics --}} @php $gaId = \App\Models\Setting::get('google_analytics_id'); @endphp @if($gaId) @endif {{-- TOP BAR --}}
online
@foreach([['fab fa-facebook-f','#'],['fab fa-instagram','#'],['fab fa-youtube','#'],['fab fa-linkedin-in','#']] as [$ic,$url]) @endforeach
{{-- HEADER --}}
{{-- Logo --}}
SSGM
{{-- Desktop Nav --}} {{-- Mobile toggle --}}
{{-- Mobile menu --}}
{{-- NEWS TICKER --}} @if(\App\Models\Setting::get('feature_news_ticker','1')) @php $tickerNews = \App\Models\NewsAnnouncement::ticker()->latest('published_at')->limit(12)->get(); @endphp @if($tickerNews->count())
📢 Latest
@foreach($tickerNews as $item) @if($item->badge_text){{ $item->badge_text }}@endif {{ $item->title }} @endforeach @foreach($tickerNews as $item) {{ $item->title }} @endforeach
@endif @endif {{-- FLASH MESSAGES --}} @if(session('success'))
{{ session('success') }}
@endif {{-- MAIN --}}
@yield('content')
{{-- FOOTER --}} {{-- CHATBOT --}} @if(\App\Models\Setting::get('feature_chatbot','1')) @include('frontend.partials.chatbot') @endif {{-- BACK TO TOP --}} {{-- SCRIPTS --}} @stack('scripts')