feat: Initial filter pressure drop views, calculations need implemented.

This commit is contained in:
2025-03-02 21:51:52 -05:00
parent a8022ec80a
commit 67488e06a9
17 changed files with 610 additions and 97 deletions

View File

@@ -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