47 lines
1.8 KiB
PHP
47 lines
1.8 KiB
PHP
<!DOCTYPE html>
|
|
<html lang="{{ str_replace('_', '-', app()->getLocale()) }}">
|
|
<head>
|
|
<meta charset="utf-8">
|
|
<meta name="viewport" content="width=device-width, initial-scale=1">
|
|
<meta name="csrf-token" content="{{ csrf_token() }}">
|
|
|
|
<title>{{ $siteSettings['name'] ?? config('app.name', 'Laravel') }}</title>
|
|
|
|
<!-- Fonts -->
|
|
<link rel="preconnect" href="https://fonts.bunny.net">
|
|
<link href="https://fonts.bunny.net/css?family=figtree:400,500,600&display=swap" rel="stylesheet" />
|
|
|
|
<!-- Dynamic Colors from Settings -->
|
|
<style>
|
|
:root {
|
|
--primary-color: {{ $siteSettings['primary_color'] ?? '#3b82f6' }};
|
|
--secondary-color: {{ $siteSettings['secondary_color'] ?? '#8b5cf6' }};
|
|
--accent-color: {{ $siteSettings['accent_color'] ?? '#10b981' }};
|
|
}
|
|
</style>
|
|
|
|
<!-- Scripts -->
|
|
@if(\App\Helpers\ViteHelper::manifestExists())
|
|
@vite(['resources/css/app.css', 'resources/js/app.js'])
|
|
@else
|
|
{!! \App\Helpers\ViteHelper::fallbackStyles() !!}
|
|
@endif
|
|
</head>
|
|
<body class="font-sans text-gray-900 antialiased">
|
|
@if(!\App\Helpers\ViteHelper::manifestExists())
|
|
{!! \App\Helpers\ViteHelper::devWarningBanner() !!}
|
|
@endif
|
|
<div class="min-h-screen flex flex-col sm:justify-center items-center pt-6 sm:pt-0 bg-gray-100 dark:bg-gray-900">
|
|
<div>
|
|
<a href="/">
|
|
<x-application-logo class="w-20 h-20 fill-current text-gray-500" />
|
|
</a>
|
|
</div>
|
|
|
|
<div class="w-full sm:max-w-md mt-6 px-6 py-4 bg-white dark:bg-gray-800 shadow-md overflow-hidden sm:rounded-lg">
|
|
{{ $slot }}
|
|
</div>
|
|
</div>
|
|
</body>
|
|
</html>
|