Mercurial > packages > auth
annotate stubs/default/resources/views/layouts/navigation.blade.php @ 1:a2a3059de103
Updates to some styles and general automation of creation
| author | luka |
|---|---|
| date | Thu, 14 Aug 2025 21:09:25 -0400 |
| parents | 90e38de8f2ba |
| children | ac199a7a8931 |
| rev | line source |
|---|---|
|
1
a2a3059de103
Updates to some styles and general automation of creation
luka
parents:
0
diff
changeset
|
1 <nav x-data="{ open: false }" class="navbar navbar-expand-lg navbar-light bg-light border-bottom"> |
| 0 | 2 <!-- Primary Navigation Menu --> |
|
1
a2a3059de103
Updates to some styles and general automation of creation
luka
parents:
0
diff
changeset
|
3 <div class="container-fluid"> |
|
a2a3059de103
Updates to some styles and general automation of creation
luka
parents:
0
diff
changeset
|
4 <a class="navbar-brand" href="{{ route('dashboard') }}"> |
|
a2a3059de103
Updates to some styles and general automation of creation
luka
parents:
0
diff
changeset
|
5 <x-application-logo class="d-inline-block align-text-top" /> |
|
a2a3059de103
Updates to some styles and general automation of creation
luka
parents:
0
diff
changeset
|
6 </a> |
|
a2a3059de103
Updates to some styles and general automation of creation
luka
parents:
0
diff
changeset
|
7 <button class="navbar-toggler" type="button" @click="open = ! open" aria-controls="navbarNav" aria-expanded="false" aria-label="Toggle navigation"> |
|
a2a3059de103
Updates to some styles and general automation of creation
luka
parents:
0
diff
changeset
|
8 <span class="navbar-toggler-icon"></span> |
|
a2a3059de103
Updates to some styles and general automation of creation
luka
parents:
0
diff
changeset
|
9 </button> |
|
a2a3059de103
Updates to some styles and general automation of creation
luka
parents:
0
diff
changeset
|
10 <div :class="{ 'collapse': !open, 'navbar-collapse': open }" class="collapse navbar-collapse" id="navbarNav"> |
|
a2a3059de103
Updates to some styles and general automation of creation
luka
parents:
0
diff
changeset
|
11 <ul class="navbar-nav me-auto mb-2 mb-lg-0"> |
|
a2a3059de103
Updates to some styles and general automation of creation
luka
parents:
0
diff
changeset
|
12 <li class="nav-item"> |
|
a2a3059de103
Updates to some styles and general automation of creation
luka
parents:
0
diff
changeset
|
13 <x-nav-link :href="route('projects.index')" :active="request()->routeIs('projects.index')" class="nav-link"> |
|
a2a3059de103
Updates to some styles and general automation of creation
luka
parents:
0
diff
changeset
|
14 {{ __('Projects') }} |
| 0 | 15 </x-nav-link> |
|
1
a2a3059de103
Updates to some styles and general automation of creation
luka
parents:
0
diff
changeset
|
16 </li> |
|
a2a3059de103
Updates to some styles and general automation of creation
luka
parents:
0
diff
changeset
|
17 </ul> |
|
a2a3059de103
Updates to some styles and general automation of creation
luka
parents:
0
diff
changeset
|
18 <ul class="navbar-nav ms-auto"> |
|
a2a3059de103
Updates to some styles and general automation of creation
luka
parents:
0
diff
changeset
|
19 <li class="nav-item dropdown"> |
|
a2a3059de103
Updates to some styles and general automation of creation
luka
parents:
0
diff
changeset
|
20 <a class="nav-link dropdown-toggle" href="#" id="navbarDropdown" role="button" data-bs-toggle="dropdown" aria-expanded="false"> |
|
a2a3059de103
Updates to some styles and general automation of creation
luka
parents:
0
diff
changeset
|
21 {{ Auth::user()->name }} |
|
a2a3059de103
Updates to some styles and general automation of creation
luka
parents:
0
diff
changeset
|
22 </a> |
|
a2a3059de103
Updates to some styles and general automation of creation
luka
parents:
0
diff
changeset
|
23 <ul class="dropdown-menu dropdown-menu-end" aria-labelledby="navbarDropdown"> |
|
a2a3059de103
Updates to some styles and general automation of creation
luka
parents:
0
diff
changeset
|
24 <li> |
|
a2a3059de103
Updates to some styles and general automation of creation
luka
parents:
0
diff
changeset
|
25 <x-dropdown-link :href="route('profile.edit')" class="dropdown-item"> |
|
a2a3059de103
Updates to some styles and general automation of creation
luka
parents:
0
diff
changeset
|
26 {{ __('Profile') }} |
| 0 | 27 </x-dropdown-link> |
|
1
a2a3059de103
Updates to some styles and general automation of creation
luka
parents:
0
diff
changeset
|
28 </li> |
|
a2a3059de103
Updates to some styles and general automation of creation
luka
parents:
0
diff
changeset
|
29 <li> |
|
a2a3059de103
Updates to some styles and general automation of creation
luka
parents:
0
diff
changeset
|
30 <form method="POST" action="{{ route('logout') }}"> |
|
a2a3059de103
Updates to some styles and general automation of creation
luka
parents:
0
diff
changeset
|
31 @csrf |
|
a2a3059de103
Updates to some styles and general automation of creation
luka
parents:
0
diff
changeset
|
32 <x-dropdown-link :href="route('logout')" class="dropdown-item" |
|
a2a3059de103
Updates to some styles and general automation of creation
luka
parents:
0
diff
changeset
|
33 onclick="event.preventDefault(); this.closest('form').submit();"> |
|
a2a3059de103
Updates to some styles and general automation of creation
luka
parents:
0
diff
changeset
|
34 {{ __('Log Out') }} |
|
a2a3059de103
Updates to some styles and general automation of creation
luka
parents:
0
diff
changeset
|
35 </x-dropdown-link> |
|
a2a3059de103
Updates to some styles and general automation of creation
luka
parents:
0
diff
changeset
|
36 </form> |
|
a2a3059de103
Updates to some styles and general automation of creation
luka
parents:
0
diff
changeset
|
37 </li> |
|
a2a3059de103
Updates to some styles and general automation of creation
luka
parents:
0
diff
changeset
|
38 </ul> |
|
a2a3059de103
Updates to some styles and general automation of creation
luka
parents:
0
diff
changeset
|
39 </li> |
|
a2a3059de103
Updates to some styles and general automation of creation
luka
parents:
0
diff
changeset
|
40 </ul> |
| 0 | 41 </div> |
| 42 </div> | |
| 43 </nav> |
