Full page content, fixes, cleaner settings

This commit is contained in:
Christoph Hagen
2024-12-13 11:26:34 +01:00
parent efc9234917
commit b3b8c9a610
50 changed files with 1351 additions and 607 deletions

View File

@ -0,0 +1,14 @@
struct ContentBox: HtmlProducer {
let title: String
let text: String
func populate(_ result: inout String) {
result += "<div class='box'>"
result += "<span class='title'>\(title)</span>"
result += "<p>\(text)</p>"
result += "</div>"
}
}