@{
    Layout = "_Blank";
}

@section Head {
    @RenderSection("Head", required: false)
}

<header>
    <nav class="navbar navbar-expand-md bg-dark py-3 navbar-dark">
        <div class="container">
            <a class="navbar-brand d-flex align-items-center" href="/">
                <span class="bs-icon-sm text-white d-flex justify-content-center align-items-center me-2 bs-icon">
                    <svg xmlns="http://www.w3.org/2000/svg" width="1em" height="1em" fill="currentColor" viewBox="0 0 16 16" class="bi bi-pen">
                        <path d="m13.498.795.149-.149a1.207 1.207 0 1 1 1.707 1.708l-.149.148a1.5 1.5 0 0 1-.059 2.059L4.854 14.854a.5.5 0 0 1-.233.131l-4 1a.5.5 0 0 1-.606-.606l1-4a.5.5 0 0 1 .131-.232l9.642-9.642a.5.5 0 0 0-.642.056L6.854 4.854a.5.5 0 1 1-.708-.708L9.44.854A1.5 1.5 0 0 1 11.5.796a1.5 1.5 0 0 1 1.998-.001m-.644.766a.5.5 0 0 0-.707 0L1.95 11.756l-.764 3.057 3.057-.764L14.44 3.854a.5.5 0 0 0 0-.708l-1.585-1.585z"></path>
                    </svg>
                </span><span>Enotaryo</span>
            </a><button data-bs-toggle="collapse" class="navbar-toggler" data-bs-target="#collapse-button"><span class="visually-hidden">Toggle navigation</span><span class="navbar-toggler-icon"></span></button>
            <div class="collapse navbar-collapse" id="collapse-button">
                <ul class="navbar-nav ms-auto">
                    <li class="nav-item"><a class="nav-link active" href="/">Home</a></li>
                </ul>
                @if (User.Identity?.IsAuthenticated ?? false)
                {
                    <a class="btn btn-primary ms-md-2" role="button" href="/Login?handler=Logout" data-bs-toggle="tooltip" data-bss-tooltip data-bs-placement="bottom" title="@User.Identity.Name">Logout</a>
                }
                else
                {
                    <a class="btn btn-primary ms-md-2" role="button" href="/Login">Login</a>
                }
            </div>
        </div>
    </nav>
</header>

<main>
    <div id="ContainerAlert" class="container"></div>
    @RenderBody()
    <partial name="_AntiForgeryPartial.cshtml" />
</main>

<footer class="text-center">
    <div class="container-fluid text-muted py-4 py-lg-5">
        <ul class="list-inline">
            <li class="list-inline-item me-4"><a class="link-secondary" href="blank.html">Privacy</a></li>
            <li class="list-inline-item me-4"><a class="link-secondary" href="blank.html">FAQ</a></li>
            <li class="list-inline-item me-4"><a class="link-secondary" href="contactus.html">Contact Us</a></li>
            <li class="list-inline-item me-4"><a class="link-secondary" href="contactus.html">Found a bug?</a></li>
        </ul>
        <p class="mb-0">Copyright © 2024 Enotaryo</p>
    </div>
</footer>

@section Scripts {
    @RenderSection("Scripts", required: false)
}



