2026-06-28 02:58:28 +03:00
|
|
|
@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>
|
2026-06-27 14:38:18 +03:00
|
|
|
|
2026-06-28 02:58:28 +03:00
|
|
|
{{-- Energy --}}
|
|
|
|
|
<div class="flex items-center space-x-1 bg-syndicate-800 border border-syndicate-700 rounded px-2 py-1">
|
2026-06-27 14:38:18 +03:00
|
|
|
<span class="text-yellow-400">⚡</span>
|
2026-06-28 02:58:28 +03:00
|
|
|
<span class="text-gray-300">{{ $character->energy }}<span class="text-gray-600">/{{ $character->max_energy }}</span></span>
|
2026-06-27 14:38:18 +03:00
|
|
|
</div>
|
|
|
|
|
|
2026-06-28 02:58:28 +03:00
|
|
|
{{-- 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>
|
2026-06-27 14:38:18 +03:00
|
|
|
</div>
|
|
|
|
|
|
2026-06-28 02:58:28 +03:00
|
|
|
{{-- Level --}}
|
|
|
|
|
<div class="bg-syndicate-700 text-gray-300 rounded px-2 py-1 text-xs font-medium">
|
|
|
|
|
Lv.{{ $character->level }}
|
2026-06-27 14:38:18 +03:00
|
|
|
</div>
|
|
|
|
|
|
2026-06-28 02:58:28 +03:00
|
|
|
{{-- 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() }}
|
2026-06-27 14:38:18 +03:00
|
|
|
</span>
|
|
|
|
|
@endif
|
|
|
|
|
</div>
|