@props(['menu' => collect(), 'navMegaMenus' => []]) @php $currentPath = '/'.ltrim(request()->path(), '/'); if ($currentPath === '/') { $currentPath = '/'; } $ps = $publicSettings ?? $themeSettings ?? []; $bookUrl = $ps['cta.primary_url'] ?? '/book'; $bookText = $ps['cta.primary_text'] ?? 'Book Consultation'; $megaTypes = [ 'services' => ['path' => '/services', 'icon' => 'services'], 'hire' => ['path' => '/hire', 'icon' => 'hire'], 'industries' => ['path' => '/industries', 'icon' => 'industries'], 'locations' => ['path' => '/locations', 'icon' => 'location'], ]; @endphp