feat: Renames quick calc routes / views to ductulator. Adds button to home page for using ductulator, needs added to navbar still.

This commit is contained in:
2026-02-09 16:36:24 -05:00
parent 007d13be2f
commit 06b663052e
10 changed files with 235 additions and 137 deletions

View File

@@ -1,4 +1,6 @@
import Elementary
import ElementaryHTMX
import ManualDCore
public struct SubmitButton: HTML, Sendable {
let title: String
@@ -74,3 +76,17 @@ public struct TrashButton: HTML, Sendable {
}
}
}
public struct DuctulatorButton: HTML, Sendable {
public init() {}
public var body: some HTML<HTMLTag.a> {
a(
.class("btn"),
.href(route: .ductulator(.index)),
.target(.blank)
) {
"Ductulator"
}
}
}