feat: Complete user profile section and update the navbar and add routs for profile
This commit is contained in:
@@ -78,9 +78,9 @@
|
||||
<div class="header-nav-right">
|
||||
<div class="header-btn">
|
||||
@if(!auth()->check())
|
||||
<a href="{{route('auth.register.index')}}" class="theme-btn mt-2">ثبت نام</a>
|
||||
<a href="{{route('auth.register.index')}}" class="theme-btn mt-2">ثبت نام | ورود</a>
|
||||
@else
|
||||
<a href="{{route('dashboard.index')}}" class="theme-btn mt-2">{{auth()->user()->first_name . ' ' . auth()->user()->last_name}}</a>
|
||||
<a href="{{route('profile')}}" class="theme-btn mt-2">{{auth()->user()->first_name . ' ' . auth()->user()->last_name}}</a>
|
||||
@endif
|
||||
|
||||
</div>
|
||||
|
||||
Reference in New Issue
Block a user