Files
thecrimesynticate/resources/views/game/partials/stats-bar.blade.php
T
Doar MihaiandClaude Sonnet 4.6 439f6740c0 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>
2026-06-28 16:54:24 +03:00

39 lines
1.7 KiB
PHP

@php $character = auth()->user()->character; @endphp
<div class="flex items-center space-x-3 text-sm">
{{-- HP --}}
<div class="flex items-center space-x-1 bg-syndicate-800 border border-syndicate-700 rounded px-2 py-1">
<span class="text-red-400">❤</span>
<span class="text-gray-300">{{ $character->health }}<span class="text-gray-600">/{{ $character->max_health }}</span></span>
</div>
{{-- Energy --}}
<div class="flex items-center space-x-1 bg-syndicate-800 border border-syndicate-700 rounded px-2 py-1">
<span class="text-yellow-400">⚡</span>
<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>
<span class="text-gray-300">{{ number_format($character->money) }}</span>
</div>
{{-- Level --}}
<div class="bg-syndicate-700 text-gray-300 rounded px-2 py-1 text-xs font-medium">
Lv.{{ $character->level }}
</div>
{{-- Non-active status badge --}}
@if($character->status !== \App\Enums\CharacterStatus::ACTIVE)
<span class="px-2 py-1 text-xs rounded {{ $character->status->color() }}">
{{ $character->status->label() }}
</span>
@endif
</div>