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

@ -32,6 +32,10 @@
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
</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>
<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">
Dishes
@ -40,10 +44,6 @@ class="inline-flex items-center px-3 py-2 text-sm font-medium {{ request()->rout
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
</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>
@endauth
</div>

View file

@ -4,20 +4,20 @@
<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">
<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">
<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>
</a>
<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>
</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>