Files
newznab-tmux/resources/views/auth/verify-email.blade.php
T
2026-03-26 10:48:12 +01:00

42 lines
1.9 KiB
PHP

@extends('layouts.guest')
@section('content')
<div class="min-h-screen flex items-center justify-center bg-gray-100 dark:bg-gray-900 px-4">
<div class="w-full max-w-md bg-white dark:bg-gray-800 shadow-md rounded-lg p-8 space-y-6">
<div class="space-y-2 text-center">
<h1 class="text-2xl font-semibold text-gray-900 dark:text-gray-100">Verify your email address</h1>
<p class="text-sm text-gray-600 dark:text-gray-300">
Before continuing, please check your inbox for the verification link we emailed to you.
</p>
</div>
@if (session('status') === 'resent')
<div class="rounded-md bg-green-50 dark:bg-green-900/30 p-4 text-sm text-green-700 dark:text-green-200">
A fresh verification link has been sent to your email address.
</div>
@endif
<form method="POST" action="{{ route('verification.send') }}" class="space-y-4">
@csrf
<button
type="submit"
class="w-full inline-flex justify-center rounded-md bg-blue-600 px-4 py-2 text-sm font-semibold text-white hover:bg-blue-500 focus:outline-none focus:ring-2 focus:ring-blue-500 focus:ring-offset-2"
>
Resend verification email
</button>
</form>
<form method="POST" action="{{ route('logout') }}">
@csrf
<button
type="submit"
class="w-full inline-flex justify-center rounded-md border border-gray-300 dark:border-gray-600 px-4 py-2 text-sm font-medium text-gray-700 dark:text-gray-200 hover:bg-gray-50 dark:hover:bg-gray-700"
>
Sign out
</button>
</form>
</div>
</div>
@endsection