add skeleton pages
This commit is contained in:
@@ -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)
|
||||
}
|
||||
}
|
||||
}
|
||||
@@ -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)
|
||||
|
||||
@@ -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)
|
||||
}
|
||||
}
|
||||
}
|
||||
@@ -1,10 +1,3 @@
|
||||
//
|
||||
// Library.swift
|
||||
// IgniteStarter
|
||||
//
|
||||
// Created by Rory on 5/5/26.
|
||||
//
|
||||
|
||||
import Ignite
|
||||
|
||||
struct Library: StaticPage {
|
||||
|
||||
@@ -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)
|
||||
}
|
||||
}
|
||||
}
|
||||
@@ -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)
|
||||
}
|
||||
}
|
||||
}
|
||||
@@ -33,5 +33,9 @@ struct Hinnen: Site {
|
||||
var staticPages: [any StaticPage] {
|
||||
Battlefleet()
|
||||
Library()
|
||||
Adventures()
|
||||
Legends()
|
||||
MGA()
|
||||
Theatre()
|
||||
}
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user