import { Link, useForm, Head } from '@inertiajs/react'; import classNames from 'classnames'; import React from 'react'; import useRoute from '@/Hooks/useRoute'; import AuthenticationCard from '@/Components/AuthenticationCard'; import PrimaryButton from '@/Components/PrimaryButton'; interface Props { status: string; } export default function VerifyEmail({ status }: Props) { const route = useRoute(); const form = useForm({}); const verificationLinkSent = status === 'verification-link-sent'; function onSubmit(e: React.FormEvent) { e.preventDefault(); form.post(route('verification.send')); } return (
Before continuing, could you verify your email address by clicking on the link we just emailed to you? If you didn't receive the email, we will gladly send you another.
{verificationLinkSent && (
A new verification link has been sent to the email address you provided during registration.
)}
Resend Verification Email
Edit Profile
Log Out
); }