@php $is = fn($name) => request()->routeIs($name); $any = fn($names) => collect((array) $names)->contains(fn($n) => request()->routeIs($n)); $home = route('front.home'); $onHome = request()->routeIs('front.home'); $homeSection = fn($hash) => $onHome ? $hash : $home . $hash; // ✅ Active groups $aboutActive = $any([ 'front.about', 'front.online_education', 'front.mission', 'front.vision', 'front.objective', 'front.career.*', ]); $acadActive = $any(['front.faculties.*', 'front.departments.*', 'front.programs.*', 'front.carculam.*']); $mediaActive = $any(['front.posts.*', 'front.events.*', 'front.videos.*', 'front.galleries.*']); $acadActive = $any(['front.faculties.*', 'front.departments.*']); // Language $locale = app()->getLocale(); $locales = config('app.available_locales', []); @endphp
@section('styles') @endsection