- 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>
39 lines
1.7 KiB
PHP
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>
|