Started implementing Navbar v2
- Removed old navbar from pages + Added navbar_v2 in pages + Added pork navbar v2 + Added beef navbar v2 TODO: Implement navbar_v2 for poultry TODO: Implement navbar_v2 for lamb TODO: Completely delete old navbar and replace with new navbar
This commit is contained in:
18
resources/views/partials/sidebar_v2.blade.php
Normal file
18
resources/views/partials/sidebar_v2.blade.php
Normal file
@@ -0,0 +1,18 @@
|
||||
@if ( !empty($sidebarContent) )
|
||||
<aside class="col-span-1">
|
||||
<div class="flex h-full flex-col justify-between border-e bg-white">
|
||||
<div class="px-4 py-6">
|
||||
|
||||
<ul class="mt-6 space-y-1">
|
||||
@foreach ($sidebarContent as $item)
|
||||
<li>
|
||||
<a href="/{{ $item['href'] }}" class="block rounded-lg bg-gray-100 px-4 py-2 text-sm font-medium text-gray-700">
|
||||
{{ $item['name'] }}
|
||||
</a>
|
||||
</li>
|
||||
@endforeach
|
||||
</ul>
|
||||
</div>
|
||||
</div>
|
||||
</aside>
|
||||
@endif
|
||||
Reference in New Issue
Block a user