- Added /admin redirect to login page in nginx config - Fixed backend server.js route ordering for proper admin handling - Updated authentication middleware and routes - Added user management routes - Configured PostgreSQL integration - Updated environment configuration
24 lines
600 B
Plaintext
24 lines
600 B
Plaintext
@model SkyArtShop.Models.Page
|
|
@{
|
|
ViewData["Title"] = Model.Title ?? Model.PageName;
|
|
ViewData["MetaDescription"] = Model.MetaDescription;
|
|
}
|
|
|
|
<section class="page-hero">
|
|
<div class="container">
|
|
<h1>@(Model.Title ?? Model.PageName)</h1>
|
|
@if (!string.IsNullOrEmpty(Model.Subtitle))
|
|
{
|
|
<p class="hero-subtitle">@Model.Subtitle</p>
|
|
}
|
|
</div>
|
|
</section>
|
|
|
|
<section class="page-content">
|
|
<div class="container">
|
|
<div class="content-wrapper">
|
|
@Html.Raw(Model.Content)
|
|
</div>
|
|
</div>
|
|
</section>
|