@extends('website.layouts.app')

@section('content')
    <div class="container py-4 text-center">
        <h3>Verify Your Email Address</h3>
        <p>We have sent a verification link to your email.</p>
        <p>If you didn't receive the email, click below to resend:</p>

        @if (session('status') == 'verification-link-sent')
            <p class="text-success">A new verification link has been sent to your email address.</p>
        @endif

        <form id="verificationSend">
            @csrf
            {{-- {{ $email }} --}}
            <input type="hidden" value="{{ $email }}" name="email">
            <button type="submit" class="btn " style="font-size: 13px; background-color:#8b0000; color:#fff;">Resend
                Verification Email</button>
        </form>
        {{-- <form method="POST" action="{{ route('verification.send') }}">
            @csrf
            <button type="submit" class="btn " style="font-size: 13px; background-color:#8b0000; color:#fff;">Resend Verification Email</button>
        </form> --}}
    </div>
@endsection
