Files
Doar MihaiandClaude Sonnet 4.6 cad99125ce feat: restyle inventory, hospital, and jail pages with dark crime theme
Implement dark crime-themed redesign for three game pages using syndicate color
tokens and dark typography. Updated inventory grid, hospital recovery status
display, and jail sentence view with consistent styling.

Co-Authored-By: Claude Sonnet 4.6 <noreply@anthropic.com>
2026-06-28 03:06:03 +03:00

60 lines
3.0 KiB
PHP

@extends('layouts.game')
@section('title', 'Hospital')
@section('game-content')
<div class="max-w-2xl mx-auto">
<div class="bg-syndicate-800 border border-syndicate-700 rounded-lg">
<div class="p-8 text-center">
<div class="mb-6">
<span class="text-6xl">🏥</span>
</div>
<h1 class="font-display text-2xl font-bold text-gray-100 mb-4">You're in the Hospital</h1>
<p class="text-gray-400 mb-6 text-sm">Your character has been injured and is currently recovering.</p>
<div class="bg-red-900/20 border border-red-800 rounded-lg p-6 mb-6 text-left">
<h3 class="font-display text-base font-semibold text-red-300 mb-3">Your Status</h3>
<div class="space-y-2 text-sm">
<div class="flex justify-between">
<span class="text-gray-400">Health</span>
<span class="text-gray-200 font-medium">{{ $character->health }}/{{ $character->max_health }}</span>
</div>
<div class="flex justify-between">
<span class="text-gray-400">Status</span>
<span class="text-red-400 font-medium">
@if($character->health <= 0) Dead @else In Hospital @endif
</span>
</div>
<div class="flex justify-between">
<span class="text-gray-400">Release Time</span>
<span class="text-gray-200 font-medium">{{ $releaseTime }}</span>
</div>
</div>
</div>
<div class="space-y-4">
<form action="{{ route('game.character.revive') }}" method="POST">
@csrf
<button type="submit"
class="w-full flex items-center justify-center px-6 py-4 bg-green-700 hover:bg-green-600 text-white font-medium rounded-lg transition">
<span class="mr-2">💵</span>
Revive Now for ${{ number_format($reviveCost) }}
</button>
</form>
<p class="text-sm text-gray-600">Or wait to be automatically released when your health regenerates.</p>
<a href="{{ route('game.dashboard') }}"
class="inline-flex items-center text-gray-500 hover:text-gray-300 transition text-sm">
<svg class="w-4 h-4 mr-1" fill="none" stroke="currentColor" viewBox="0 0 24 24">
<path stroke-linecap="round" stroke-linejoin="round" stroke-width="2" d="M15 19l-7-7 7-7" />
</svg>
Back to Dashboard
</a>
</div>
</div>
</div>
</div>
@endsection