lobby now run in filament

This commit is contained in:
2025-09-03 21:23:25 +02:00
parent 3abe1244a0
commit 6e212db8e1
16 changed files with 314 additions and 79 deletions

View File

@@ -1,36 +1,58 @@
<!DOCTYPE html>
<html lang="{{ str_replace('_', '-', app()->getLocale()) }}">
<head>
<meta charset="utf-8">
<meta name="viewport" content="width=device-width, initial-scale=1">
<meta name="csrf-token" content="{{ csrf_token() }}">
<html lang="en">
<head>
<meta charset="utf-8">
<meta name="viewport" content="width=device-width, initial-scale=1">
<title>{{ config('app.name', 'Laravel') }}</title>
<title>{{ $title ?? 'Skunk Lounge' }}</title>
<!-- Fonts -->
<link rel="preconnect" href="https://fonts.bunny.net">
<link href="https://fonts.bunny.net/css?family=figtree:400,500,600&display=swap" rel="stylesheet" />
<!-- Fonts -->
<link rel="preconnect" href="https://fonts.googleapis.com">
<link rel="preconnect" href="https://fonts.googleapis.com" crossorigin>
<link href="https://fonts.googleapis.com/css2?family=Arial&display=swap" rel="stylesheet">
<!-- Scripts -->
@vite(['resources/css/app.css', 'resources/js/app.js'])
</head>
<body class="font-sans antialiased">
<div class="min-h-screen bg-gray-100">
@include('layouts.navigation')
<!-- Styles -->
<link rel="stylesheet" href="https://cdn.jsdelivr.net/npm/bootstrap@5.3.3/dist/css/bootstrap.min.css">
<link rel="stylesheet" href="{{ asset('css/app.css') }}">
<!-- Page Heading -->
@isset($header)
<header class="bg-white shadow">
<div class="max-w-7xl mx-auto py-6 px-4 sm:px-6 lg:px-8">
{{ $header }}
</div>
</header>
@endisset
<!-- Page Content -->
<main>
{{ $slot }}
</main>
<!-- Scripts -->
<script src="{{ asset('js/app.js') }}" defer></script>
</head>
<body class="bg-dark text-white font-sans antialiased">
<!-- Top Bar -->
<header class="bg-gray-900 shadow-neon p-4 fixed top-0 left-0 right-0 z-50">
<div class="container mx-auto flex justify-between items-center">
<a href="/lobby" class="text-2xl font-bold glow">Skunk Lounge</a>
<div class="flex items-center">
<span class="mr-4">Balance: ${{ auth()->user()->balance ?? 0 }}</span>
<a href="/deposits" class="btn-neon">Deposit</a>
</div>
</div>
</body>
</html>
</header>
<!-- Left Sidebar Menu -->
<nav class="fixed top-16 left-0 bottom-0 w-64 bg-gray-900 p-4 shadow-neon z-40 overflow-y-auto">
<div class="mb-4">
<img src="{{ asset('images/logo.png') }}" alt="Logo" class="w-full mb-4"> <!-- Add logo asset if needed -->
</div>
<ul>
<li><a href="/lobby" class="block py-2 px-4 hover:bg-gray-800 rounded glow">Lobby</a></li>
<li><a href="/profile" class="block py-2 px-4 hover:bg-gray-800 rounded glow">Profile</a></li>
<li><a href="/deposits" class="block py-2 px-4 hover:bg-gray-800 rounded glow">Deposits</a></li>
<li><a href="/transactions" class="block py-2 px-4 hover:bg-gray-800 rounded glow">Transactions</a></li>
<li><a href="/vip" class="block py-2 px-4 hover:bg-gray-800 rounded glow">VIP</a></li>
<li><a href="/about" class="block py-2 px-4 hover:bg-gray-800 rounded glow">About Us</a></li>
</ul>
</nav>
<!-- Main Content -->
<main class="ml-64 pt-16 p-4 min-h-screen">
{{ $slot }}
</main>
<!-- Footer -->
<footer class="bg-gray-900 p-4 text-center text-gray-500">
Fake casino for entertainment only. No real money.
</footer>
</body>
</html>