feat: Complete user profile section and update the navbar and add routs for profile

This commit is contained in:
2026-08-17 17:19:40 +03:30
parent c78aa689dc
commit 2c3495820a
4 changed files with 53 additions and 2 deletions
+2 -2
View File
@@ -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>