battlefleet updated

This commit is contained in:
Rory Hinnen
2026-05-11 07:25:44 -05:00
parent 0c918d6f9b
commit 4c47e691dd
32 changed files with 156 additions and 67 deletions
+15 -9
View File
@@ -19,15 +19,21 @@ struct Story: ArticlePage {
.cornerRadius(20)
.frame(maxHeight: 300)
}
if let tags = article.tags {
Section {
Text("Tagged with: \(tags.joined(separator: ", "))")
Text("\(article.estimatedWordCount) words; \(article.estimatedReadingMinutes) minutes to read.")
}
}
Text(article.text)
Divider()
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)
}
}