add skeleton pages

This commit is contained in:
Rory Hinnen
2026-05-06 08:49:26 -05:00
parent a0ffd0f887
commit 1e9b44a7e2
7 changed files with 75 additions and 10 deletions
+17
View File
@@ -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)
}
}
}
+3 -3
View File
@@ -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)
+17
View File
@@ -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)
}
}
}
-7
View File
@@ -1,10 +1,3 @@
//
// Library.swift
// IgniteStarter
//
// Created by Rory on 5/5/26.
//
import Ignite
struct Library: StaticPage {
+17
View File
@@ -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)
}
}
}
+17
View File
@@ -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)
}
}
}
+4
View File
@@ -33,5 +33,9 @@ struct Hinnen: Site {
var staticPages: [any StaticPage] {
Battlefleet()
Library()
Adventures()
Legends()
MGA()
Theatre()
}
}