2025-04-09 23:03:16 +03:00
|
|
|
<!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() }}">
|
|
|
|
|
|
2025-04-12 17:18:33 +03:00
|
|
|
<title>@yield('title', config('app.name', 'Laravel'))</title>
|
2025-04-09 23:03:16 +03:00
|
|
|
|
|
|
|
|
<!-- 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" />
|
2025-05-03 20:50:18 +03:00
|
|
|
|
2025-04-12 17:18:33 +03:00
|
|
|
<!-- Font Awesome -->
|
|
|
|
|
<link rel="stylesheet" href="https://cdnjs.cloudflare.com/ajax/libs/font-awesome/6.0.0/css/all.min.css">
|
2025-04-09 23:03:16 +03:00
|
|
|
|
|
|
|
|
<!-- Scripts -->
|
|
|
|
|
@vite(['resources/css/app.css', 'resources/js/app.js'])
|
2025-04-12 17:18:33 +03:00
|
|
|
|
|
|
|
|
<!-- Bootstrap CSS -->
|
|
|
|
|
<link href="https://cdn.jsdelivr.net/npm/bootstrap@5.3.0/dist/css/bootstrap.min.css" rel="stylesheet">
|
2025-06-13 23:06:13 +03:00
|
|
|
<style>
|
|
|
|
|
:root {
|
|
|
|
|
--primary: #7F00FF;
|
|
|
|
|
--accent: #00C9FF;
|
|
|
|
|
--background: #121212;
|
|
|
|
|
--text: #EAEAEA;
|
|
|
|
|
}
|
|
|
|
|
body {
|
|
|
|
|
font-family: 'Inter', sans-serif;
|
|
|
|
|
background-color: var(--background);
|
|
|
|
|
color: var(--text);
|
|
|
|
|
}
|
|
|
|
|
.gradient-text {
|
|
|
|
|
background: linear-gradient(90deg, var(--primary), var(--accent));
|
|
|
|
|
-webkit-background-clip: text;
|
|
|
|
|
-webkit-text-fill-color: transparent;
|
|
|
|
|
}
|
|
|
|
|
.gradient-border {
|
|
|
|
|
border: 2px solid transparent;
|
|
|
|
|
background: linear-gradient(var(--background), var(--background)) padding-box,
|
|
|
|
|
linear-gradient(90deg, var(--primary), var(--accent)) border-box;
|
|
|
|
|
}
|
|
|
|
|
</style>
|
2025-04-09 23:03:16 +03:00
|
|
|
</head>
|
|
|
|
|
<body class="font-sans antialiased">
|
|
|
|
|
<div class="min-h-screen bg-gray-100 dark:bg-gray-900">
|
2025-04-12 17:18:33 +03:00
|
|
|
<nav class="navbar navbar-expand-lg">
|
|
|
|
|
<div class="container">
|
|
|
|
|
<a class="navbar-brand text-2xl fw-bold gradient-text" href="/">ClearGame</a>
|
|
|
|
|
<button class="navbar-toggler" type="button" data-bs-toggle="collapse" data-bs-target="#navbarNav">
|
|
|
|
|
<span class="navbar-toggler-icon"></span>
|
|
|
|
|
</button>
|
|
|
|
|
<div class="collapse navbar-collapse" id="navbarNav">
|
|
|
|
|
<ul class="navbar-nav me-auto">
|
|
|
|
|
<li class="nav-item">
|
|
|
|
|
<a class="nav-link {{ request()->routeIs('games.index') ? 'active' : '' }}" href="{{ route('games.index') }}">
|
|
|
|
|
<i class="fas fa-gamepad me-1"></i> Games
|
|
|
|
|
</a>
|
|
|
|
|
</li>
|
|
|
|
|
</ul>
|
|
|
|
|
<div class="d-flex">
|
|
|
|
|
@auth
|
|
|
|
|
<div class="dropdown">
|
|
|
|
|
<button class="btn btn-outline-gradient dropdown-toggle" type="button" data-bs-toggle="dropdown">
|
|
|
|
|
<i class="fas fa-user me-1"></i> {{ Auth::user()->name }}
|
|
|
|
|
</button>
|
|
|
|
|
<ul class="dropdown-menu dropdown-menu-end">
|
2025-06-13 23:06:13 +03:00
|
|
|
<li>
|
|
|
|
|
<a href="">My lists</a>
|
|
|
|
|
</li>
|
2025-04-12 17:18:33 +03:00
|
|
|
<li>
|
|
|
|
|
<form method="POST" action="{{ route('logout') }}">
|
|
|
|
|
@csrf
|
|
|
|
|
<button type="submit" class="dropdown-item">
|
|
|
|
|
<i class="fas fa-sign-out-alt me-1"></i> Logout
|
|
|
|
|
</button>
|
|
|
|
|
</form>
|
|
|
|
|
</li>
|
|
|
|
|
</ul>
|
|
|
|
|
</div>
|
|
|
|
|
@else
|
|
|
|
|
<a href="{{ route('login') }}" class="text-gray-300 text-decoration-none me-3">
|
|
|
|
|
<i class="fas fa-sign-in-alt me-1"></i> Login
|
|
|
|
|
</a>
|
|
|
|
|
<a href="{{ route('register') }}" class="btn btn-gradient">
|
|
|
|
|
<i class="fas fa-user-plus me-1"></i> Sign Up
|
|
|
|
|
</a>
|
|
|
|
|
@endauth
|
|
|
|
|
</div>
|
2025-04-09 23:03:16 +03:00
|
|
|
</div>
|
2025-04-12 17:18:33 +03:00
|
|
|
</div>
|
|
|
|
|
</nav>
|
2025-04-09 23:03:16 +03:00
|
|
|
|
|
|
|
|
<!-- Page Content -->
|
2025-04-12 17:18:33 +03:00
|
|
|
<main class="container py-5">
|
|
|
|
|
@yield('content')
|
2025-04-09 23:03:16 +03:00
|
|
|
</main>
|
2025-04-12 17:18:33 +03:00
|
|
|
|
|
|
|
|
<footer class="border-top border-gray-800 py-4 mt-5">
|
|
|
|
|
<div class="container text-center text-gray-400">
|
|
|
|
|
<p class="mb-0">© 2024 ClearGame. All rights reserved.</p>
|
|
|
|
|
</div>
|
|
|
|
|
</footer>
|
2025-04-09 23:03:16 +03:00
|
|
|
</div>
|
2025-04-12 17:18:33 +03:00
|
|
|
|
|
|
|
|
<!-- Bootstrap Bundle with Popper -->
|
|
|
|
|
<script src="https://cdn.jsdelivr.net/npm/bootstrap@5.3.0/dist/js/bootstrap.bundle.min.js"></script>
|
2025-04-09 23:03:16 +03:00
|
|
|
</body>
|
|
|
|
|
</html>
|