From 3785e5700a92157762420e2d892bbfa7757ee3dd Mon Sep 17 00:00:00 2001 From: Korbs Date: Tue, 11 Jul 2023 01:16:55 -0400 Subject: [PATCH] Add Sidebar Toggle option and button --- astro/components/Sidebar.astro | 11 ++++++++--- astro/styles/index.scss | 23 +++++++++++++++++++++- public/scripts/toggle.js | 35 ++++++++++++++++++++++++++++++++++ 3 files changed, 65 insertions(+), 4 deletions(-) create mode 100644 public/scripts/toggle.js diff --git a/astro/components/Sidebar.astro b/astro/components/Sidebar.astro index 1d17580..ae48b8c 100644 --- a/astro/components/Sidebar.astro +++ b/astro/components/Sidebar.astro @@ -1,13 +1,18 @@ --- import { APP } from '../config' -import { SIDEBARTOP, SIDEBARBOTTOM } from '../tabs' +import { SIDEBARTOP, SIDEBARBOTTOM } from '../sidebar' ---