added llobby
This commit is contained in:
39
resources/views/components/lobby.blade.php
Normal file
39
resources/views/components/lobby.blade.php
Normal file
@@ -0,0 +1,39 @@
|
||||
<div class="container mx-auto mt-4 bg-dark text-white p-4 rounded shadow-lg">
|
||||
<h1 class="text-2xl font-bold mb-4 glow">Skunk Lounge Lobby</h1>
|
||||
<div class="flex justify-between mb-4">
|
||||
<span class="text-lg">Balance: ${{ auth()->user()->balance }}</span>
|
||||
<div>
|
||||
@auth
|
||||
<form method="POST" action="{{ route('logout') }}" class="inline">
|
||||
@csrf
|
||||
<button type="submit" class="btn btn-neon">Logout</button>
|
||||
</form>
|
||||
@if(auth()->user()->role === 'admin')
|
||||
<a href="/admin" class="btn btn-neon ml-2">Admin</a>
|
||||
@endif
|
||||
@else
|
||||
<a href="{{ route('login') }}" class="btn btn-neon">Login</a>
|
||||
<a href="{{ route('register') }}" class="btn btn-neon ml-2">Register</a>
|
||||
@endauth
|
||||
</div>
|
||||
</div>
|
||||
<div class="grid grid-cols-1 md:grid-cols-3 gap-4">
|
||||
<!-- Sample Game Cards (add more from GitHub integrations later) -->
|
||||
<div class="card bg-gray-800 p-4 rounded shadow-neon">
|
||||
<h3 class="text-lg mb-2">Slots</h3>
|
||||
<p>Pragmatic-style reels and animations.</p>
|
||||
<a href="/games/slots" class="btn btn-neon mt-2">Play</a>
|
||||
</div>
|
||||
<div class="card bg-gray-800 p-4 rounded shadow-neon">
|
||||
<h3 class="text-lg mb-2">Plinko</h3>
|
||||
<p>Physics-based drop with multipliers.</p>
|
||||
<a href="/games/plinko" class="btn btn-neon mt-2">Play</a>
|
||||
</div>
|
||||
<div class="card bg-gray-800 p-4 rounded shadow-neon">
|
||||
<h3 class="text-lg mb-2">Wheel Spin</h3>
|
||||
<p>Fortune wheel with prizes.</p>
|
||||
<a href="/games/wheel" class="btn btn-neon mt-2">Play</a>
|
||||
</div>
|
||||
<!-- Add more cards for blackjack, poker, roulette, dice, coin flip -->
|
||||
</div>
|
||||
</div>
|
||||
Reference in New Issue
Block a user