Files
prn2026/resources/views/layouts/guest.blade.php
2026-06-03 08:51:22 +08:00

35 lines
1.1 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>@yield('title', $title ?? 'Log Masuk') - {{ config('app.name') }}</title>
@vite(['resources/css/app.css', 'resources/js/app.js'])
</head>
<body class="auth-body">
<main class="auth-shell">
<div class="text-center text-white mb-4">
<a href="{{ route('home') }}" class="d-inline-flex align-items-center gap-2 text-white text-decoration-none">
<span class="brand-mark"><i class="bi bi-check2-square"></i></span>
<span class="fw-semibold">{{ config('app.name') }}</span>
</a>
</div>
<div class="auth-card">
@if (session('status'))
<div class="alert alert-success" role="alert">{{ session('status') }}</div>
@endif
@isset($slot)
{{ $slot }}
@else
@yield('content')
@endisset
</div>
</main>
</body>
</html>