2024-05-13 18:55:34 -04:00
|
|
|
<!DOCTYPE html>
|
|
|
|
<html lang="{{ str_replace('_', '-', app()->getLocale()) }}">
|
2024-05-17 17:11:54 -04:00
|
|
|
<head>
|
|
|
|
<meta charset="utf-8">
|
|
|
|
<meta name="viewport" content="width=device-width, initial-scale=1">
|
|
|
|
<meta name="csrf-token" content="{{ csrf_token() }}">
|
|
|
|
|
|
|
|
<title>{{ config('app.name', 'The Forge') }}</title>
|
|
|
|
|
2024-05-24 17:06:02 -04:00
|
|
|
<link href="https://fonts.bunny.net" rel="preconnect">
|
|
|
|
<link href="https://fonts.bunny.net/css?family=figtree:400,500,600&display=swap" rel="stylesheet">
|
|
|
|
|
|
|
|
{{-- Handle setting the dark mode theme. Done here to avoid FOUC --}}
|
|
|
|
<script>
|
|
|
|
if (localStorage.theme === 'dark' || (!('theme' in localStorage) && window.matchMedia('(prefers-color-scheme: dark)').matches)) {
|
|
|
|
document.documentElement.classList.add('dark')
|
|
|
|
} else {
|
|
|
|
document.documentElement.classList.remove('dark')
|
|
|
|
}
|
|
|
|
</script>
|
2024-05-17 17:11:54 -04:00
|
|
|
|
|
|
|
@vite(['resources/css/app.css', 'resources/js/app.js'])
|
|
|
|
@livewireStyles
|
|
|
|
</head>
|
|
|
|
<body class="font-sans antialiased">
|
|
|
|
|
|
|
|
<x-warning/>
|
2024-05-17 23:54:03 -04:00
|
|
|
|
2024-05-17 17:11:54 -04:00
|
|
|
<x-banner/>
|
|
|
|
|
2024-05-24 17:06:02 -04:00
|
|
|
<div class="min-h-screen bg-gray-100 dark:bg-gray-800">
|
2024-05-17 17:11:54 -04:00
|
|
|
@livewire('navigation-menu')
|
|
|
|
|
|
|
|
@if (isset($header))
|
2024-05-24 17:06:02 -04:00
|
|
|
<header class="bg-white dark:bg-gray-800 shadow dark:shadow-white">
|
2024-05-17 17:11:54 -04:00
|
|
|
<div class="max-w-7xl mx-auto py-6 px-4 sm:px-6 lg:px-8">
|
|
|
|
{{ $header }}
|
|
|
|
</div>
|
|
|
|
</header>
|
|
|
|
@endif
|
|
|
|
|
2024-05-24 17:06:02 -04:00
|
|
|
<main class="py-12">
|
2024-05-17 17:11:54 -04:00
|
|
|
{{ $slot }}
|
|
|
|
</main>
|
|
|
|
</div>
|
|
|
|
|
2024-05-24 17:06:02 -04:00
|
|
|
<x-footer/>
|
|
|
|
|
2024-05-17 17:11:54 -04:00
|
|
|
@stack('modals')
|
|
|
|
|
|
|
|
@livewireScripts
|
|
|
|
</body>
|
2024-05-13 18:55:34 -04:00
|
|
|
</html>
|