@page "{Transaction_UID:guid}"
@model EnotaryoPH.Web.Pages.Participant.Registration.Steps.TakeSelfieModel
@section Head {
    <link href="\lib\fontawesome-free-6.7.1-web\css\all.min.css" rel="stylesheet" />
    <style>
        #Photo {
            height: 500px;
        }
    </style>
}


<section class="my-5">
    <div class="container">
        <div class="row">
            <div class="col">
                <h1>Notaryo Steps</h1>
                <div class="mt-3">
                    @await Component.InvokeAsync("NotaryoSteps", new
                        {
                            NotaryoSteps = new List<NotaryoStep>() {
                                new NotaryoStep { Name = "Upload Identification", Step = 1 },
                                new NotaryoStep { Name = "Take Selfie", Step = 2, IsActive = true }
                            }
                        })
                    <div class="tab-content mt-3"></div>
                </div>
                <form class="mt-3" method="post">
                    @await Component.InvokeAsync("TakeSelfieImage", new TakeSelfieImageModel { SelfieBase64Image = Model.SelfieBase64Image })
                </form>
            </div>
        </div>
    </div>
</section>


@section Scripts {
    <script src="~/lib/jquery/dist/jquery.min.js"></script>
    <partial name="_ValidationScriptsPartial" />
    <script src="\dist\_Jfa.js"></script>
    <script src="~/Pages/Principal/NotaryoSteps/TakeSelfie.cshtml.js" asp-append-version="true"></script>
}