- Add nerve chip to stats-bar showing current/max nerve with purple brain icon - Add Gym link to sidebar navigation with muscle emoji and active state - Add Nerve card to dashboard with progress bar, description, and Go to Gym link Co-Authored-By: Claude Sonnet 4.6 <noreply@anthropic.com>
71 lines
4.0 KiB
PHP
71 lines
4.0 KiB
PHP
<aside class="bg-syndicate-900 border-r border-syndicate-700 w-56 flex-shrink-0 flex flex-col">
|
|
<nav class="flex-1 py-4">
|
|
<ul class="space-y-1 px-2">
|
|
<li>
|
|
<a href="{{ route('game.dashboard') }}"
|
|
class="flex items-center space-x-3 px-3 py-2 rounded-lg text-sm transition
|
|
{{ request()->routeIs('game.dashboard') ? 'border-l-2 border-crime-500 bg-syndicate-800 text-gray-100 pl-[10px]' : 'text-gray-400 hover:bg-syndicate-800 hover:text-gray-100' }}">
|
|
<span class="text-base">🏠</span>
|
|
<span>Dashboard</span>
|
|
</a>
|
|
</li>
|
|
<li>
|
|
<a href="{{ route('game.crimes.index') }}"
|
|
class="flex items-center space-x-3 px-3 py-2 rounded-lg text-sm transition
|
|
{{ request()->routeIs('game.crimes.*') ? 'border-l-2 border-crime-500 bg-syndicate-800 text-gray-100 pl-[10px]' : 'text-gray-400 hover:bg-syndicate-800 hover:text-gray-100' }}">
|
|
<span class="text-base">🎯</span>
|
|
<span>Crimes</span>
|
|
</a>
|
|
</li>
|
|
<li>
|
|
<a href="{{ route('game.inventory.index') }}"
|
|
class="flex items-center space-x-3 px-3 py-2 rounded-lg text-sm transition
|
|
{{ request()->routeIs('game.inventory.*') ? 'border-l-2 border-crime-500 bg-syndicate-800 text-gray-100 pl-[10px]' : 'text-gray-400 hover:bg-syndicate-800 hover:text-gray-100' }}">
|
|
<span class="text-base">🎒</span>
|
|
<span>Inventory</span>
|
|
</a>
|
|
</li>
|
|
<li>
|
|
<a href="{{ route('game.gym.index') }}"
|
|
class="flex items-center space-x-3 px-3 py-2 rounded-lg text-sm transition
|
|
{{ request()->routeIs('game.gym.*') ? 'border-l-2 border-crime-500 bg-syndicate-800 text-gray-100 pl-[10px]' : 'text-gray-400 hover:bg-syndicate-800 hover:text-gray-100' }}">
|
|
<span class="text-base">💪</span>
|
|
<span>Gym</span>
|
|
</a>
|
|
</li>
|
|
<li>
|
|
<a href="{{ route('game.character.show') }}"
|
|
class="flex items-center space-x-3 px-3 py-2 rounded-lg text-sm transition
|
|
{{ request()->routeIs('game.character.show') ? 'border-l-2 border-crime-500 bg-syndicate-800 text-gray-100 pl-[10px]' : 'text-gray-400 hover:bg-syndicate-800 hover:text-gray-100' }}">
|
|
<span class="text-base">👤</span>
|
|
<span>Profile</span>
|
|
</a>
|
|
</li>
|
|
|
|
@if(auth()->check() && auth()->user()->character)
|
|
@php $charStatus = auth()->user()->character->status; @endphp
|
|
|
|
@if($charStatus === \App\Enums\CharacterStatus::IN_HOSPITAL)
|
|
<li class="pt-2 border-t border-syndicate-700 mt-2">
|
|
<a href="{{ route('game.hospital') }}"
|
|
class="flex items-center space-x-3 px-3 py-2 rounded-lg text-sm transition border-l-2 border-red-500 bg-syndicate-800 text-red-400 pl-[10px]">
|
|
<span class="text-base">🏥</span>
|
|
<span>Hospital</span>
|
|
</a>
|
|
</li>
|
|
@endif
|
|
|
|
@if($charStatus === \App\Enums\CharacterStatus::IN_JAIL)
|
|
<li class="pt-2 border-t border-syndicate-700 mt-2">
|
|
<a href="{{ route('game.jail') }}"
|
|
class="flex items-center space-x-3 px-3 py-2 rounded-lg text-sm transition border-l-2 border-yellow-500 bg-syndicate-800 text-yellow-400 pl-[10px]">
|
|
<span class="text-base">🚔</span>
|
|
<span>Jail</span>
|
|
</a>
|
|
</li>
|
|
@endif
|
|
@endif
|
|
</ul>
|
|
</nav>
|
|
</aside>
|