@php $branding = $ws->branding(); $seo = $ws->seo(); $seoTitle = $seoTitle ?? ($pageTitle ?? 'Admissions Portal'); $fullTitle = str_replace(':page', $seoTitle, $seo['title_template']); $metaDescription = $metaDescription ?? ($pageMeta ?? ($seo['meta_description'] ?? 'Apply online to ' . $websiteSchool->name)); $ogImage = $ogImage ?? $branding['og_image']; $contact = $ws->contact(); @endphp {{ $fullTitle }} @if ($ogImage) @endif {!! favicon_html($websiteSchool ?? null) !!} @php $fonts = collect([$branding['font_heading'], $branding['font_body']]) ->unique() ->map(fn ($f) => config("website.fonts.{$f}")) ->filter() ->implode('&'); @endphp @if ($fonts) @endif @vite(['resources/css/website.css']) @stack('head') Skip to content {{-- Admission portal header --}}
@if ($branding['logo']) {{ $websiteSchool->name }} logo @else {{ $websiteSchool->initials ?? substr($websiteSchool->name, 0, 2) }} @endif {{ $websiteSchool->name }} Admission Portal
@yield('content')
{{-- Admission portal footer --}} @stack('scripts')