feat: Adds grid / nav links to home page.
This commit is contained in:
@@ -59,17 +59,17 @@ private struct Header: HTML {
|
||||
.attributes(.class("group-hover:text-blue-600"))
|
||||
}
|
||||
}
|
||||
nav(.class("flex flex-row gap-2 p-2 mt-2")) {
|
||||
// TODO: Add class active, to button that is the active route.
|
||||
ul(.class("flex flex-wrap gap-x-2 lg:gap-x-5 \(text: .yellow) font-bold")) {
|
||||
navLink(label: "Mold-Risk", route: .moldRisk(.index))
|
||||
navLink(label: "Dehumidifier-Sizing", route: .dehumidifierSize(.index))
|
||||
navLink(label: "HVAC-System-Performance", route: .hvacSystemPerformance(.index))
|
||||
navLink(label: "Room-Pressure", route: .roomPressure(.index))
|
||||
navLink(label: "Capcitor-Calculator", route: .capacitor(.index))
|
||||
navLink(label: "Attic-Ventilation", route: .atticVentilation(.index))
|
||||
}
|
||||
}
|
||||
// nav(.class("flex flex-row gap-2 p-2 mt-2")) {
|
||||
// // TODO: Add class active, to button that is the active route.
|
||||
// ul(.class("flex flex-wrap gap-x-2 lg:gap-x-5 \(text: .yellow) font-bold")) {
|
||||
// navLink(label: "Mold-Risk", route: .moldRisk(.index))
|
||||
// navLink(label: "Dehumidifier-Sizing", route: .dehumidifierSize(.index))
|
||||
// navLink(label: "HVAC-System-Performance", route: .hvacSystemPerformance(.index))
|
||||
// navLink(label: "Room-Pressure", route: .roomPressure(.index))
|
||||
// navLink(label: "Capcitor-Calculator", route: .capacitor(.index))
|
||||
// navLink(label: "Attic-Ventilation", route: .atticVentilation(.index))
|
||||
// }
|
||||
// }
|
||||
}
|
||||
}
|
||||
|
||||
|
||||
Reference in New Issue
Block a user