WIP: Changes main page to not include sidebar, that moves to project view.

This commit is contained in:
2026-01-03 16:24:53 -05:00
parent 1d155546ae
commit 1aeb6144d5
15 changed files with 383 additions and 236 deletions

View File

@@ -19,7 +19,11 @@ struct ProjectForm: HTML, Sendable {
var body: some HTML {
ModalForm(id: "projectForm", dismiss: dismiss) {
h1(.class("text-3xl font-bold pb-6 ps-2")) { "Project" }
form(.class("space-y-4 p-4")) {
form(
.class("space-y-4 p-4"),
.method(.post),
.action(route: .project(.index))
) {
div {
label(.for("name")) { "Name" }
Input(id: "name", placeholder: "Name")