Zone site placeholder

This commit is contained in:
2025-11-19 23:14:22 +08:00
parent 1b774c1de6
commit 8e5cdfbc62
7 changed files with 13 additions and 22 deletions

View File

@@ -2,11 +2,14 @@
@model IndexModel
@{
ViewData["Title"] = "Solar Network Pages";
ViewData["SiteName"] = Request.Headers.TryGetValue("X-SiteName", out var val) ? val : "main";
}
<div class="h-screen flex justify-center items-center">
<div class="text-center">
<h1 class="text-2xl">Hello, World!</h1>
<button class="btn btn-primary">Say Ciallo!</button>
<img src="~/favicon.png" width="80" height="80" alt="Logo" class="mb-1 mx-auto" />
<h1 class="text-2xl">Hello, World 👋</h1>
<p>Here are the Solar Network Pages construction site</p>
<p>And you're accessing the site <b>@ViewData["SiteName"]</b></p>
</div>
</div>

View File

@@ -1,8 +0,0 @@
@page
@model PrivacyModel
@{
ViewData["Title"] = "Privacy Policy";
}
<h1>@ViewData["Title"]</h1>
<p>Use this page to detail your site's privacy policy.</p>

View File

@@ -1,11 +0,0 @@
using Microsoft.AspNetCore.Mvc;
using Microsoft.AspNetCore.Mvc.RazorPages;
namespace DysonNetwork.Zone.Pages;
public class PrivacyModel : PageModel
{
public void OnGet()
{
}
}

View File

@@ -8,6 +8,7 @@
<script defer src="https://cdn.jsdelivr.net/npm/alpinejs@3.x.x/dist/cdn.min.js"></script>
<link rel="stylesheet" href="~/css/site.dist.css" asp-append-version="true"/>
<link rel="stylesheet" href="~/DysonNetwork.Zone.styles.css" asp-append-version="true"/>
<link rel="icon" type="image/png" href="~/favicon.png" />
</head>
<body>

View File

@@ -1,3 +1,5 @@
@import url('https://fonts.googleapis.com/css2?family=Nunito:ital,wght@0,200..1000;1,200..1000&display=swap');
@import "tailwindcss";
@plugin "daisyui";
@@ -5,4 +7,8 @@
@import "tailwindcss/theme.css" layer(theme);
@import "tailwindcss/preflight.css" layer(base);
@import "tailwindcss/utilities.css" layer(utilities);
@import "tailwindcss/utilities.css" layer(utilities);
@theme {
--font-sans: 'Nunito', ui-sans-serif, system-ui, sans-serif, 'Apple Color Emoji', 'Segoe UI Emoji', 'Segoe UI Symbol', 'Noto Color Emoji';
}

Binary file not shown.

Before

Width:  |  Height:  |  Size: 5.3 KiB

Binary file not shown.

After

Width:  |  Height:  |  Size: 70 KiB