put('title', $title); session()->put('menu', $menu); } public function userName(): string { return auth()->user()->firstname . ' ' . auth()->user()->lastname; } public function userAvatar(): string { return auth()->user()->getGravatarUrl(); } public function render() { return <<<'HTML'