From eea8790078f198f5d1b9071e9a815ceea925590c Mon Sep 17 00:00:00 2001 From: zleyyij Date: Sat, 22 Jun 2024 12:39:09 -0600 Subject: [PATCH] feat: made sidebar and top bar generic --- .../routes/{editor/nav => }/SideBar.svelte | 27 +------------------ .../src/routes/{editor/nav => }/TopBar.svelte | 4 --- frontend/src/routes/editor/+page.svelte | 22 ++++++++++++--- 3 files changed, 20 insertions(+), 33 deletions(-) rename frontend/src/routes/{editor/nav => }/SideBar.svelte (72%) rename frontend/src/routes/{editor/nav => }/TopBar.svelte (66%) diff --git a/frontend/src/routes/editor/nav/SideBar.svelte b/frontend/src/routes/SideBar.svelte similarity index 72% rename from frontend/src/routes/editor/nav/SideBar.svelte rename to frontend/src/routes/SideBar.svelte index 803191fe..922d83b5 100644 --- a/frontend/src/routes/editor/nav/SideBar.svelte +++ b/frontend/src/routes/SideBar.svelte @@ -1,15 +1,6 @@
diff --git a/frontend/src/routes/editor/nav/TopBar.svelte b/frontend/src/routes/TopBar.svelte similarity index 66% rename from frontend/src/routes/editor/nav/TopBar.svelte rename to frontend/src/routes/TopBar.svelte index 8346baa0..0893f3c3 100644 --- a/frontend/src/routes/editor/nav/TopBar.svelte +++ b/frontend/src/routes/TopBar.svelte @@ -16,9 +16,6 @@