Files

31 lines
1.1 KiB
PHP
Raw Permalink Normal View History

@props(['title' => null, 'description' => null])
<!DOCTYPE html>
<html lang="{{ str_replace('_', '-', app()->getLocale()) }}" class="scroll-smooth">
<head>
<meta charset="utf-8">
<meta name="viewport" content="width=device-width, initial-scale=1">
<title>{{ $title ? "{$title} · " . config('app.name') : config('app.name') }}</title>
@if ($description)
<meta name="description" content="{{ $description }}">
@endif
@fonts
@vite(['resources/css/app.css', 'resources/js/app.js'])
</head>
<body class="min-h-screen bg-ink font-sans text-paper antialiased">
<div class="pointer-events-none fixed inset-0 -z-10 overflow-hidden">
<div class="absolute -top-48 -left-32 h-[34rem] w-[34rem] rounded-full bg-accent/20 blur-[130px]"></div>
<div class="absolute top-1/2 -right-40 h-[28rem] w-[28rem] rounded-full bg-accent/10 blur-[150px]"></div>
<div class="absolute inset-0 bg-[radial-gradient(circle_at_1px_1px,rgba(245,243,238,0.06)_1px,transparent_0)] bg-[length:28px_28px]"></div>
</div>
<x-site.nav />
<main>
{{ $slot }}
</main>
<x-site.footer />
</body>
</html>