From 2812939ed38b2605018a160f57113a10044e41f0 Mon Sep 17 00:00:00 2001 From: June Date: Thu, 13 Nov 2025 21:46:25 +1300 Subject: [PATCH] refactored sidebar --- web/src/components/sidebar.astro | 12 ++++++++++++ web/src/pages/index.astro | 12 +++--------- web/src/styles/global.css | 4 ++++ 3 files changed, 19 insertions(+), 9 deletions(-) create mode 100644 web/src/components/sidebar.astro diff --git a/web/src/components/sidebar.astro b/web/src/components/sidebar.astro new file mode 100644 index 0000000..9319049 --- /dev/null +++ b/web/src/components/sidebar.astro @@ -0,0 +1,12 @@ +--- +import Navbar from "src/components/index/navbar.astro" +--- + +
+
+

breadone dot net

+ +
+ +
+
\ No newline at end of file diff --git a/web/src/pages/index.astro b/web/src/pages/index.astro index e6b0c93..c82bf81 100644 --- a/web/src/pages/index.astro +++ b/web/src/pages/index.astro @@ -1,20 +1,14 @@ --- import Base from "src/layout/Base.astro" -import Navbar from "src/components/index/navbar.astro" +import Sidebar from "src/components/sidebar.astro" ---
+ -
-
-

breadone dot net

- -
-
- -
+
content
diff --git a/web/src/styles/global.css b/web/src/styles/global.css index b485907..2f3b995 100644 --- a/web/src/styles/global.css +++ b/web/src/styles/global.css @@ -26,4 +26,8 @@ } } +.content-panel { + @apply w-[68%]; +} + @tailwind utilities; \ No newline at end of file