feat: add resources and view components

This commit is contained in:
2026-05-21 16:05:19 +07:00
parent 28a06315b8
commit b2d60e680d
249 changed files with 37379 additions and 0 deletions
@@ -0,0 +1,47 @@
<x-guest-layout>
@php
$logo = get_setting('app_logo');
@endphp
{{-- Logo & Intro --}}
<div class="text-center text-primary mb-5">
<img src="{{ asset('assets/img/logo.png') }}" alt="logo" class="maxwidth-200 mx-auto"><br>
<p class="opacity-75 fs-6">
This is a secure area. Please confirm your password to continue.
</p>
</div>
{{-- Form Konfirmasi Password --}}
<form method="POST" action="{{ route('password.confirm') }}">
@csrf
{{-- Input Password --}}
<div class="input-group mb-4">
<div class="form-floating flex-grow-1">
<input type="password" id="password" name="password"
class="form-control border-end-0 @error('password') is-invalid @enderror" placeholder="Password" required
autocomplete="current-password">
<label for="password">Password</label>
</div>
<button class="btn btn-outline-secondary bg-white border-start-0 password-toggle" type="button" style="border-color: #dee2e6;">
<i class="bi bi-eye text-secondary"></i>
</button>
</div>
{{-- Pesan Error Validasi --}}
@error('password')
<div class="text-danger small mt-1 mb-4">{{ $message }}</div>
@enderror
{{-- Tombol Submit --}}
<button type="submit" class="btn btn-lg btn-primary theme-black w-100">
Confirm
</button>
</form>
<div class="text-center text-primary mb-5">
{{-- Footer --}}
<small class="opacity-50 d-block mt-4"> {{ $footer_text }} </small>
</div>
</x-guest-layout>