42 lines
1.7 KiB
PHP
42 lines
1.7 KiB
PHP
<!DOCTYPE html>
|
|
<html lang="{{ str_replace('_', '-', app()->getLocale()) }}" class="dark">
|
|
<head>
|
|
@include('partials.head')
|
|
@include('partials.theme-init-script')
|
|
</head>
|
|
<body class="min-h-screen bg-zinc-50 antialiased dark:bg-gradient-to-b dark:from-zinc-950 dark:to-zinc-900">
|
|
<div class="bg-background flex min-h-svh flex-col items-center justify-center gap-6 p-6 md:p-10">
|
|
<div class="flex w-full max-w-sm flex-col gap-2">
|
|
<a href="{{ route('home') }}" class="flex flex-col items-center gap-2 font-medium" wire:navigate>
|
|
<span class="flex h-12 w-12 mb-1 items-center justify-center rounded-md">
|
|
<x-app-logo-icon />
|
|
</span>
|
|
<span class="sr-only">{{ config('app.name', 'Laravel') }}</span>
|
|
</a>
|
|
<div class="flex flex-col gap-6">
|
|
{{ $slot }}
|
|
</div>
|
|
|
|
|
|
<div class="flex justify-center mt-6">
|
|
<x-theme-toggle />
|
|
</div>
|
|
</div>
|
|
</div>
|
|
@livewireScripts
|
|
@fluxScripts
|
|
@include('partials.theme-toggle-script')
|
|
<script src="{{ asset('vendor/livewire/livewire.js') }}"></script>
|
|
|
|
<!-- Debug: Script-Status -->
|
|
<script>
|
|
console.log('Body Scripts geladen');
|
|
console.log('Livewire JS:', {{ file_exists(public_path('vendor/livewire/livewire.js')) ? 'true' : 'false' }});
|
|
if (typeof Livewire !== 'undefined') {
|
|
console.log('Livewire verfügbar:', true);
|
|
} else {
|
|
console.log('Livewire verfügbar:', false);
|
|
}
|
|
</script>
|
|
</body>
|
|
</html>
|