@@ -0,0 +1,44 @@
|
||||
<!DOCTYPE html>
|
||||
<html lang="{{ str_replace('_', '-', app()->getLocale()) }}" class="dark">
|
||||
<head>
|
||||
@include('partials.head')
|
||||
</head>
|
||||
<body class="min-h-screen bg-white antialiased dark:bg-linear-to-b dark:from-neutral-950 dark:to-neutral-900">
|
||||
<div class="flex min-h-svh flex-col">
|
||||
<header class="border-b border-zinc-200 px-6 py-4 dark:border-white/10">
|
||||
<div class="mx-auto flex w-full max-w-5xl items-center justify-between">
|
||||
<a href="{{ route('home') }}" class="flex items-center gap-2 font-medium" wire:navigate>
|
||||
<x-app-logo-icon class="size-8 fill-current text-zinc-900 dark:text-white" />
|
||||
<span class="text-sm font-semibold text-zinc-900 dark:text-white">{{ config('app.name', 'Laravel') }}</span>
|
||||
</a>
|
||||
|
||||
<nav class="flex items-center gap-4 text-sm">
|
||||
@auth
|
||||
<flux:link :href="route('dashboard')" wire:navigate>{{ __('Dashboard') }}</flux:link>
|
||||
@else
|
||||
<flux:link :href="route('login')" wire:navigate>{{ __('Log in') }}</flux:link>
|
||||
|
||||
@if (Route::has('register'))
|
||||
<flux:button :href="route('register')" variant="primary" size="sm" wire:navigate>
|
||||
{{ __('Sign up') }}
|
||||
</flux:button>
|
||||
@endif
|
||||
@endauth
|
||||
</nav>
|
||||
</div>
|
||||
</header>
|
||||
|
||||
<main class="flex flex-1 flex-col items-center px-6 py-12 md:py-16">
|
||||
{{ $slot }}
|
||||
</main>
|
||||
</div>
|
||||
|
||||
@persist('toast')
|
||||
<flux:toast.group>
|
||||
<flux:toast />
|
||||
</flux:toast.group>
|
||||
@endpersist
|
||||
|
||||
@fluxScripts
|
||||
</body>
|
||||
</html>
|
||||
Reference in New Issue
Block a user