49 lines
2.3 KiB
PHP
49 lines
2.3 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="relative grid h-dvh flex-col items-center justify-center px-8 sm:px-0 lg:max-w-none lg:grid-cols-2 lg:px-0">
|
|
<div class="bg-muted relative hidden h-full flex-col p-10 text-white lg:flex dark:border-e dark:border-neutral-800">
|
|
<div class="absolute inset-0 bg-neutral-900"></div>
|
|
<a href="{{ route('home') }}" class="relative z-20 flex items-center text-lg font-medium" wire:navigate>
|
|
<span class="flex h-10 w-10 items-center justify-center rounded-md">
|
|
<x-app-logo-icon class="me-2 h-7" />
|
|
</span>
|
|
{{ config('app.name', 'Laravel') }}
|
|
</a>
|
|
|
|
@php
|
|
[$message, $author] = str(Illuminate\Foundation\Inspiring::quotes()->random())->explode('-');
|
|
@endphp
|
|
|
|
<div class="relative z-20 mt-auto">
|
|
<blockquote class="space-y-2">
|
|
<flux:heading size="lg">“{{ trim($message) }}”</flux:heading>
|
|
<footer><flux:heading>{{ trim($author) }}</flux:heading></footer>
|
|
</blockquote>
|
|
</div>
|
|
</div>
|
|
<div class="w-full lg:p-8">
|
|
<div class="mx-auto flex w-full flex-col justify-center space-y-6 sm:w-[350px]">
|
|
<a href="{{ route('home') }}" class="z-20 flex flex-col items-center gap-2 font-medium lg:hidden" wire:navigate>
|
|
<span class="flex h-9 w-9 items-center justify-center rounded-md">
|
|
<x-app-logo-icon />
|
|
</span>
|
|
|
|
<span class="sr-only">{{ config('app.name', 'Laravel') }}</span>
|
|
</a>
|
|
{{ $slot }}
|
|
|
|
<div class="flex justify-center mt-6">
|
|
<x-theme-toggle />
|
|
</div>
|
|
</div>
|
|
</div>
|
|
</div>
|
|
@fluxScripts
|
|
@include('partials.theme-toggle-script')
|
|
</body>
|
|
</html>
|