71 lines
2.9 KiB
PHP
71 lines
2.9 KiB
PHP
<!doctype html>
|
|
<html lang="en">
|
|
<head>
|
|
<meta charset="utf-8">
|
|
<meta name="viewport" content="width=device-width,initial-scale=1">
|
|
<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>
|
|
<div class="shell nav">
|
|
<a class="brand" href="{{ route('home') }}"><b>◉</b> BeatBook</a>
|
|
<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
|
|
@if(auth()->user()->hasAnyRole(['admin', 'super-admin']))
|
|
<a class="button ghost" href="{{ route('admin.dashboard') }}">Admin</a>
|
|
@endif
|
|
<a class="button ghost" href="{{ route('dashboard') }}">Dashboard</a>
|
|
<form method="post" action="{{ route('logout') }}" class="inline-form">
|
|
@csrf
|
|
<button class="button" type="submit">Sign out</button>
|
|
</form>
|
|
@else
|
|
<a class="button ghost" href="{{ route('login') }}">Sign in</a>
|
|
<a class="button" href="{{ route('register') }}">Join</a>
|
|
@endauth
|
|
</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="section footer">
|
|
<div class="shell">
|
|
<b class="brand">BeatBook</b>
|
|
<p class="muted">DJs for every moment. Secure enquiries, bookings and verified reviews.</p>
|
|
<p>
|
|
<a href="{{ route('privacy') }}" class="muted">Privacy</a> ·
|
|
<a href="{{ route('cookies') }}" class="muted">Cookies</a> ·
|
|
<a href="{{ route('terms') }}" class="muted">Terms</a>
|
|
</p>
|
|
</div>
|
|
</footer>
|
|
|
|
<div class="cookie" id="cookie">
|
|
<strong>Your privacy matters</strong>
|
|
<p>We use necessary cookies to run BeatBook. Analytics and marketing remain off until you choose them.</p>
|
|
<button class="button" type="button" onclick="localStorage.setItem('cookieChoice','necessary');document.getElementById('cookie').remove()">Necessary only</button>
|
|
<button class="button ghost cookie-secondary" type="button" onclick="localStorage.setItem('cookieChoice','all');document.getElementById('cookie').remove()">Accept all</button>
|
|
</div>
|
|
<script>
|
|
if (localStorage.getItem('cookieChoice')) document.getElementById('cookie')?.remove();
|
|
</script>
|
|
</body>
|
|
</html>
|