feat: add nerve to stats bar, gym nav link, nerve dashboard card
- 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>
This commit is contained in:
co-authored by
Claude Sonnet 4.6
parent
816c692eca
commit
439f6740c0
@@ -53,6 +53,28 @@
|
||||
</div>
|
||||
</div>
|
||||
|
||||
{{-- Nerve --}}
|
||||
<div class="bg-syndicate-800 border border-syndicate-700 rounded-lg p-6">
|
||||
<h3 class="font-display text-lg font-semibold text-gray-100 mb-4">Nerve</h3>
|
||||
<div class="space-y-3">
|
||||
<div class="flex justify-between text-sm">
|
||||
<span class="text-gray-400">Available</span>
|
||||
<span class="text-purple-400 font-medium">{{ $character->nerve }} / {{ $character->max_nerve }}</span>
|
||||
</div>
|
||||
<div class="w-full bg-syndicate-700 rounded-full h-2">
|
||||
<div class="bg-purple-600 h-2 rounded-full transition-all"
|
||||
style="width: {{ $character->nerve_percentage }}%"></div>
|
||||
</div>
|
||||
<p class="text-xs text-gray-600">
|
||||
Nerve gates crime volume. Recharges over time and fully refills at midnight.
|
||||
</p>
|
||||
<a href="{{ route('game.gym.index') }}"
|
||||
class="block w-full text-center bg-syndicate-700 hover:bg-syndicate-600 text-gray-300 py-2 px-4 rounded text-sm transition mt-2">
|
||||
Go to Gym
|
||||
</a>
|
||||
</div>
|
||||
</div>
|
||||
|
||||
{{-- Finances --}}
|
||||
<div class="bg-syndicate-800 border border-syndicate-700 rounded-lg p-6">
|
||||
<h3 class="font-display text-lg font-semibold text-gray-100 mb-4">Finances</h3>
|
||||
|
||||
@@ -12,6 +12,12 @@
|
||||
<span class="text-gray-300">{{ $character->energy }}<span class="text-gray-600">/{{ $character->max_energy }}</span></span>
|
||||
</div>
|
||||
|
||||
{{-- Nerve --}}
|
||||
<div class="flex items-center space-x-1 bg-syndicate-800 border border-syndicate-700 rounded px-2 py-1">
|
||||
<span class="text-purple-400">🧠</span>
|
||||
<span class="text-gray-300">{{ $character->nerve }}<span class="text-gray-600">/{{ $character->max_nerve }}</span></span>
|
||||
</div>
|
||||
|
||||
{{-- Cash --}}
|
||||
<div class="flex items-center space-x-1 bg-syndicate-800 border border-syndicate-700 rounded px-2 py-1">
|
||||
<span class="text-gold-400">$</span>
|
||||
|
||||
@@ -25,6 +25,14 @@
|
||||
<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
|
||||
|
||||
Reference in New Issue
Block a user