2026-06-27 14:38:18 +03:00
|
|
|
@extends('layouts.game')
|
|
|
|
|
|
|
|
|
|
@section('title', 'Hospital')
|
|
|
|
|
|
|
|
|
|
@section('game-content')
|
|
|
|
|
<div class="max-w-2xl mx-auto">
|
2026-06-28 03:06:03 +03:00
|
|
|
<div class="bg-syndicate-800 border border-syndicate-700 rounded-lg">
|
2026-06-27 14:38:18 +03:00
|
|
|
<div class="p-8 text-center">
|
|
|
|
|
<div class="mb-6">
|
2026-06-28 03:06:03 +03:00
|
|
|
<span class="text-6xl">🏥</span>
|
2026-06-27 14:38:18 +03:00
|
|
|
</div>
|
2026-06-28 03:06:03 +03:00
|
|
|
|
|
|
|
|
<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>
|
2026-06-27 14:38:18 +03:00
|
|
|
</div>
|
2026-06-28 03:06:03 +03:00
|
|
|
<div class="flex justify-between">
|
|
|
|
|
<span class="text-gray-400">Status</span>
|
|
|
|
|
<span class="text-red-400 font-medium">
|
2026-06-27 14:38:18 +03:00
|
|
|
@if($character->health <= 0) Dead @else In Hospital @endif
|
|
|
|
|
</span>
|
|
|
|
|
</div>
|
2026-06-28 03:06:03 +03:00
|
|
|
<div class="flex justify-between">
|
|
|
|
|
<span class="text-gray-400">Release Time</span>
|
|
|
|
|
<span class="text-gray-200 font-medium">{{ $releaseTime }}</span>
|
2026-06-27 14:38:18 +03:00
|
|
|
</div>
|
|
|
|
|
</div>
|
|
|
|
|
</div>
|
2026-06-28 03:06:03 +03:00
|
|
|
|
2026-06-27 14:38:18 +03:00
|
|
|
<div class="space-y-4">
|
|
|
|
|
<form action="{{ route('game.character.revive') }}" method="POST">
|
|
|
|
|
@csrf
|
2026-06-28 03:06:03 +03:00
|
|
|
<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">
|
2026-06-27 14:38:18 +03:00
|
|
|
<span class="mr-2">💵</span>
|
|
|
|
|
Revive Now for ${{ number_format($reviveCost) }}
|
|
|
|
|
</button>
|
|
|
|
|
</form>
|
2026-06-28 03:06:03 +03:00
|
|
|
|
|
|
|
|
<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">
|
2026-06-27 14:38:18 +03:00
|
|
|
<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
|