<header id="header">
    <h1><a href="{{Route('index')}}">Blog</a></h1>
    <nav class="main">
        
        <ul>
        @guest
            <li class="menu">
                <a class="fa-user" href="#menu">Menu</a>
            </li>
        @endguest
        @auth
            <li class="menu user">
                <a href="#menu"><img src="/blog_laravel/public/{{ Auth::user()->avatar }}"></a>
            </li>
        </ul>
        @endauth
    </nav>
</header>