Files
WMS/resources/views/livewire/auth/verify-email.blade.php
2026-09-21 10:14:57 +01:00

53 lines
2.8 KiB
PHP
Executable File

<x-layouts::auth :title="__('Email verification')">
<section
class="mx-auto w-full max-w-md overflow-hidden rounded-2xl border border-zinc-200 bg-white shadow-xl shadow-zinc-900/10 dark:border-zinc-800 dark:bg-zinc-950">
<div class="h-1.5 bg-gradient-to-r from-emerald-500 via-sky-500 to-blue-600"></div>
<div class="space-y-7 p-6 sm:p-8">
<div class="space-y-5 text-center">
<div
class="mx-auto flex h-14 w-14 items-center justify-center rounded-2xl bg-zinc-950 text-sm font-black text-white dark:bg-white dark:text-zinc-950">
WMS</div>
<div class="space-y-2">
<p class="text-xs font-semibold uppercase tracking-[0.24em] text-sky-700 dark:text-sky-300">
{{ __('Email verification') }}</p>
<h1 class="text-2xl font-bold tracking-tight text-zinc-950 dark:text-white">
{{ __('Confirm your account') }}</h1>
<p class="text-sm leading-6 text-zinc-600 dark:text-zinc-400">
{{ __('Verify your email address before accessing the WMS dashboard.') }}</p>
</div>
</div>
<div class="rounded-2xl border border-zinc-200 bg-zinc-50 p-5 dark:border-zinc-800 dark:bg-zinc-900/60">
<flux:text class="text-center leading-6">
{{ __('Please verify your email address by clicking on the link we just emailed to you.') }}
</flux:text>
@if (session('status') == 'verification-link-sent')
<div
class="mt-5 rounded-xl border border-emerald-200 bg-emerald-50 px-4 py-3 text-center text-sm font-semibold text-emerald-800 dark:border-emerald-900/60 dark:bg-emerald-950/40 dark:text-emerald-200">
{{ __('A new verification link has been sent to the email address you provided during registration.') }}
</div>
@endif
<div class="mt-6 flex flex-col gap-3">
<form method="POST" action="{{ route('verification.send') }}">
@csrf
<flux:button type="submit" variant="primary" class="w-full">
{{ __('Resend verification email') }}
</flux:button>
</form>
<form method="POST" action="{{ route('logout') }}">
@csrf
<flux:button variant="ghost" type="submit" class="w-full cursor-pointer text-sm"
data-test="logout-button">
{{ __('Log out') }}
</flux:button>
</form>
</div>
</div>
</div>
</section>
</x-layouts::auth>