@props(['menu' => collect()]) @php $ps = $publicSettings ?? $themeSettings ?? []; $bookUrl = $ps['cta.primary_url'] ?? '/book'; $bookText = $ps['cta.primary_text'] ?? 'Book Consultation'; $exploreLinks = [ ['label' => 'Home', 'url' => route('home'), 'icon' => 'home'], ['label' => 'Services', 'url' => route('services.index'), 'icon' => 'services'], ['label' => 'Hire Talent', 'url' => route('hire.index'), 'icon' => 'hire'], ['label' => 'Industries', 'url' => route('industries.index'), 'icon' => 'industries'], ['label' => 'Case Studies', 'url' => route('case-studies.index'), 'icon' => 'case-studies'], ]; $companyLinks = ($menu->isNotEmpty() ? $menu->map(fn ($item) => [ 'label' => $item->label, 'url' => $item->url, 'icon' => $item->icon ?? 'default', ]) : collect([ ['label' => 'About', 'url' => route('about'), 'icon' => 'about'], ['label' => 'Careers', 'url' => route('careers.index'), 'icon' => 'careers'], ['label' => 'Blog', 'url' => route('blog.index'), 'icon' => 'blog'], ['label' => 'Contact', 'url' => route('contact'), 'icon' => 'contact'], ]))->filter(function (array $link) { $label = strtolower(trim($link['label'])); $url = strtolower($link['url'] ?? ''); return ! in_array($label, ['privacy policy', 'terms & conditions', 'terms of service', 'terms and conditions'], true) && ! str_contains($url, 'privacy-policy') && ! str_contains($url, 'terms-of-service'); })->values(); $phone = $ps['contact.phone'] ?? $ps['schema.local_business_phone'] ?? ''; $email = $ps['contact.email'] ?? $ps['email.notification_email'] ?? ''; $address = $ps['contact.address'] ?? $ps['schema.local_business_address'] ?? 'Sydney, NSW, Australia'; $siteName = $ps['branding.site_name'] ?? config('apex.name'); $footerLogo = $ps['branding.footer_logo'] ?? $ps['branding.header_logo'] ?? $ps['branding.logo_url'] ?? ''; if ($footerLogo && ! str_starts_with($footerLogo, 'http') && ! str_starts_with($footerLogo, '//')) { $footerLogo = asset(ltrim($footerLogo, '/')); } $showSocial = filter_var($ps['social.show_in_footer'] ?? true, FILTER_VALIDATE_BOOLEAN); $socials = $showSocial ? app(\App\Modules\Settings\Services\SettingsService::class)->socialProfiles(true) : []; $footerCtaEnabled = filter_var($ps['footer.cta_enabled'] ?? true, FILTER_VALIDATE_BOOLEAN); $footerAbout = $ps['footer.about_text'] ?? $ps['footer.column_1'] ?? '
Premium remote talent for Australian businesses — vetted, AEST-aligned, ready from day one.
'; $legalLinks = [ ['label' => 'Privacy Policy', 'url' => route('privacy-policy')], ['label' => 'Terms & Conditions', 'url' => route('terms-of-service')], ['label' => 'Cookie Policy', 'url' => route('cookie-policy')], ['label' => 'Human Rights Policy', 'url' => route('human-rights-policy')], ['label' => 'Modern Slavery Act', 'url' => route('modern-slavery-act')], ['label' => 'Sitemap', 'url' => route('html-sitemap')], ]; @endphp