feature - 3 - Fix link order

This commit is contained in:
myrmidex 2026-01-04 02:46:13 +01:00
parent 98230a5ef2
commit 89184b79a5
2 changed files with 15 additions and 15 deletions

View file

@ -28,22 +28,22 @@
<!-- Navigation Links --> <!-- Navigation Links -->
@auth @auth
<div class="hidden space-x-8 sm:ml-10 sm:flex"> <div class="hidden space-x-8 sm:ml-10 sm:flex">
<a href="{{ route('dashboard') }}" <a href="{{ route('dashboard') }}"
class="inline-flex items-center px-3 py-2 text-sm font-medium {{ request()->routeIs('dashboard') ? 'text-accent-blue' : 'text-gray-100 hover:text-accent-blue' }} transition"> class="inline-flex items-center px-3 py-2 text-sm font-medium {{ request()->routeIs('dashboard') ? 'text-accent-blue' : 'text-gray-100 hover:text-accent-blue' }} transition">
Dashboard Dashboard
</a> </a>
<a href="{{ route('dishes.index') }}" <a href="{{ route('users.index') }}"
class="inline-flex items-center px-3 py-2 text-sm font-medium {{ request()->routeIs('users.*') ? 'text-accent-blue' : 'text-gray-100 hover:text-accent-blue' }} transition">
Users
</a>
<a href="{{ route('dishes.index') }}"
class="inline-flex items-center px-3 py-2 text-sm font-medium {{ request()->routeIs('dishes.*') ? 'text-accent-blue' : 'text-gray-100 hover:text-accent-blue' }} transition"> class="inline-flex items-center px-3 py-2 text-sm font-medium {{ request()->routeIs('dishes.*') ? 'text-accent-blue' : 'text-gray-100 hover:text-accent-blue' }} transition">
Dishes Dishes
</a> </a>
<a href="{{ route('schedule.index') }}" <a href="{{ route('schedule.index') }}"
class="inline-flex items-center px-3 py-2 text-sm font-medium {{ request()->routeIs('schedule.*') ? 'text-accent-blue' : 'text-gray-100 hover:text-accent-blue' }} transition"> class="inline-flex items-center px-3 py-2 text-sm font-medium {{ request()->routeIs('schedule.*') ? 'text-accent-blue' : 'text-gray-100 hover:text-accent-blue' }} transition">
Schedule Schedule
</a> </a>
<a href="{{ route('users.index') }}"
class="inline-flex items-center px-3 py-2 text-sm font-medium {{ request()->routeIs('users.*') ? 'text-accent-blue' : 'text-gray-100 hover:text-accent-blue' }} transition">
Users
</a>
</div> </div>
@endauth @endauth
</div> </div>

View file

@ -4,20 +4,20 @@
<h1 class="text-2xl font-syncopate text-accent-blue mb-8">Welcome {{ auth()->user()->name }}!</h1> <h1 class="text-2xl font-syncopate text-accent-blue mb-8">Welcome {{ auth()->user()->name }}!</h1>
<div class="grid grid-cols-1 md:grid-cols-3 gap-6"> <div class="grid grid-cols-1 md:grid-cols-3 gap-6">
<a href="{{ route('users.index') }}" class="border-2 border-secondary rounded-lg p-6 hover:bg-gray-700 transition-colors duration-200">
<h3 class="text-xl font-bold text-primary mb-2">Manage Users</h3>
<p class="text-gray-100">Add and manage planner users</p>
</a>
<a href="{{ route('dishes.index') }}" class="border-2 border-secondary rounded-lg p-6 hover:bg-gray-700 transition-colors duration-200"> <a href="{{ route('dishes.index') }}" class="border-2 border-secondary rounded-lg p-6 hover:bg-gray-700 transition-colors duration-200">
<h3 class="text-xl font-bold text-primary mb-2">Manage Dishes</h3> <h3 class="text-xl font-bold text-accent-blue mb-2">Manage Dishes</h3>
<p class="text-gray-100">Create and manage your dish collection</p> <p class="text-gray-100">Create and manage your dish collection</p>
</a> </a>
<a href="{{ route('schedule.index') }}" class="border-2 border-secondary rounded-lg p-6 hover:bg-gray-700 transition-colors duration-200"> <a href="{{ route('schedule.index') }}" class="border-2 border-secondary rounded-lg p-6 hover:bg-gray-700 transition-colors duration-200">
<h3 class="text-xl font-bold text-accent-blue mb-2">View Schedule</h3> <h3 class="text-xl font-bold text-success mb-2">View Schedule</h3>
<p class="text-gray-100">See your monthly dish schedule</p> <p class="text-gray-100">See your monthly dish schedule</p>
</a> </a>
<a href="{{ route('users.index') }}" class="border-2 border-secondary rounded-lg p-6 hover:bg-gray-700 transition-colors duration-200">
<h3 class="text-xl font-bold text-success mb-2">Manage Users</h3>
<p class="text-gray-100">Add and manage planner users</p>
</a>
</div> </div>
</div> </div>
</div> </div>