36 lines
1.4 KiB
PHP
36 lines
1.4 KiB
PHP
<!DOCTYPE html>
|
|
<html lang="de" class="h-full">
|
|
<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', 'Lernschiff') }}</title>
|
|
<link rel="preload" href="{{ asset('fonts/PlusJakartaSans-VariableFont_wght.woff2') }}" as="font" type="font/woff2" crossorigin>
|
|
<link rel="preload" href="{{ asset('fonts/JetBrainsMono-Regular.woff2') }}" as="font" type="font/woff2" crossorigin>
|
|
<link rel="icon" type="image/svg+xml" href="{{ asset('logo/favicon.svg') }}">
|
|
<link rel="icon" type="image/x-icon" href="{{ asset('logo/favicon.ico') }}">
|
|
<link rel="apple-touch-icon" href="{{ asset('icons/apple-touch-icon.png') }}">
|
|
<link rel="manifest" href="{{ asset('manifest.webmanifest') }}">
|
|
<meta name="theme-color" content="#f5f3ee">
|
|
@vite(['resources/css/app.css', 'resources/js/app.js'])
|
|
@livewireStyles
|
|
</head>
|
|
<body class="h-full bg-bg-base font-display antialiased text-ink-1">
|
|
|
|
<x-layout.sidebar :active="$active ?? 'dashboard'" />
|
|
|
|
<main class="ml-60 flex flex-col min-h-screen min-w-0">
|
|
<x-layout.topbar :streak="$streak ?? 0" :points="$points ?? 0" />
|
|
|
|
<div class="px-8 py-8 max-w-[1440px] w-full mx-auto">
|
|
{{ $slot }}
|
|
</div>
|
|
</main>
|
|
|
|
<livewire:livewire-ui-modal />
|
|
|
|
@livewireScripts
|
|
@stack('scripts')
|
|
</body>
|
|
</html>
|