working logo
This commit is contained in:
@@ -0,0 +1,2 @@
|
|||||||
|
.DS_Store
|
||||||
|
hinnen/Package.resolved
|
||||||
@@ -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)
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|||||||
@@ -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)
|
||||||
|
}
|
||||||
|
|
||||||
|
}
|
||||||
|
|||||||
@@ -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 HTML {
|
||||||
var body: some View {
|
Text(title)
|
||||||
Text(/*@START_MENU_TOKEN@*/"Hello, World!"/*@END_MENU_TOKEN@*/)
|
.font(.title1)
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
||||||
#Preview {
|
|
||||||
SwiftUIView()
|
|
||||||
}
|
|
||||||
|
|||||||
@@ -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()
|
||||||
|
.horizontalAlignment(.center)
|
||||||
|
Grid(alignment: .center) {
|
||||||
Link("Rory", target: "https://rory.hinnen.us")
|
Link("Rory", target: "https://rory.hinnen.us")
|
||||||
|
.linkStyle(.button)
|
||||||
|
.width(4)
|
||||||
Link("Robin", target: "https://robin.hinnen.us")
|
Link("Robin", target: "https://robin.hinnen.us")
|
||||||
|
.linkStyle(.button)
|
||||||
|
.width(4)
|
||||||
Link("Robin's Cancer Blog", target: "https://bab.hinnen.us")
|
Link("Robin's Cancer Blog", target: "https://bab.hinnen.us")
|
||||||
|
.linkStyle(.button)
|
||||||
|
.width(4)
|
||||||
Link("MGA", target: "mga/")
|
Link("MGA", target: "mga/")
|
||||||
|
.linkStyle(.button)
|
||||||
|
.width(4)
|
||||||
Link("Drive In", target: "drive-in/")
|
Link("Drive In", target: "drive-in/")
|
||||||
|
.linkStyle(.button)
|
||||||
|
.width(4)
|
||||||
Link("Minecraft", target: "minecraft/")
|
Link("Minecraft", target: "minecraft/")
|
||||||
|
.linkStyle(.button)
|
||||||
|
.width(4)
|
||||||
Link("Legends of Dying Mars", target: "lods-dying-mars/")
|
Link("Legends of Dying Mars", target: "lods-dying-mars/")
|
||||||
|
.linkStyle(.button)
|
||||||
|
.width(4)
|
||||||
Link("X-Wing Rules", target: "xwing/")
|
Link("X-Wing Rules", target: "xwing/")
|
||||||
|
.linkStyle(.button)
|
||||||
|
.width(4)
|
||||||
Link("Adventures in Modern Coding", target: "modern-coding/")
|
Link("Adventures in Modern Coding", target: "modern-coding/")
|
||||||
|
.linkStyle(.button)
|
||||||
|
.width(4)
|
||||||
Link("The Library", target: "library/")
|
Link("The Library", target: "library/")
|
||||||
|
.linkStyle(.button)
|
||||||
|
.width(4)
|
||||||
Link("Archeological remains", target: "archeological-remains/")
|
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()
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|||||||
Reference in New Issue
Block a user