feat: Working on dehumidifier sizing, api and routes implemented, views are not complete.
This commit is contained in:
@@ -1,4 +1,6 @@
|
||||
import Elementary
|
||||
import ElementaryHTMX
|
||||
import Routes
|
||||
import Styleguide
|
||||
|
||||
struct MainPage<Inner: HTML>: SendableHTMLDocument where Inner: Sendable {
|
||||
@@ -68,7 +70,10 @@ private struct Header: HTML {
|
||||
}
|
||||
}
|
||||
li {
|
||||
a(.href("#"), .class("[&:hover]:border-b \(border: .yellow)")) {
|
||||
a(
|
||||
.class("[&:hover]:border-b \(border: .yellow)"),
|
||||
.hx.get(route: .dehumidifierSize(.index)), .hx.target("#content"), .hx.pushURL(true)
|
||||
) {
|
||||
"Dehumidifier-Sizing"
|
||||
}
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user