@using OrchardCore.Admin.Models
@using OrchardCore.DisplayManagement
@using OrchardCore.DisplayManagement.ModelBinding
@using OrchardCore.Entities
@using OrchardCore.Users.Models

<!DOCTYPE html>
<html lang="@Orchard.CultureName()" dir="@Orchard.CultureDir()">
<head>
    <meta charset="utf-8" />
    <meta name="viewport" content="width=device-width, initial-scale=1.0" />

    <title>@RenderTitleSegments(Site.SiteName, "before")</title>

    <resources type="Meta" />

    <link type="image/x-icon" rel="shortcut icon" href="~/Oap.Theme/assets/favicon.ico">

    <style asp-name="oaptheme-styles"></style>

    <resources type="HeadLink" />
    <resources type="Stylesheet" />
    <resources type="HeadScript" />

    @await RenderSectionAsync("HeadMeta", required: false)
</head>
<body>
    @await RenderSectionAsync("Header", required: false)
    
    <main class="container mx-auto flex flex-col max-w-screen-md p-6">
        @await RenderBodyAsync()
    </main>
    
    @await RenderSectionAsync("Footer", required: false)

    <resources type="FootScript" />

</body>
</html>
