Files
SkyArtShop/Sky_Art_shop/Views/Page/View.cshtml
Local Server 703ab57984 Fix admin route access and backend configuration
- 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
2025-12-13 22:34:11 -06:00

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>