@extends("lucent::layouts.account")

@section("content")
    <div class="scope-login">
        <div class="bg-image">

        </div>
        <div class="login-form">
            <div class="form">
                <h2 class="mb-5">Welcome to Lucent</h2>

                <form hx-post="/lucent/verify" hx-redirect="/lucent" hx-target-error=".form-errors" >
                    <input type="hidden" value="{{$email}}" name="email" />
                    <input type="hidden" value="{{$token}}" name="token" />
                    @csrf
                        <x-lucent::button-indicator>
                            Enter as {{$email}}
                        </x-lucent::button-indicator>
                </form>
                <div class="form-errors"></div>
            </div>
        </div>
    </div>
@endsection