@if(!empty($branding['favicon_url'])) @endif @if(!empty($branding['logo_url'])) @endif @hasSection('og_image') @endif @if(!empty($branding['logo_url'])) @endif @hasSection('og_image') @endif @vite(['resources/css/app.css', 'resources/js/app.js']) @php $theme = $generalSettings['theme'] ?? []; $brandPrimary = $theme['primary'] ?? '#1d4ed8'; $brandSecondary = $theme['secondary'] ?? '#0f172a'; $brandAccent = $theme['accent'] ?? '#e1252b'; $headGradientFrom = $theme['head_gradient_from'] ?? '#1e3a8a'; $headGradientTo = $theme['head_gradient_to'] ?? '#0f172a'; @endphp @include('partials.public-phone-inputs') @stack('styles') @php $socialLinks = collect($siteSettings['social_links'] ?? []) ->pluck('url') ->filter() ->values() ->all(); $orgSchema = [ '@context' => 'https://schema.org', '@type' => 'Organization', 'name' => $branding['site_name'] ?? config('app.name'), 'url' => url('/'), 'logo' => $branding['logo_url'] ?? null, 'sameAs' => $socialLinks, ]; $localBusinessSchema = [ '@context' => 'https://schema.org', '@type' => 'EducationalOrganization', 'name' => $branding['site_name'] ?? config('app.name'), 'url' => url('/'), 'image' => $branding['logo_url'] ?? null, 'telephone' => $siteSettings['phone'] ?? null, 'email' => $siteSettings['email'] ?? null, 'address' => !empty($siteSettings['address']) ? [ '@type' => 'PostalAddress', 'streetAddress' => $siteSettings['address'], 'addressCountry' => 'BD', ] : null, 'sameAs' => $socialLinks, ]; $websiteSchema = [ '@context' => 'https://schema.org', '@type' => 'WebSite', 'name' => $branding['site_name'] ?? config('app.name'), 'url' => url('/'), ]; @endphp @stack('seo') @include('partials.navbar') @yield('content') @include('partials.footer') @php $waNumber = preg_replace('/\\D+/', '', $siteSettings['whatsapp_number'] ?? ''); $waLink = $waNumber ? ('https://wa.me/' . $waNumber) : 'https://wa.me/+8801XXXXXXXXX'; @endphp @stack('scripts')