@props([ 'compact' => false, ]) @php use App\Models\ContentPage; use App\Support\NavigationLinks; $footerLinks = NavigationLinks::parse(setting('navigation.footer_links'), [ ['label' => 'Terms', 'href' => '/pages/terms-and-conditions'], ['label' => 'Privacy Policy', 'href' => '/pages/privacy-policy'], ['label' => 'Refund Policy', 'href' => '/pages/refund-policy'], ['label' => 'Contact', 'href' => 'mailto:'.(setting('general.support_email', 'support@example.com') ?: 'support@example.com')], ]); $socialLinks = NavigationLinks::parse(setting('navigation.social_links'), []); $footerPages = collect(); try { $footerPages = ContentPage::query() ->published() ->where('show_in_footer', true) ->orderBy('footer_sort') ->orderBy('title') ->get(['title', 'slug', 'footer_label']); } catch (Throwable) { $footerPages = collect(); } $brandName = setting('general.application_name', 'RemoteMatch'); $description = setting('branding.footer_description', 'AI-powered remote job matching with resume insights, ATS scoring, role previews, and tracked job discovery after completion.'); $supportEmail = setting('general.support_email'); $copyright = setting('general.footer_copyright_text', '(c) '.date('Y').' RemoteMatch. All rights reserved.'); @endphp