@extends('layouts.auth')
@section('title')
   {{__('messages.email_verification')}}
@endsection
@section('content')
    <div class="container my-auto">
        <div class="col-12 text-center">
            <a href="{{ route('frontHome') }}" class="image mb-7 mb-sm-10">
                <img alt="Logo" src="{{ asset(getSettingData()['logo']) }}" class="logo" loading="lazy">
            </a>
        </div>
        <div class="width-540 mx-auto">
            @include('layouts.errors')
            @if (session('status') == 'verification-link-sent')
                @include('flash::message')
            @endif
        </div>
        <div class="bg-white rounded-15 shadow-md width-540 px-5 px-sm-7 py-10 mx-auto">
            <h1 class="text-center mb-4"></h1>
            <div class="fs-4 mb-4 text-center mb-5">
                {{ __('messages.success_message.email_resent_successfully') }}
            </div>

            <div class="row">
                <div class="form-group col-sm-12 d-flex text-start align-items-center justify-content-center">
                    <form method="POST" action="{{ route('verification.send') }}">
                        @csrf
                        <div>
                            <button type="submit" class="btn btn-primary">
                                <span class="indicator-label">{{ __('messages.resend_verification_email') }}</span>
                            </button>
                        </div>
                    </form>

                    <form method="POST" action="{{ route('logout') }}">
                        @csrf

                        <button type="submit" class="btn btn-secondary my-0 ms-5 me-0">
                           {{ __('messages.logout') }}
                        </button>
                    </form>
                </div>
            </div>
        </div>
    </div>
@endsection
