Files
2026-09-12 21:04:45 +01:00

47 lines
3.4 KiB
PHP

<!doctype html>
<html lang="en">
<head>
<meta charset="utf-8">
<meta name="viewport" content="width=device-width,initial-scale=1,viewport-fit=cover">
<meta name="csrf-token" content="{{ csrf_token() }}">
<meta name="description" content="Find and book outstanding DJs for weddings, parties, clubs and corporate events.">
<title>@yield('title', 'BeatBook — Find Your Perfect DJ')</title>
@vite(['resources/css/app.css', 'resources/js/app.js'])
</head>
<body>
<header class="site-header">
<div class="shell nav">
<a class="brand" href="{{ route('home') }}"><b>◉</b> BeatBook</a>
<button class="mobile-menu-button" type="button" data-menu-toggle aria-label="Open navigation" aria-expanded="false">☰</button>
<div class="nav-panel" data-menu-panel>
<nav class="navlinks">
<a href="{{ route('djs.index') }}">Find a DJ</a>
<a href="{{ route('home') }}#how">How it works</a>
<a href="{{ route('home') }}#for-djs">For DJs</a>
<a href="{{ route('home') }}#pricing">Pricing</a>
</nav>
<div class="nav-actions">
@auth
<a class="nav-account-link" href="{{ route('dashboard') }}"><span class="mini-avatar">{{ strtoupper(substr(auth()->user()->name,0,1)) }}</span><span>My account</span></a>
@if(auth()->user()->hasAnyRole(['admin', 'super-admin']))<a class="button ghost small" href="{{ route('admin.dashboard') }}">Admin</a>@endif
<form method="post" action="{{ route('logout') }}" class="inline-form">@csrf<button class="text-button" type="submit">Sign out</button></form>
@else
<a class="text-button" href="{{ route('login') }}">Sign in</a>
<a class="button small" href="{{ route('register') }}">Join BeatBook</a>
@endauth
</div>
</div>
</div>
</header>
@if(session('success'))<div class="shell flash success">{{ session('success') }}</div>@endif
@if(session('status'))<div class="shell flash success">{{ session('status') }}</div>@endif
@yield('content')
<footer class="site-footer">
<div class="shell footer-grid"><div><a class="brand" href="{{ route('home') }}"><b>◉</b> BeatBook</a><p>DJs for every moment. Search, compare and book with confidence.</p></div><div><strong>Discover</strong><a href="{{ route('djs.index') }}">Find a DJ</a><a href="{{ route('home') }}#how">How it works</a><a href="{{ route('home') }}#for-djs">For DJs</a></div><div><strong>Legal</strong><a href="{{ route('privacy') }}">Privacy</a><a href="{{ route('cookies') }}">Cookies</a><a href="{{ route('terms') }}">Terms</a></div></div>
<div class="shell footer-bottom">© {{ date('Y') }} BeatBook. All rights reserved.</div>
</footer>
<div class="cookie" id="cookie"><div><strong>Your privacy matters</strong><p>Necessary cookies keep BeatBook working. Optional analytics and marketing stay off unless you accept them.</p></div><div class="cookie-actions"><button class="button small" type="button" onclick="localStorage.setItem('cookieChoice','necessary');document.getElementById('cookie').remove()">Necessary only</button><button class="button ghost small" type="button" onclick="localStorage.setItem('cookieChoice','all');document.getElementById('cookie').remove()">Accept all</button></div></div>
<script>if(localStorage.getItem('cookieChoice')) document.getElementById('cookie')?.remove();</script>
</body>
</html>