From 5132fd8ca2c1bd9d5ed0d8beceacfa28dd36708f Mon Sep 17 00:00:00 2001
From: 6d486f49 <76097bcc@gmail.com>
Date: Tue, 19 May 2026 12:23:38 -0400
Subject: [PATCH] Stubbed Home UI
---
AOW4/Components/Layout/MainLayout.razor | 4 -
AOW4/Components/Pages/Home.razor | 183 +++++++++++++++++++++++-
AOW4/Data/SectionData.cs | 38 +++++
AOW4/Data/SectionModels.cs | 15 ++
4 files changed, 233 insertions(+), 7 deletions(-)
create mode 100644 AOW4/Data/SectionData.cs
create mode 100644 AOW4/Data/SectionModels.cs
diff --git a/AOW4/Components/Layout/MainLayout.razor b/AOW4/Components/Layout/MainLayout.razor
index 78624f3..becbe87 100644
--- a/AOW4/Components/Layout/MainLayout.razor
+++ b/AOW4/Components/Layout/MainLayout.razor
@@ -1,10 +1,6 @@
@inherits LayoutComponentBase
-
-
About
diff --git a/AOW4/Components/Pages/Home.razor b/AOW4/Components/Pages/Home.razor
index 9001e0b..117d9e1 100644
--- a/AOW4/Components/Pages/Home.razor
+++ b/AOW4/Components/Pages/Home.razor
@@ -1,7 +1,184 @@
@page "/"
+@using AOW4.Data
-
Home
+
+
Welcome to AOW4
+
Explore our tools and resources
-
Hello, world!
+
+ @foreach (var section in sections)
+ {
+
+
-Welcome to your new app.
+
+ @if (section.Links.Any())
+ {
+
+ }
+ else
+ {
+
Coming soon...
+ }
+
+
+ }
+
+
+
+@code {
+ private List
sections = new();
+
+ protected override void OnInitialized()
+ {
+ sections = SectionsData.GetAllSections();
+ }
+}
+
+
diff --git a/AOW4/Data/SectionData.cs b/AOW4/Data/SectionData.cs
new file mode 100644
index 0000000..be42ba2
--- /dev/null
+++ b/AOW4/Data/SectionData.cs
@@ -0,0 +1,38 @@
+namespace AOW4.Data;
+
+public static class SectionsData
+{
+ public static List GetAllSections()
+ {
+ return new List
+ {
+ new Section
+ {
+ Name = "Calculators",
+ Description = "Useful calculator tools for various computations",
+ Links = new List
+ {
+ // Add calculator links here in the future
+ }
+ },
+ new Section
+ {
+ Name = "References",
+ Description = "Reference materials and documentation",
+ Links = new List
+ {
+ // Add reference links here in the future
+ }
+ },
+ new Section
+ {
+ Name = "Learning",
+ Description = "Educational resources and learning materials",
+ Links = new List
+ {
+ // Add learning links here in the future
+ }
+ }
+ };
+ }
+}
diff --git a/AOW4/Data/SectionModels.cs b/AOW4/Data/SectionModels.cs
new file mode 100644
index 0000000..aa20c0b
--- /dev/null
+++ b/AOW4/Data/SectionModels.cs
@@ -0,0 +1,15 @@
+namespace AOW4.Data;
+
+public class SectionLink
+{
+ public string Title { get; set; } = string.Empty;
+ public string Url { get; set; } = string.Empty;
+ public string? Description { get; set; }
+}
+
+public class Section
+{
+ public string Name { get; set; } = string.Empty;
+ public string? Description { get; set; }
+ public List Links { get; set; } = new();
+}