Managed page rendering

This commit is contained in:
2025-11-21 01:41:25 +08:00
parent 226a64df41
commit cad72502d9
2 changed files with 21 additions and 28 deletions

View File

@@ -8,12 +8,15 @@
<div class="h-screen flex justify-center items-center">
<div class="text-center max-w-96">
<img src="~/favicon.png" width="80" height="80" alt="Logo" class="mb-1 mx-auto"/>
<h1 class="text-2xl">Hello, World 👋</h1>
<h1 class="text-2xl">404 Not Found</h1>
<p>Here are the Solar Network Pages</p>
<p>And you're accessing the site <b>@ViewData["SiteName"]</b></p>
<p>And you're accessing the site <b>@(Model.SiteName ?? "main")</b></p>
<p class="text-sm opacity-80 mt-1">
The reason you're seeing this is the author of the site
haven't configure anything that match this route.
</p>
<div class="text-xs opacity-70 mt-1">
<p>Path: <b>@Model.CurrentPath</b> Site ID: <b>@(Model.Site?.Id.ToString() ?? "none")</b></p>
</div>
</div>
</div>