@php $menu = getMenuByLocation($location ?? 'footer'); $options = array_merge([ 'ul_class' => 'footer_link', 'li_class' => '', 'a_class' => '', 'active_class' => 'active', 'current_url' => request()->url(), ], $options ?? []); @endphp @if($menu) @else {{-- Fallback to static footer menu if no dynamic menu found --}} @endif