Skip to content

Commit 5b8359a

Browse files
committed
Add Horizon menu item
1 parent 3b3990d commit 5b8359a

File tree

1 file changed

+8
-2
lines changed

1 file changed

+8
-2
lines changed

resources/views/layouts/_nav.blade.php

Lines changed: 8 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -208,15 +208,21 @@
208208
</li>
209209

210210
@can(App\Policies\UserPolicy::ADMIN, App\Models\User::class)
211-
<li class="mb-4 lg:hover:bg-gray-100 lg:mb-0 lg:border-t lg:border-b border-gray-200">
211+
<li class="mb-4 lg:hover:bg-gray-100 lg:mb-0 lg:border-t border-gray-200">
212212
<a href="{{ route('admin') }}" class="flex items-center w-full lg:px-3 lg:py-2">
213213
<x-heroicon-o-shield-check class="w-4 h-4 mr-2" />
214214
Admin
215215
</a>
216216
</li>
217+
<li class="mb-4 lg:hover:bg-gray-100 lg:mb-0">
218+
<a href="{{ url('horizon') }}" class="flex items-center w-full lg:px-3 lg:py-2">
219+
<x-heroicon-o-queue-list class="w-4 h-4 mr-2" />
220+
Horizon
221+
</a>
222+
</li>
217223
@endcan
218224

219-
<li class="mb-4 lg:hover:bg-gray-100 lg:mb-0">
225+
<li class="mb-4 lg:hover:bg-gray-100 lg:mb-0 lg:border-t border-gray-200">
220226
<form method="POST" action="{{ route('logout') }}">
221227
@csrf
222228

0 commit comments

Comments
 (0)