summaryrefslogtreecommitdiff
path: root/SovereignDemesneAzure/SovereignDemesneRazor/Pages/Index.cshtml.cs
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.cs
parentda01a2bf50d3f88f163f70c7d4d2933682c83c20 (diff)
home page done
Diffstat (limited to 'SovereignDemesneAzure/SovereignDemesneRazor/Pages/Index.cshtml.cs')
-rw-r--r--SovereignDemesneAzure/SovereignDemesneRazor/Pages/Index.cshtml.cs44
1 files changed, 43 insertions, 1 deletions
diff --git a/SovereignDemesneAzure/SovereignDemesneRazor/Pages/Index.cshtml.cs b/SovereignDemesneAzure/SovereignDemesneRazor/Pages/Index.cshtml.cs
index 1dc7a2e..150a657 100644
--- a/SovereignDemesneAzure/SovereignDemesneRazor/Pages/Index.cshtml.cs
+++ b/SovereignDemesneAzure/SovereignDemesneRazor/Pages/Index.cshtml.cs
@@ -6,6 +6,12 @@ public sealed class IndexModel : PageModel
{
private readonly ILogger<IndexModel> _logger;
+ public record LinkItem(string Text, string Url, string? Description = null);
+ public record LinkSection(string Title, IReadOnlyList<LinkItem> Links);
+
+ public IReadOnlyList<LinkSection> Sections { get; private set; } = default!;
+ public LinkSection LargeSection { get; private set; } = default!;
+
public IndexModel(ILogger<IndexModel> logger)
{
_logger = logger;
@@ -13,6 +19,42 @@ public sealed class IndexModel : PageModel
public void OnGet()
{
-
+ Sections =
+ [
+ new LinkSection("Content",
+ [
+ new LinkItem("Code", "https://git.dwalker.xyz"),
+ new LinkItem("Web Feed", "https://rss.dwalker.xyz"),
+ new LinkItem("RSS Bridge", "https://bridge.dwalker.xyz"),
+ new LinkItem("Budget", "https://budget.dwalker.xyz"),
+ new LinkItem("FoundryVTT", "https://foundry.dwalker.xyz"),
+ ]),
+ new LinkSection("Links",
+ [
+ new LinkItem("Build your own Website", "https://landchad.net"),
+ new LinkItem("Grand Sumo", "https://www.sumo.or.jp/En/"),
+ new LinkItem("Suckless Software", "https://suckless.org"),
+ new LinkItem("Weather", "https://wttr.in"),
+ new LinkItem("1MB Club", "https://1mb.club"),
+ new LinkItem("Translations", "https://simplytranslate.org"),
+ new LinkItem("Homesteader's Chronicle", "https://thehomesteaderschronicle.com/"),
+ new LinkItem("Luke Smith", "https://lukesmith.xyz"),
+ ]),
+ ];
+ LargeSection = new LinkSection("Local Goods & Services",
+ [
+ new LinkItem("Brown's Orchard", "https://brownsorchards.com"),
+ new LinkItem("Godfrey Brothers Meats", "https://godfreymeats.com"),
+ new LinkItem("Hiwwe wie Driwwe", "https://hiwwe-wie-driwwe.com/"),
+ new LinkItem("Maple Lawn Farms", "https://maplelawnfarms.com/"),
+ new LinkItem("Miller Plant Farm", "https://millerplantfarm.com"),
+ new LinkItem("Christmastime in Loganville", "https://christmastimeinloganville.com"),
+ new LinkItem("Perrydell Dairy Farm", "https://perrydellfarm.com"),
+ new LinkItem("Roburritos", "https://roburritos.com"),
+ new LinkItem("Shaw Orchards", "http://shaworchards.com"),
+ new LinkItem("Sonnewald Natural Goods", "https://sonnewald.org"),
+ new LinkItem("Jeff's Subs", "https://jeffssubs.com"),
+ new LinkItem("Flinchbaugh's Farm Market", "https://flinchbaughsorchard.com"),
+ ]);
}
}