58 lines
1.8 KiB
PHP
58 lines
1.8 KiB
PHP
<!DOCTYPE html>
|
|
<html lang="{{ str_replace('_', '-', app()->getLocale()) }}">
|
|
<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', 'Laravel') }}</title>
|
|
|
|
<!-- Fonts -->
|
|
<link rel="preconnect" href="https://fonts.bunny.net">
|
|
<link href="https://fonts.bunny.net/css?family=figtree:400,500,600&display=swap" rel="stylesheet" />
|
|
<link href="https://fonts.bunny.net/css?family=inter:400,500,600&display=swap" rel="stylesheet" />
|
|
|
|
<!-- Scripts -->
|
|
@vite(['resources/css/app.css', 'resources/js/app.js'])
|
|
|
|
<!-- Styles -->
|
|
@livewireStyles
|
|
@fluxAppearance
|
|
</head>
|
|
<body class="font-sans antialiased min-h-screen bg-white dark:bg-zinc-800">
|
|
<x-banner />
|
|
|
|
<div>
|
|
<x-navbar />
|
|
|
|
<!-- Page Heading -->
|
|
@if (isset($header) || isset($headeraction))
|
|
<div class="bg-white dark:bg-zinc-700 shadow-sm ">
|
|
<div class="flex justify-between max-w-7xl mx-auto items-center">
|
|
@if (isset($header))
|
|
<x-header>
|
|
{{ $header }}
|
|
</x-header>
|
|
@endif
|
|
|
|
@if (isset($headeraction))
|
|
<x-headeraction>
|
|
{{ $headeraction }}
|
|
</x-headeraction>
|
|
@endif
|
|
</div>
|
|
</div>
|
|
@endif
|
|
|
|
<!-- Page Content -->
|
|
<main>
|
|
{{ $slot }}
|
|
</main>
|
|
</div>
|
|
|
|
@stack('modals')
|
|
|
|
|
|
</body>
|
|
</html>
|