@page
@model TaxBaik.Web.Pages.Admin.Blog.CreateModel
@{
    ViewData["Title"] = "블로그 등록";
    ViewData["BlogCategories"] = Model.Categories;
}

<section class="admin-page-shell">
    @await Html.PartialAsync("_AdminPageHeader", new TaxBaik.Web.Models.AdminPageHeaderModel("콘텐츠", "새 글 작성", "블로그 글을 등록합니다.", null, null))

    <div class="card">
        <div class="card-body">
            @await Html.PartialAsync("_BlogEditor", new TaxBaik.Web.Pages.Shared.BlogEditorModel(
                Model.Input.Title,
                Model.Input.Content,
                Model.Input.CategoryId,
                Model.Input.IsPublished,
                Model.Input.ThumbnailUrl,
                Model.Input.SeoTitle,
                Model.Input.SeoDescription,
                false))
        </div>
    </div>
</section>

@section Scripts {
    <script src="~/js/admin-blog-editor.js" asp-append-version="true"></script>
}









