From 154df360ac3a1934e5da3316595f689da5cc2be0 Mon Sep 17 00:00:00 2001 From: Lars Hampe Date: Mon, 11 Nov 2024 21:58:38 +0100 Subject: [PATCH] feat(app): refactor page create/update forms --- apps/app/src/routes/page.$id.edit.lazy.tsx | 255 +++++++++++---------- apps/app/src/routes/page.create.lazy.tsx | 242 ++++++++++--------- 2 files changed, 276 insertions(+), 221 deletions(-) diff --git a/apps/app/src/routes/page.$id.edit.lazy.tsx b/apps/app/src/routes/page.$id.edit.lazy.tsx index fca09b8..ef22caf 100644 --- a/apps/app/src/routes/page.$id.edit.lazy.tsx +++ b/apps/app/src/routes/page.$id.edit.lazy.tsx @@ -1,6 +1,10 @@ import { PageUpdateInput } from '@boring.tools/schema' import { Button, + Card, + CardContent, + CardHeader, + CardTitle, Command, CommandEmpty, CommandGroup, @@ -57,129 +61,146 @@ const Component = () => { return ( <>
-

Edit page

-
- ( - - Title - - - {' '} - - - )} - /> +
+ + + Details + + + ( + + Title + + + {' '} + + + )} + /> - ( - - Description - -