<?php if (isset($component)) { $__componentOriginal781d22988f835a9692410092c1d21cd6 = $component; } ?>
<?php $component = App\View\Components\Head::resolve([] + (isset($attributes) && $attributes instanceof Illuminate\View\ComponentAttributeBag ? (array) $attributes->getIterator() : [])); ?>
<?php $component->withName('head'); ?>
<?php if ($component->shouldRender()): ?>
<?php $__env->startComponent($component->resolveView(), $component->data()); ?>
<?php if (isset($attributes) && $attributes instanceof Illuminate\View\ComponentAttributeBag && $constructor = (new ReflectionClass(App\View\Components\Head::class))->getConstructor()): ?>
<?php $attributes = $attributes->except(collect($constructor->getParameters())->map->getName()->all()); ?>
<?php endif; ?>
<?php $component->withAttributes([]); ?>
<?php echo $__env->renderComponent(); ?>
<?php endif; ?>
<?php if (isset($__componentOriginal781d22988f835a9692410092c1d21cd6)): ?>
<?php $component = $__componentOriginal781d22988f835a9692410092c1d21cd6; ?>
<?php unset($__componentOriginal781d22988f835a9692410092c1d21cd6); ?>
<?php endif; ?>

<header class="header">
  <nav class="navbar navbar-expand-lg">
  <div class="container">
    <a href="<?php echo e(Route('index')); ?>"><h1 class="logos">Мой Не Сам</h1></a>
    <button class="navbar-toggler" type="button" data-bs-toggle="collapse" data-bs-target="#navbarNav" aria-controls="navbarNav" aria-expanded="false" aria-label="Toggle navigation">
      <span class="navbar-toggler-icon"></span>
    </button>
    <div class="collapse navbar-collapse" id="navbarNav">
      <?php if(auth()->guard()->check()): ?>
        <div> 
            <a href="<?php echo e(Route('account')); ?>"><button class="but">Личный кабинет</button></a>
            <a href="<?php echo e(Route('logout')); ?>"><button class="but">Выйти</button></a>
        </div>
        <?php else: ?>
        <div>
          <a href="<?php echo e(Route('login')); ?>"><button class="but">Войти</button></a>
        </div>
        <?php endif; ?>
    </div>
  </div>
</nav>
</header>
<?php /**PATH C:\xampp\htdocs\clean\resources\views/components/header.blade.php ENDPATH**/ ?>