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-30 22:46:53 -04:00
|
|
|
<link rel="icon" href="data:image/x-icon;base64,AA">
|
2024-09-24 00:40:33 -04:00
|
|
|
|
2024-05-30 22:46:53 -04:00
|
|
|
<link href="//fonts.bunny.net" rel="preconnect">
|
|
|
|
<link href="//fonts.bunny.net/css?family=figtree:400,500,600&display=swap" rel="stylesheet">
|
2024-05-24 17:06:02 -04:00
|
|
|
|
2024-06-12 16:52:32 -04:00
|
|
|
<link href="{{ config('app.asset_url') }}" rel="dns-prefetch">
|
|
|
|
|
2024-09-24 00:40:33 -04:00
|
|
|
@livewireStyles
|
|
|
|
@vite(['resources/css/app.css'])
|
|
|
|
|
2024-05-24 17:06:02 -04:00
|
|
|
<script>
|
2024-05-30 22:46:53 -04:00
|
|
|
// Immediately set the theme to prevent a flash of the default theme when another is set.
|
|
|
|
// Must be located inline, in the head, and before any CSS is loaded.
|
|
|
|
(function () {
|
|
|
|
let theme = localStorage.getItem('forge-theme');
|
|
|
|
if (!theme) {
|
|
|
|
theme = window.matchMedia('(prefers-color-scheme: light)').matches ? 'light' : 'dark';
|
|
|
|
localStorage.setItem('forge-theme', theme);
|
|
|
|
}
|
|
|
|
document.documentElement.classList.add(theme);
|
|
|
|
})();
|
2024-05-24 17:06:02 -04:00
|
|
|
</script>
|
2024-05-17 17:11:54 -04:00
|
|
|
</head>
|
2024-07-03 17:47:02 -04:00
|
|
|
<body class="font-sans antialiased">
|
2024-09-24 00:40:33 -04:00
|
|
|
<x-warning/>
|
2024-05-17 17:11:54 -04:00
|
|
|
|
2024-09-24 00:40:33 -04:00
|
|
|
<x-banner/>
|
2024-05-17 17:11:54 -04:00
|
|
|
|
2024-09-24 00:40:33 -04:00
|
|
|
<div class="min-h-screen bg-gray-100 dark:bg-gray-800">
|
|
|
|
@livewire('navigation-menu')
|
2024-05-17 17:11:54 -04:00
|
|
|
|
2024-09-24 00:40:33 -04:00
|
|
|
@if (isset($header))
|
|
|
|
<header class="bg-gray-50 dark:bg-gray-900 shadow dark:shadow-gray-950">
|
|
|
|
<div class="max-w-7xl mx-auto py-6 px-4 sm:px-6 lg:px-8">
|
|
|
|
{{ $header }}
|
|
|
|
</div>
|
|
|
|
</header>
|
|
|
|
@endif
|
2024-05-17 17:11:54 -04:00
|
|
|
|
2024-09-24 00:40:33 -04:00
|
|
|
<main class="pb-6 sm:py-12">
|
|
|
|
{{ $slot }}
|
|
|
|
</main>
|
|
|
|
</div>
|
2024-05-17 17:11:54 -04:00
|
|
|
|
2024-09-24 00:40:33 -04:00
|
|
|
<x-footer/>
|
2024-05-24 17:06:02 -04:00
|
|
|
|
2024-09-24 00:40:33 -04:00
|
|
|
@vite(['resources/js/app.js'])
|
|
|
|
@stack('modals')
|
|
|
|
@livewireScriptConfig
|
|
|
|
@include('includes.analytics')
|
2024-05-17 17:11:54 -04:00
|
|
|
</body>
|
2024-05-13 18:55:34 -04:00
|
|
|
</html>
|