feat: Adds sensible heat ratio for projects, adds initial view / forms to the rooms tab.

This commit is contained in:
2026-01-06 12:19:14 -05:00
parent 5fcc5b88fa
commit 8fb313fddc
12 changed files with 165 additions and 100 deletions

View File

@@ -8,12 +8,14 @@ import Styleguide
// TODO: Need to hold the project ID in hidden input field.
struct RoomForm: HTML, Sendable {
static let id = "roomForm"
let dismiss: Bool
let projectID: Project.ID
let room: Room?
var body: some HTML {
ModalForm(id: "roomForm", dismiss: dismiss) {
ModalForm(id: Self.id, dismiss: dismiss) {
h1(.class("text-3xl font-bold pb-6")) { "Room" }
// TODO: Use htmx here.
form(