Files
hatame.andarza09/resources/views/layouts/header.blade.php
T
hatame 2f431971c0 git add .
git commit "Complete project development and finalize features"
2026-08-22 11:14:07 +03:30

91 lines
2.4 KiB
PHP

<nav class="main-header">
<div class="container header-inner">
<a href="/" class="logo">
Travelio
</a>
<ul class="menu">
<li>
<a href="/">
خانه
</a>
</li>
<li>
<a href="{{ route('flights') }}">
پروازها
</a>
</li>
<li>
<a href="{{ route('tours.index') }}">
تورها
</a>
</li>
</ul>
<div class="header-actions">
@guest
<a href="{{route('auth.login.index')}}" class="login-btn">
ورود
</a>
<a href="{{route('auth.register.index')}}" class="register-btn">
ثبت نام
</a>
@endguest
@auth
<div class="user-dropdown">
<button class="user-btn">
<i class="fa fa-user"></i>
{{getUserFullName()}}
<span>⌄</span>
</button>
<div class="user-menu">
<a href="{{ route('users.profile.edit') }}">
<i class="fa fa-user"></i>
پروفایل
</a>
<a href="{{ route('users.favorite.index') }}">
<i class="fa fa-heart"></i>
علاقه‌مندی‌ها
</a>
<a href="{{ route('comments.index') }}">
<i class="fa fa-comments"></i>
نظرات قبلی
</a>
<a href="{{route('users.reservations.index')}}">
رزرو من
</a>
<form action="{{ route('auth.logout.index') }}" method="POST">
@csrf
<button type="submit">
<i class="fa fa-sign-out"></i>
خروج
</button>
</form>
</div>
</div>
@endauth
</div>
</div>
</nav>