summaryrefslogtreecommitdiff
path: root/SovereignDemesneAzure/SovereignDemesneRazor/Pages/Index.cshtml
diff options
context:
space:
mode:
authorDustin Walker <dustin.walker@email.wsu.edu>2025-09-22 16:20:09 -0400
committerDustin Walker <dustin.walker@email.wsu.edu>2025-09-22 16:20:09 -0400
commit1bd40ef64a47ed668a5bbf132f144bf0d2e3a251 (patch)
treeedf9a5aff73270705b7dfbded34aec6ecd245bd2 /SovereignDemesneAzure/SovereignDemesneRazor/Pages/Index.cshtml
parentda01a2bf50d3f88f163f70c7d4d2933682c83c20 (diff)
home page done
Diffstat (limited to 'SovereignDemesneAzure/SovereignDemesneRazor/Pages/Index.cshtml')
-rw-r--r--SovereignDemesneAzure/SovereignDemesneRazor/Pages/Index.cshtml57
1 files changed, 53 insertions, 4 deletions
diff --git a/SovereignDemesneAzure/SovereignDemesneRazor/Pages/Index.cshtml b/SovereignDemesneAzure/SovereignDemesneRazor/Pages/Index.cshtml
index f9ff8d4..7c36f96 100644
--- a/SovereignDemesneAzure/SovereignDemesneRazor/Pages/Index.cshtml
+++ b/SovereignDemesneAzure/SovereignDemesneRazor/Pages/Index.cshtml
@@ -1,10 +1,59 @@
@page
@model IndexModel
@{
- ViewData["Title"] = "Home page";
+ ViewData["Title"] = "Home";
}
-<div class="text-center">
- <h1 class="display-4">Welcome</h1>
- <p>Learn about <a href="https://learn.microsoft.com/aspnet/core">building Web apps with ASP.NET Core</a>.</p>
+<div class="container">
+ <div class="row align-items-start mb-4">
+ <aside class="col-12 col-md-6 mb-3 text-center">
+ <img src="~/img/mainstreet.png" class="img-fluid rounded shadow-sm" style="max-height:130px;" alt="Site banner" loading="lazy" />
+ <img src="~/img/harvest.png" class="img-fluid rounded shadow-sm" style="max-height:130px;" alt="Site banner" loading="lazy" />
+ <img src="~/img/landscape.png" class="img-fluid rounded shadow-sm" style="max-height:130px;" alt="Site banner" loading="lazy" />
+ </aside>
+ <section class="col-12 col-md-6 mb-3">
+ <h4 class="h4">York County, Pennsylvania</h4>
+ <p>The source for this website can be found at <a href="https://git.dwalker.xyz/sovereign-demesne-azure.git">git.dwalker.xyz</a>. Licensed under <a href="https://git.dwalker.xyz/sovereign-demesne.git/tree/LICENSE">GPLv3</a>.</p>
+ <p><b>Council Members:</b> A mumble server is up in case of emergency meetings. We also have <a href="https://rss.dwalker.xyz">RSS management</a> and an <a href="https://bridge.dwalker.xyz">RSS bridge</a> to populate it.</p>
+ </section>
+ </div>
+
+ <div class="row g-4">
+ @foreach (IndexModel.LinkSection section in Model.Sections)
+ {
+ <section class="col-12 col-md-6">
+ <h2 class="h5 text-center">@(section.Title)</h2>
+ <hr/>
+ <ul class="list-unstyled link-columns">
+ @foreach (IndexModel.LinkItem link in section.Links)
+ {
+ <li class="mb-2">
+ <a class="link-light" href="@link.Url">@link.Text</a>
+ @if (!string.IsNullOrWhiteSpace(link.Description))
+ {
+ <div class="text-body-secondary small">@link.Description</div>
+ }
+ </li>
+ }
+ </ul>
+ </section>
+ }
+ </div>
+ <br/>
+ <div class="row g-4">
+ <h2 class="h5 text-center">@Model.LargeSection.Title</h2>
+ <hr/>
+ <ul class="list-unstyled link-columns-big">
+ @foreach (IndexModel.LinkItem link in Model.LargeSection.Links)
+ {
+ <li class="mb-2">
+ <a class="link-light" href="@link.Url">@link.Text</a>
+ @if (!string.IsNullOrWhiteSpace(link.Description))
+ {
+ <div class="text-body-secondary small">@link.Description</div>
+ }
+ </li>
+ }
+ </ul>
+ </div>
</div>