diff --git a/hinnen/Sources/Pages/Adventures.swift b/hinnen/Sources/Pages/Adventures.swift new file mode 100644 index 0000000..1c42b29 --- /dev/null +++ b/hinnen/Sources/Pages/Adventures.swift @@ -0,0 +1,17 @@ +import Ignite + +struct Adventures: StaticPage { + var path = "/adventures" + let title: String + + init() { + self.title = "Adventures in Modern Coding" + } + + var body: some HTML { + VStack { + Logo(barTitle: "Adventures".uppercased(), underTitle: "in Modern Coding".uppercased()) + .horizontalAlignment(.center) + } + } +} diff --git a/hinnen/Sources/Pages/Home.swift b/hinnen/Sources/Pages/Home.swift index fb11a54..c3c44cf 100644 --- a/hinnen/Sources/Pages/Home.swift +++ b/hinnen/Sources/Pages/Home.swift @@ -18,15 +18,15 @@ struct Home: StaticPage { .width(4) Button(name: "MGA", link: "/mga/") .width(4) - Button(name: "Drive In", link: "/drive-in/") + Button(name: "Drive In", link: "/theatre/") .width(4) Button(name: "Minecraft", link: "https://treznzelore.hinnen.us") .width(4) - Button(name: "Legends of Dying Mars", link: "/dying-mars/") + Button(name: "Legends of Dying Mars", link: "/legends/") .width(4) Button(name: "X-Wing Rules", link: "/xwing/") .width(4) - Button(name: "Adventures in Modern Coding", link: "/modern-coding/") + Button(name: "Adventures in Modern Coding", link: "/adventures/") .width(4) Button(name: "The Library", link: "/library/") .width(4) diff --git a/hinnen/Sources/Pages/Legends.swift b/hinnen/Sources/Pages/Legends.swift new file mode 100644 index 0000000..9fa72a7 --- /dev/null +++ b/hinnen/Sources/Pages/Legends.swift @@ -0,0 +1,17 @@ +import Ignite + +struct Legends: StaticPage { + var path = "/legends" + let title: String + + init() { + self.title = "Legends of Dying Mars" + } + + var body: some HTML { + VStack { + Logo(barTitle: "Legends".uppercased(), underTitle: "of Dying Mars".uppercased()) + .horizontalAlignment(.center) + } + } +} diff --git a/hinnen/Sources/Pages/Library.swift b/hinnen/Sources/Pages/Library.swift index 59386a0..05c6a3c 100644 --- a/hinnen/Sources/Pages/Library.swift +++ b/hinnen/Sources/Pages/Library.swift @@ -1,10 +1,3 @@ -// -// Library.swift -// IgniteStarter -// -// Created by Rory on 5/5/26. -// - import Ignite struct Library: StaticPage { diff --git a/hinnen/Sources/Pages/MGA.swift b/hinnen/Sources/Pages/MGA.swift new file mode 100644 index 0000000..749091d --- /dev/null +++ b/hinnen/Sources/Pages/MGA.swift @@ -0,0 +1,17 @@ +import Ignite + +struct MGA: StaticPage { + var path = "/mga" + let title: String + + init() { + self.title = "MGA" + } + + var body: some HTML { + VStack { + Logo(barTitle: title, underTitle: "") + .horizontalAlignment(.center) + } + } +} diff --git a/hinnen/Sources/Pages/Theatre.swift b/hinnen/Sources/Pages/Theatre.swift new file mode 100644 index 0000000..7d374bf --- /dev/null +++ b/hinnen/Sources/Pages/Theatre.swift @@ -0,0 +1,17 @@ +import Ignite + +struct Theatre: StaticPage { + var path = "/theatre" + let title: String + + init() { + self.title = "Bel Aire Backyard Theatre" + } + + var body: some HTML { + VStack { + Logo(barTitle: "Bel Aire", underTitle: "Backyard Theatre") + .horizontalAlignment(.center) + } + } +} diff --git a/hinnen/Sources/Site.swift b/hinnen/Sources/Site.swift index 16930b8..d84db53 100644 --- a/hinnen/Sources/Site.swift +++ b/hinnen/Sources/Site.swift @@ -33,5 +33,9 @@ struct Hinnen: Site { var staticPages: [any StaticPage] { Battlefleet() Library() + Adventures() + Legends() + MGA() + Theatre() } }