auth()->isAuthenticated()) { return; } // Current url $url = Url::fromRequest()->remove('_render')->getRelativeUrl(); $menu = Menu::fromConfig(); ?>