<header id="header">
    <h1><a href="<?php echo e(Route('index')); ?>">Blog</a></h1>
    <nav class="main">
        
        <ul>
        <?php if(auth()->guard()->guest()): ?>
            <li class="menu">
                <a class="fa-user" href="#menu">Menu</a>
            </li>
        <?php endif; ?>
        <?php if(auth()->guard()->check()): ?>
            <li class="menu user">
                <a href="#menu"><img src="/blog_laravel/public/<?php echo e(Auth::user()->avatar); ?>"></a>
            </li>
        </ul>
        <?php endif; ?>
    </nav>
</header><?php /**PATH C:\xampp\htdocs\blog_laravel_API\resources\views/components/header.blade.php ENDPATH**/ ?>