@inject Microsoft.AspNetCore.Http.IHttpContextAccessor HttpContextAccessor
@{
    var viewModel = HttpContextAccessor.HttpContext.Items["layoutViewModel"] as bitforum.Models.LayoutViewModel;
}
<!DOCTYPE html>
<html lang="ko">
<head>
    <meta charset="utf-8" />
    <meta name="viewport" content="width=device-width, initial-scale=1.0" />
    <title>@ViewData["Title"] - @viewModel.AppConfig.AppName</title>

    <meta name="description" content="bitforum.io 관리자 영역입니다. 외부인은 이용이 불가합니다." />
    <meta name="author" content="www.playr.co.kr" />
    <meta name="copyright" content="playr, 2025" />
    <meta name="referrer" content="no-referrer">

    <meta http-equiv="X-UA-Compatible" content="IE=edge" />
    <meta http-equiv="Content-Type" content="text/html; charset=UTF-8" />
    <meta http-equiv="Content-Language" content="ko" />
    <meta http-equiv="Cache-Control" content="no-cache, no-store, must-revalidate" />
    <meta http-equiv="Pragma" content="no-cache" />
    <meta http-equiv="Expires" content="0" />

    <meta name="robots" content="noindex, nofollow" />
    <link rel="stylesheet" href="~/node_modules/bootstrap/dist/css/bootstrap.min.css" />
    <link rel="stylesheet" href="~/node_modules/bootstrap-icons/font/bootstrap-icons.min.css" />

    @await RenderSectionAsync("Styles", required: false)
</head>
<body>
    
    <!-- 우측 -->
    <main id="main" class="container-fluid">
        <!-- 내용 -->
        @RenderBody()
    </main>

    <script src="~/node_modules/jquery/dist/jquery.min.js"></script>
    <script src="~/node_modules/jquery-validation/dist/jquery.validate.min.js"></script>
    <script src="~/node_modules/jquery-validation/dist/additional-methods.min.js"></script>
    <script src="~/node_modules/bootstrap/dist/js/bootstrap.bundle.min.js"></script>
    <script src="~/js/func.js" asp-append-version="true"></script>

    @await RenderSectionAsync("Scripts", required: false)
</body>
</html>
