Files
jouwdriedee/resources/views/auth/reset-password.blade.php
T

80 lines
3.8 KiB
PHP

@extends('layouts.app')
@section('title', 'Nieuw Wachtwoord Instellen | Jouwdriedee.nl')
@section('content')
<div class="min-h-[70vh] flex items-center justify-center py-12 px-4 sm:px-6 lg:px-8">
<div class="w-full max-w-sm space-y-6">
<!-- Header -->
<div class="text-center space-y-1.5">
<h1 class="text-2xl font-bold text-slate-900 tracking-tight">Nieuw wachtwoord</h1>
<p class="text-xs text-slate-500">Kies een nieuw en veilig wachtwoord voor je account</p>
</div>
<!-- Form Card -->
<div class="p-6 sm:p-7 rounded-2xl bg-white border border-slate-200/80 shadow-xs space-y-4">
<form action="{{ route('password.update') }}" method="POST" class="space-y-3.5">
@csrf
<input type="hidden" name="token" value="{{ $token }}">
<!-- E-mailadres -->
<div class="space-y-1">
<label for="email" class="block text-xs font-medium text-slate-700">E-mailadres</label>
<input
type="email"
name="email"
id="email"
value="{{ old('email', $email) }}"
required
readonly
class="w-full bg-slate-100 border border-slate-200 rounded-xl px-3.5 py-2 text-xs text-slate-600 font-medium cursor-not-allowed"
>
@error('email')
<p class="text-[11px] text-rose-600 mt-1">{{ $message }}</p>
@enderror
</div>
<!-- Nieuw Wachtwoord -->
<div class="space-y-1">
<label for="password" class="block text-xs font-medium text-slate-700">Nieuw wachtwoord (min. 8 tekens)</label>
<input
type="password"
name="password"
id="password"
required
autofocus
placeholder="••••••••"
class="w-full bg-slate-50 border border-slate-200 rounded-xl px-3.5 py-2 text-xs text-slate-900 focus:bg-white focus:outline-none focus:ring-2 focus:ring-slate-900/10 focus:border-slate-900 @error('password') border-rose-400 @enderror"
>
@error('password')
<p class="text-[11px] text-rose-600 mt-1">{{ $message }}</p>
@enderror
</div>
<!-- Bevestig Nieuw Wachtwoord -->
<div class="space-y-1">
<label for="password_confirmation" class="block text-xs font-medium text-slate-700">Bevestig nieuw wachtwoord</label>
<input
type="password"
name="password_confirmation"
id="password_confirmation"
required
placeholder="••••••••"
class="w-full bg-slate-50 border border-slate-200 rounded-xl px-3.5 py-2 text-xs text-slate-900 focus:bg-white focus:outline-none focus:ring-2 focus:ring-slate-900/10 focus:border-slate-900"
>
</div>
<!-- Submit Button -->
<div class="pt-2">
<button type="submit" class="w-full py-2.5 px-4 rounded-xl bg-slate-900 hover:bg-slate-800 text-white font-medium text-xs transition flex items-center justify-center space-x-2 shadow-xs cursor-pointer">
<span>Wachtwoord Opslaan</span>
</button>
</div>
</form>
</div>
</div>
</div>
@endsection