@php use App\Models\StaticPage; use Illuminate\Support\Facades\Route; $menu = StaticPage::menu(); $eventInfo = $menu->get(1, collect()); $about = $menu->get(2, collect()); $registerUrl = Route::has('register') ? route('register') : '#'; $findUrl = route('search'); // D88: the general donation page on the central Collector — for visitors who aren't // sponsoring a particular fundraiser. Null (and so hidden) until the Collector is // switched on, so we never advertise a donate route that isn't live. $generalDonateUrl = app(\App\Services\Donations\CollectorRouting::class)->generalDonateUrl(); @endphp {{-- Top utility bar (hidden on mobile) --}}
{{-- Navbar --}}