@php $favicon = App\Models\SiteSetting::getValue('site_favicon'); // Helper to convert hex to rgb for Tailwind rgba() support $hexToRgb = function($hex) { $hex = str_replace('#', '', $hex); if(strlen($hex) == 3) { $r = hexdec(substr($hex,0,1).substr($hex,0,1)); $g = hexdec(substr($hex,1,1).substr($hex,1,1)); $b = hexdec(substr($hex,2,1).substr($hex,2,1)); } else { $r = hexdec(substr($hex,0,2)); $g = hexdec(substr($hex,2,2)); $b = hexdec(substr($hex,4,2)); } return "$r, $g, $b"; }; @endphp @if($favicon) @endif {{-- Preconnect fonts --}} {{-- Dynamic Theme Overrides --}} {{-- livewire --}} @livewireStyles @livewireScripts {{-- Vite assets --}} @vite(['resources/css/app.css', 'resources/js/app.js']) {{-- Awwwards-Level Animation Engine (GSAP + Lenis) --}} @stack('head')
{{-- Custom cursor (desktop only) --}} {{-- Navbar --}} @include('frontend.partials.navbar') {{-- Flash messages --}} @if(session('success'))