feat: Initial filter pressure drop views, calculations need implemented.
This commit is contained in:
@@ -43,6 +43,12 @@ struct HomePage: HTML, Sendable {
|
||||
svg: .zap,
|
||||
route: .capacitor(.index)
|
||||
)
|
||||
group(
|
||||
label: "Filter Pressure Drop",
|
||||
description: FilterPressureDrop.description,
|
||||
svg: .funnel,
|
||||
route: .filterPressureDrop(.index)
|
||||
)
|
||||
}
|
||||
}
|
||||
|
||||
@@ -53,8 +59,7 @@ struct HomePage: HTML, Sendable {
|
||||
route: SiteRoute.View
|
||||
) -> some HTML {
|
||||
button(
|
||||
.hx.get(route: route),
|
||||
.hx.target("#content"),
|
||||
.hx.get(route: route), .hx.target("#content"), .hx.pushURL(true),
|
||||
.class("""
|
||||
w-full rounded-xl shadow-lg border border-blue-600 justify-items-start
|
||||
hover:bg-blue-600 hover:border-yellow-300 hover:text-yellow-300 transition-colors
|
||||
|
||||
Reference in New Issue
Block a user