Skip to content

Commit

Permalink
Logout button added to the profile drop bar
Browse files Browse the repository at this point in the history
  • Loading branch information
Raccoon254 committed Jun 22, 2024
1 parent 223efee commit 1f0ae16
Showing 1 changed file with 10 additions and 0 deletions.
10 changes: 10 additions & 0 deletions resources/views/layouts/navigation.blade.php
Original file line number Diff line number Diff line change
Expand Up @@ -61,6 +61,16 @@
<span>Orders</span>
</a>
</li>
<!-- Logout -->
<li>
<form method="POST" action="{{ route('logout') }}">
@csrf
<button type="submit" class="flex items-center gap-2">
<i class="fas fa-sign-out-alt text-gray-500"></i>
<span>Logout</span>
</button>
</form>
</li>
</ul>
</div>
</div>
Expand Down

0 comments on commit 1f0ae16

Please sign in to comment.