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>
This commit is contained in:
co-authored by
Claude Sonnet 4.6
parent
3326c73d10
commit
cad99125ce
@@ -4,63 +4,50 @@
|
||||
|
||||
@section('game-content')
|
||||
<div class="max-w-2xl mx-auto">
|
||||
<div class="bg-white dark:bg-gray-800 overflow-hidden shadow-sm sm:rounded-lg">
|
||||
<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 text-red-500">🏥</span>
|
||||
<span class="text-6xl">🏥</span>
|
||||
</div>
|
||||
|
||||
<h1 class="text-2xl font-bold text-gray-800 dark:text-gray-200 mb-4">
|
||||
You're in the Hospital
|
||||
</h1>
|
||||
|
||||
<p class="text-gray-600 dark:text-gray-400 mb-6">
|
||||
Your character has been injured and is currently recovering in the hospital.
|
||||
</p>
|
||||
|
||||
<div class="bg-red-50 dark:bg-red-900/30 rounded-lg p-6 mb-6">
|
||||
<h3 class="text-lg font-medium text-red-800 dark:text-red-200 mb-3">
|
||||
Your Status
|
||||
</h3>
|
||||
<div class="space-y-2">
|
||||
<div class="flex justify-between text-sm">
|
||||
<span class="text-gray-600 dark:text-gray-400">Health</span>
|
||||
<span class="font-medium">{{ $character->health }}/{{ $character->max_health }}</span>
|
||||
|
||||
<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 text-sm">
|
||||
<span class="text-gray-600 dark:text-gray-400">Status</span>
|
||||
<span class="font-medium text-red-600 dark:text-red-400">
|
||||
<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 text-sm">
|
||||
<span class="text-gray-600 dark:text-gray-400">Release Time</span>
|
||||
<span class="font-medium">{{ $releaseTime }}</span>
|
||||
<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-500 hover:bg-green-600 text-white font-medium rounded-lg transition"
|
||||
>
|
||||
<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-500 dark:text-gray-400">
|
||||
Or wait to be automatically released when your health regenerates.
|
||||
</p>
|
||||
|
||||
<a
|
||||
href="{{ route('game.dashboard') }}"
|
||||
class="inline-flex items-center text-gray-600 dark:text-gray-400 hover:text-gray-800 dark:hover:text-gray-200 transition"
|
||||
>
|
||||
<svg class="w-5 h-5 mr-1" fill="none" stroke="currentColor" viewBox="0 0 24 24">
|
||||
|
||||
<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
|
||||
|
||||
Reference in New Issue
Block a user