new Imperial article

This commit is contained in:
Rory Hinnen
2026-05-20 10:00:40 -05:00
parent f4d3d8eecd
commit 8eee736b6f
12 changed files with 86 additions and 17 deletions
+16 -10
View File
@@ -10,24 +10,30 @@ import Ignite
struct BattlefleetStory: ArticlePage {
var body: some HTML {
Text(article.title)
.font(.title1)
.horizontalAlignment(.center)
if let image = article.image {
Image(image, description: article.imageDescription)
.resizable()
}
Text(article.title)
.font(.title1)
.horizontalAlignment(.center)
Text(article.text)
if let tagLinks = article.tagLinks() {
HStack(spacing: .xSmall) {
ForEach(tagLinks) { link in
link.font(.title3)
Divider()
.padding(.bottom, 10)
Group {
HStack {
if let tags = article.tags {
Text("Tags: \(tags.joined(separator: ", "))")
}
Spacer()
Text("Length: \(article.estimatedWordCount) words/\(article.estimatedReadingMinutes) minutes to read.")
}
Text("Published: \(article.date)")
.horizontalAlignment(.center)
}
.foregroundStyle(.gray)
}
}
+11 -1
View File
@@ -17,7 +17,17 @@ struct Battlefleet: StaticPage {
Logo(barTitle: title, underTitle: subtitle)
.horizontalAlignment(.center)
VStack {
Link("Battlefleet Gothic Remastered Digital Rules", target: "/epubs/BattlefleetGothicDigitalRemaster.epub")
Image("images/rulebook.jpg", description: "The original \"Battlefleet: Gothic\" rulebook")
.width(300)
Text(markdown: """
_Battlefleet: Gothic_ was a set of rules published by Games Workshop in the late 90's. It was spaceship combat set in the _Warhammer: 40,000_ universe. In many ways an answer to the more technical and naval oriented _Starfleet Battles,_ BFG (as it is affectionately shorted by it's players) is more abstracted and atmospheric.
And frankly just a _hella lotta_™ fun.
The game was discontinued in the mid-2010's, but in the intervening years it has gained a very active and engaged community of players.
""")
Divider()
Link("Battlefleet: Gothic Remastered Digital Rules", target: "/epubs/BattlefleetGothicDigitalRemaster.epub")
Text(markdown: "The _Battlefleet: Gothic_ rules formatted for epub.")
}
.margin(.bottom, .medium)