From 7e802a193955361fb7e414c2eb60c02796d1bd8e Mon Sep 17 00:00:00 2001 From: Dhravya Date: Tue, 25 Jun 2024 00:18:05 -0500 Subject: [PATCH] =?UTF-8?q?to=20a=20responsive=20future=20=F0=9F=9A=80?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- apps/web/app/(dash)/dynamicisland.tsx | 69 ++++----------------------- apps/web/app/(dash)/layout.tsx | 2 +- apps/web/app/(dash)/menu.tsx | 64 ++++++++++++++++++------- apps/web/wrangler.toml | 8 ++-- 4 files changed, 63 insertions(+), 80 deletions(-) diff --git a/apps/web/app/(dash)/dynamicisland.tsx b/apps/web/app/(dash)/dynamicisland.tsx index 9061b8ad..8b1b4633 100644 --- a/apps/web/app/(dash)/dynamicisland.tsx +++ b/apps/web/app/(dash)/dynamicisland.tsx @@ -101,7 +101,7 @@ function DynamicIslandContent() { ); } -const fakeitems = ["spaces", "page", "note"]; +const fakeitems = ["page", "spaces"]; function ToolBar({ cancelfn }: { cancelfn: () => void }) { const [spaces, setSpaces] = useState([]); @@ -150,12 +150,10 @@ function ToolBar({ cancelfn }: { cancelfn: () => void }) { indexFn={(i) => setIndex(i)} /> - {index === 0 ? ( + {index === 1 ? ( - ) : index === 1 ? ( - ) : ( - + )} @@ -220,9 +218,9 @@ function SpaceForm({ cancelfn }: { cancelfn: () => void }) { />
- + {/* pull from store - + */} {/*
-
@@ -314,51 +313,3 @@ function PageForm({ ); } - -function NoteForm({ - cancelfn, - spaces, -}: { - cancelfn: () => void; - spaces: Space[]; -}) { - return ( -
-
- - -
-
- -