From cad99125ce95244426d6ac3a004846712f50b377 Mon Sep 17 00:00:00 2001 From: Doar Mihai Date: Sun, 28 Jun 2026 03:06:03 +0300 Subject: [PATCH] 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 --- resources/views/game/hospital.blade.php | 67 ++++++--------- .../views/game/inventory/index.blade.php | 84 ++++++++----------- resources/views/game/jail.blade.php | 53 +++++------- 3 files changed, 82 insertions(+), 122 deletions(-) diff --git a/resources/views/game/hospital.blade.php b/resources/views/game/hospital.blade.php index cfee39f..be73b80 100644 --- a/resources/views/game/hospital.blade.php +++ b/resources/views/game/hospital.blade.php @@ -4,63 +4,50 @@ @section('game-content')
-
+
- 🏥 + 🏥
- -

- You're in the Hospital -

- -

- Your character has been injured and is currently recovering in the hospital. -

- -
-

- Your Status -

-
-
- Health - {{ $character->health }}/{{ $character->max_health }} + +

You're in the Hospital

+

Your character has been injured and is currently recovering.

+ +
+

Your Status

+
+
+ Health + {{ $character->health }}/{{ $character->max_health }}
-
- Status - +
+ Status + @if($character->health <= 0) Dead @else In Hospital @endif
-
- Release Time - {{ $releaseTime }} +
+ Release Time + {{ $releaseTime }}
- +
@csrf -
- -

- Or wait to be automatically released when your health regenerates. -

- - - + +

Or wait to be automatically released when your health regenerates.

+ +
+ Back to Dashboard diff --git a/resources/views/game/inventory/index.blade.php b/resources/views/game/inventory/index.blade.php index 3bbc384..ea11cc4 100644 --- a/resources/views/game/inventory/index.blade.php +++ b/resources/views/game/inventory/index.blade.php @@ -4,118 +4,102 @@ @section('game-content')
-
-
-

Inventory

-

- Manage your items. Equip weapons and armor, or use consumables. -

+
+
+

Inventory

+

Equip weapons and armor, or use consumables.

@if($inventory->isEmpty()) -

- Your inventory is empty. -

+

Your inventory is empty.

@else -
+
@foreach($inventory->groupBy('item.type') as $type => $items)
-

+

{{ ucfirst($type) }}s ({{ $items->sum('quantity') }})

@foreach($items as $item) -
+
-

{{ $item->item->name }}

-

- x{{ $item->quantity }} -

+

{{ $item->item->name }}

+

x{{ $item->quantity }}

@if($item->equipped) - Equipped + Equipped @endif
- + @if($item->item->description) -

- {{ Str::limit($item->item->description, 80) }} -

+

{{ Str::limit($item->item->description, 80) }}

@endif - -
+ +
@if($item->item->attack_bonus > 0) -
- ⚔️ +
+ ⚔️ +{{ $item->item->attack_bonus }} Attack
@endif @if($item->item->defense_bonus > 0) -
- 🛡️ +
+ 🛡️ +{{ $item->item->defense_bonus }} Defense
@endif @if($item->item->health_bonus > 0) -
- ❤️ +
+ ❤️ +{{ $item->item->health_bonus }} Health
@endif @if($item->item->energy_bonus > 0) -
- ⚡ +
+ ⚡ +{{ $item->item->energy_bonus }} Energy
@endif
- +
@if($item->item->canEquip()) @if($item->equipped)
@csrf -
@else
@csrf -
@endif @endif - + @if($item->item->canUse())
@csrf -
@endif - +
@csrf -
diff --git a/resources/views/game/jail.blade.php b/resources/views/game/jail.blade.php index 09fb92c..161214f 100644 --- a/resources/views/game/jail.blade.php +++ b/resources/views/game/jail.blade.php @@ -4,46 +4,35 @@ @section('game-content')
-
+
- 🚔 + 🚔
- -

- You're in Jail -

- -

- Your character has been arrested and is currently serving time in jail. -

- -
-

- Your Status -

-
-
- Status - In Jail + +

You're in Jail

+

Your character has been arrested and is currently serving time.

+ +
+

Your Status

+
+
+ Status + In Jail
-
- Release Time - {{ $releaseTime }} +
+ Release Time + {{ $releaseTime }}
- +
-

- You must wait for your sentence to complete. There is no way to reduce your jail time. -

- - - +

You must wait for your sentence to complete.

+ +
+ Back to Dashboard