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 Ignite
struct logo: StaticPage {
var title = "Battlefleet: Scarus"
struct Logo: HTML {
var body: some HTML {
Text(title)
.font(.title1)
// ── Logo ──────────────────────────────────────────────────────────────
// 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)
}
}
+9 -13
View File
@@ -1,18 +1,14 @@
//
// SwiftUIView.swift
// IgniteStarter
//
// Created by Rory on 5/3/26.
//
import Foundation
import Ignite
import SwiftUI
struct Battlefleet: StaticPage {
var title = "Battlefleet: Scarus"
struct SwiftUIView: View {
var body: some View {
Text(/*@START_MENU_TOKEN@*/"Hello, World!"/*@END_MENU_TOKEN@*/)
var body: some HTML {
Text(title)
.font(.title1)
}
}
#Preview {
SwiftUIView()
}
+34 -3
View File
@@ -5,19 +5,50 @@ struct Home: StaticPage {
var title = "Hinnen Underground"
var body: some HTML {
Text("Hinnen Underground")
.font(.title1)
Group{
Logo()
.horizontalAlignment(.center)
Grid(alignment: .center) {
Link("Rory", target: "https://rory.hinnen.us")
.linkStyle(.button)
.width(4)
Link("Robin", target: "https://robin.hinnen.us")
.linkStyle(.button)
.width(4)
Link("Robin's Cancer Blog", target: "https://bab.hinnen.us")
.linkStyle(.button)
.width(4)
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/")
Link("Battlefleet: Sector Scarus", target: "battlefleet/")
.linkStyle(.button)
.width(4)
Link("Battlefleet: Sector Scarus", target: Battlefleet())
.linkStyle(.button)
.width(4)
}
}
.frame(maxWidth: .percent(80%))
.horizontalAlignment(.center)
Mastodon()
}
}