git commit -m "feat: add auth routes and register blade"
This commit is contained in:
@@ -14,10 +14,10 @@
|
||||
</head>
|
||||
|
||||
<body>
|
||||
@include('layouts.header')
|
||||
@include('layouts.hero')
|
||||
@yield('content')
|
||||
@include('layouts.footer')
|
||||
@includeUnless(isset($withoutHeader),'layouts.header')
|
||||
@includeUnless(isset($withoutHeader),'layouts.hero')
|
||||
@yield('content')
|
||||
@includeUnless(isset($withoutHeader),'layouts.footer')
|
||||
<script src="{{asset('assets/js/moment.js')}}"></script>
|
||||
<script src="{{asset('assets/js/bootstrap.js')}}"></script>
|
||||
<script src="{{asset('assets/js/owl-carousel.js')}}"></script>
|
||||
|
||||
@@ -1015,31 +1015,87 @@
|
||||
</div>
|
||||
</div>
|
||||
</li>
|
||||
<li class="navbar-nav-item-user dropdown">
|
||||
<a class="dropdown-toggle" href="account.html" data-toggle="dropdown" role="button" aria-haspopup="true" aria-expanded="false">
|
||||
<i class="fa fa-user-circle-o navbar-nav-item-user-icon"></i>حساب من
|
||||
</a>
|
||||
<ul class="dropdown-menu">
|
||||
<li>
|
||||
<a href="account.html">اولویت ها</a>
|
||||
</li>
|
||||
<li>
|
||||
<a href="account-notifications.html">اطلاعیه</a>
|
||||
</li>
|
||||
<li>
|
||||
<a href="account-cards.html">روش های پرداخت</a>
|
||||
</li>
|
||||
<li>
|
||||
<a href="account-travelers.html">مسافران</a>
|
||||
</li>
|
||||
<li>
|
||||
<a href="account-history.html">تاریخ</a>
|
||||
</li>
|
||||
<li>
|
||||
<a href="account-bookmarks.html"> مارک ها</a>
|
||||
</li>
|
||||
</ul>
|
||||
</li>
|
||||
@guest
|
||||
{{-- وقتی کاربر وارد نشده --}}
|
||||
<li>
|
||||
<a href="{{ route('auth.login.index') }}">
|
||||
<i class="fa fa-user-circle-o"></i>
|
||||
ورود
|
||||
</a>
|
||||
</li>
|
||||
|
||||
<li>
|
||||
<a href="{{ route('auth.register.index') }}">
|
||||
ثبت نام
|
||||
</a>
|
||||
</li>
|
||||
@endguest
|
||||
|
||||
|
||||
@auth
|
||||
{{-- وقتی کاربر وارد شده --}}
|
||||
<li class="navbar-nav-item-user dropdown">
|
||||
|
||||
<a class="dropdown-toggle" href="#" data-toggle="dropdown"
|
||||
role="button" aria-haspopup="true" aria-expanded="false">
|
||||
|
||||
<i class="fa fa-user-circle-o navbar-nav-item-user-icon"></i>
|
||||
|
||||
{{ Auth::user()->first_name }}
|
||||
|
||||
</a>
|
||||
|
||||
|
||||
<ul class="dropdown-menu">
|
||||
|
||||
<li>
|
||||
<a href="#">
|
||||
اولویت ها
|
||||
</a>
|
||||
</li>
|
||||
|
||||
<li>
|
||||
<a href="#">
|
||||
اطلاعیه
|
||||
</a>
|
||||
</li>
|
||||
|
||||
<li>
|
||||
<a href="#">
|
||||
روش های پرداخت
|
||||
</a>
|
||||
</li>
|
||||
|
||||
<li>
|
||||
<a href="#">
|
||||
مسافران
|
||||
</a>
|
||||
</li>
|
||||
|
||||
<li>
|
||||
<a href="#">
|
||||
تاریخچه سفر
|
||||
</a>
|
||||
</li>
|
||||
|
||||
<li>
|
||||
<a href="#">
|
||||
علاقهمندیها
|
||||
</a>
|
||||
</li>
|
||||
|
||||
|
||||
<li>
|
||||
<form action="{{ route('auth.logout.index') }}" method="POST">
|
||||
@csrf
|
||||
<button>خروج</button>
|
||||
</form>
|
||||
</li>
|
||||
|
||||
</ul>
|
||||
|
||||
</li>
|
||||
@endauth
|
||||
</ul>
|
||||
</div>
|
||||
</div>
|
||||
|
||||
Reference in New Issue
Block a user