From 8932bebc952e50fa7abc9710a45824027c609418 Mon Sep 17 00:00:00 2001 From: Kazhnuz Date: Tue, 2 May 2023 11:20:14 +0200 Subject: [PATCH] feat: add a mobile sidebar Fixes #5 --- components/mobile-sidebar.php | 38 +++++++++++++++ components/navbar-pages.php | 2 +- components/sidebar/categories.php | 2 +- footer.php | 2 + home.php | 19 -------- js/mobile-sidebar.js | 10 ++++ scss/_global.scss | 3 +- scss/components/_menus.scss | 8 +++- scss/custom/_mobile.scss | 41 ++++++++++++++++ scss/utils/_display.scss | 8 ++-- style.css | 78 +++++++++++++++++++++++-------- 11 files changed, 165 insertions(+), 46 deletions(-) create mode 100644 components/mobile-sidebar.php create mode 100644 js/mobile-sidebar.js create mode 100644 scss/custom/_mobile.scss diff --git a/components/mobile-sidebar.php b/components/mobile-sidebar.php new file mode 100644 index 0000000..1ba316e --- /dev/null +++ b/components/mobile-sidebar.php @@ -0,0 +1,38 @@ + + + \ No newline at end of file diff --git a/components/navbar-pages.php b/components/navbar-pages.php index 7a6efd6..db51ce1 100644 --- a/components/navbar-pages.php +++ b/components/navbar-pages.php @@ -1,5 +1,5 @@
-