// Components import { store } from '@/actions/App/Http/Controllers/Auth/EmailVerificationNotificationController'; import { logout } from '@/routes'; import { Form, Head } from '@inertiajs/react'; import { LoaderCircle } from 'lucide-react'; import TextLink from '@/components/text-link'; import { Button } from '@/components/ui/button'; import AuthLayout from '@/layouts/auth-layout'; export default function VerifyEmail({ status }: { status?: string }) { const isNewRegistration = status === 'registration-success'; const description = isNewRegistration ? 'Thanks! Please confirm your email address to access your dashboard.' : 'Please verify your email address by clicking on the link we just emailed to you.'; return ( {isNewRegistration && (

Almost there! Confirm your email address to start using Fotospiel.

We just sent a confirmation message to your inbox. As soon as you click the link you will be taken straight to your dashboard.

Can't find it? Check your spam folder or request a new link below.

)} {status === 'verification-link-sent' && (
We have sent the verification link again. Please also check your spam folder.
)}
{({ processing }) => ( <> Log out )}
); }