feat: Minor updates to try and deploy to digital ocean

This commit is contained in:
2025-02-28 20:17:18 -05:00
parent 3be0f7a828
commit c1aa2a8ad1
5 changed files with 59 additions and 31 deletions

View File

@@ -16,6 +16,12 @@ struct RoomPressureForm: HTML, Sendable {
div(.class("relative")) {
FormHeader(label: "Room Pressure Calculator", svg: .leftRightArrow)
// FIX: Remove when done testing.
WarningBox(
"This calculator is currently under construction, so it does not do anything when the form is submitted."
)
.attributes(.class("mb-8"))
// Mode toggle / buttons.
div(.class("absolute top-0 right-0 flex items-center gap-x-0")) {
switch mode {