first
This commit is contained in:
34
resources/views/layouts/guest.blade.php
Normal file
34
resources/views/layouts/guest.blade.php
Normal file
@@ -0,0 +1,34 @@
|
||||
<!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>
|
||||
Reference in New Issue
Block a user