working logo

This commit is contained in:
Rory Hinnen
2026-05-05 11:04:28 -05:00
parent 9f9da24157
commit bb739a5994
5 changed files with 122 additions and 33 deletions
+2
View File
@@ -0,0 +1,2 @@
.DS_Store
hinnen/Package.resolved
+40 -5
View File
@@ -1,11 +1,46 @@
import Foundation import Foundation
import Ignite import Ignite
struct logo: StaticPage { struct Logo: HTML {
var title = "Battlefleet: Scarus"
var body: some HTML { var body: some HTML {
Text(title) // ── Logo ──────────────────────────────────────────────────────────────
.font(.title1) // Simplified Underground logo using ZStack and SwiftUI-like modifiers
VStack {
ZStack {
// Red circle
Text("")
.frame(width: 190, height: 190)
.background(.red)
.cornerRadius(95)
.border(.black, width: 1)
// White circle
Text("")
.frame(width: 110, height: 110)
.background(.white)
.cornerRadius(55)
.border(.black, width: 1)
// Blue bar with "Hinnen"
VStack {
Spacer()
Text("Hinnen".uppercased())
.foregroundStyle(.white)
.font(.custom("Futura", size: 33))
Spacer()
}
.frame(width: 214, height: 40, alignment: .center)
.background(.blue)
.border(.black, width: 1)
.horizontalAlignment(.center)
}
// "Underground" label beneath
Text("Underground".uppercased())
.font(.custom("Futura", size: 25))
.frame(width: 214, alignment: .top)
.horizontalAlignment(.center)
}
.frame(width: 214)
} }
} }
+25
View File
@@ -0,0 +1,25 @@
//
// Mastodon.swift
// IgniteStarter
//
// Created by Rory on 5/5/26.
//
import Foundation
import Ignite
struct Mastodon: HTML {
var body: some HTML {
// ── Mastodon / rel=me links (hidden, for verification) ────────────────
Link("", target: "https://twit.social/@roryh")
.relationship(.me)
Link("", target: "https://mograph.social/@Roryhinnen")
.relationship(.me)
Link("", target: "https://cinematheque.social/@Rory")
.relationship(.me)
}
}
+10 -14
View File
@@ -1,18 +1,14 @@
// import Foundation
// SwiftUIView.swift import Ignite
// IgniteStarter
//
// Created by Rory on 5/3/26.
//
import SwiftUI struct Battlefleet: StaticPage {
var title = "Battlefleet: Scarus"
struct SwiftUIView: View {
var body: some View { var body: some HTML {
Text(/*@START_MENU_TOKEN@*/"Hello, World!"/*@END_MENU_TOKEN@*/) Text(title)
.font(.title1)
} }
} }
#Preview {
SwiftUIView()
}
+45 -14
View File
@@ -5,19 +5,50 @@ struct Home: StaticPage {
var title = "Hinnen Underground" var title = "Hinnen Underground"
var body: some HTML { var body: some HTML {
Text("Hinnen Underground") Group{
.font(.title1) Logo()
Link("Rory", target: "https://rory.hinnen.us") .horizontalAlignment(.center)
Link("Robin", target: "https://robin.hinnen.us") Grid(alignment: .center) {
Link("Robin's Cancer Blog", target: "https://bab.hinnen.us") Link("Rory", target: "https://rory.hinnen.us")
Link("MGA", target: "mga/") .linkStyle(.button)
Link("Drive In", target: "drive-in/") .width(4)
Link("Minecraft", target: "minecraft/") Link("Robin", target: "https://robin.hinnen.us")
Link("Legends of Dying Mars", target: "lods-dying-mars/") .linkStyle(.button)
Link("X-Wing Rules", target: "xwing/") .width(4)
Link("Adventures in Modern Coding", target: "modern-coding/") Link("Robin's Cancer Blog", target: "https://bab.hinnen.us")
Link("The Library", target: "library/") .linkStyle(.button)
Link("Archeological remains", target: "archeological-remains/") .width(4)
Link("Battlefleet: Sector Scarus", target: "battlefleet/") Link("MGA", target: "mga/")
.linkStyle(.button)
.width(4)
Link("Drive In", target: "drive-in/")
.linkStyle(.button)
.width(4)
Link("Minecraft", target: "minecraft/")
.linkStyle(.button)
.width(4)
Link("Legends of Dying Mars", target: "lods-dying-mars/")
.linkStyle(.button)
.width(4)
Link("X-Wing Rules", target: "xwing/")
.linkStyle(.button)
.width(4)
Link("Adventures in Modern Coding", target: "modern-coding/")
.linkStyle(.button)
.width(4)
Link("The Library", target: "library/")
.linkStyle(.button)
.width(4)
Link("Archeological remains", target: "archeological-remains/")
.linkStyle(.button)
.width(4)
Link("Battlefleet: Sector Scarus", target: Battlefleet())
.linkStyle(.button)
.width(4)
}
}
.frame(maxWidth: .percent(80%))
.horizontalAlignment(.center)
Mastodon()
} }
} }