2024-05-13 18:55:34 -04:00
|
|
|
<!DOCTYPE html>
|
|
|
|
<html lang="{{ str_replace('_', '-', app()->getLocale()) }}">
|
2024-05-24 17:06:02 -04:00
|
|
|
<head>
|
|
|
|
<meta charset="utf-8">
|
|
|
|
<meta name="viewport" content="width=device-width, initial-scale=1">
|
|
|
|
<meta name="csrf-token" content="{{ csrf_token() }}">
|
2024-05-13 18:55:34 -04:00
|
|
|
|
2024-05-30 22:46:53 -04:00
|
|
|
<title>{{ config('app.name', 'The Forge') }}</title>
|
2024-05-13 18:55:34 -04:00
|
|
|
|
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-13 18:55:34 -04:00
|
|
|
|
2024-06-19 12:56:33 -04:00
|
|
|
<link href="{{ config('app.asset_url') }}" rel="dns-prefetch">
|
|
|
|
|
2024-09-24 00:40:33 -04:00
|
|
|
@vite(['resources/css/app.css'])
|
|
|
|
@livewireStyles
|
|
|
|
|
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>
|
|
|
|
</head>
|
|
|
|
<body>
|
2024-09-24 00:40:33 -04:00
|
|
|
<div class="font-sans text-gray-900 antialiased">
|
|
|
|
{{ $slot }}
|
|
|
|
</div>
|
2024-05-30 22:46:53 -04:00
|
|
|
|
2024-09-24 00:40:33 -04:00
|
|
|
@vite(['resources/js/app.js']);
|
|
|
|
@livewireScriptConfig
|
|
|
|
@include('includes.analytics')
|
2024-05-24 17:06:02 -04:00
|
|
|
</body>
|
2024-05-13 18:55:34 -04:00
|
|
|
</html>
|