From cdcd237ea17679388bcbd122186cca6ff6cb6c64 Mon Sep 17 00:00:00 2001
From: AVGVSTVS96 <122117267+AVGVSTVS96@users.noreply.github.com>
Date: Mon, 15 Jan 2024 00:23:00 -0500
Subject: [PATCH 03/13] Add hamburger icon SVG file
---
src/icons/hamburger.svg | 3 +++
1 file changed, 3 insertions(+)
create mode 100644 src/icons/hamburger.svg
diff --git a/src/icons/hamburger.svg b/src/icons/hamburger.svg
new file mode 100644
index 00000000..9631aae6
--- /dev/null
+++ b/src/icons/hamburger.svg
@@ -0,0 +1,3 @@
+
From 49f2b7e76940a5a97a4b25ddb0a553e23b9a6ca0 Mon Sep 17 00:00:00 2001
From: AVGVSTVS96 <122117267+AVGVSTVS96@users.noreply.github.com>
Date: Mon, 15 Jan 2024 00:40:02 -0500
Subject: [PATCH 04/13] Button: add ...rest to accept data-dropdown-type
attribute.
---
src/components/subComponents/Button.astro | 6 +++---
1 file changed, 3 insertions(+), 3 deletions(-)
diff --git a/src/components/subComponents/Button.astro b/src/components/subComponents/Button.astro
index 24baf899..786cf199 100644
--- a/src/components/subComponents/Button.astro
+++ b/src/components/subComponents/Button.astro
@@ -8,7 +8,7 @@ interface Props {
icon?: boolean;
}
-const { name, link, id, showCaret = false, class: className, icon = false } = Astro.props;
+const { name, link, id, showCaret = false, class: className, icon = false, ...rest } = Astro.props;
import { Icon } from 'astro-icon/components';
---
@@ -16,8 +16,8 @@ import { Icon } from 'astro-icon/components';
href={link}
id={id}
class=`mx-2 flex rounded-lg px-3 py-2 font-normal dark:text-slate-200 hover:bg-slate-200/50 dark:hover:bg-slate-800 hover:text-opacity-100 transition-color duration-200 max-w-max ${className} ${showCaret ? 'pr-1.5' : ''}`>
-
From 8397e25b2285519c9200ae02ccf8e3ee4c50e976 Mon Sep 17 00:00:00 2001
From: AVGVSTVS96 <122117267+AVGVSTVS96@users.noreply.github.com>
Date: Mon, 15 Jan 2024 16:18:54 -0500
Subject: [PATCH 07/13] Remove mobile hamburger menu, retain ability to change
icons on the Button
---
src/components/NavBar.astro | 21 +----------
src/components/subComponents/Button.astro | 4 +-
.../subComponents/DropdownMenu.astro | 37 ++++++-------------
3 files changed, 16 insertions(+), 46 deletions(-)
diff --git a/src/components/NavBar.astro b/src/components/NavBar.astro
index bea3f04a..feb9b5e7 100644
--- a/src/components/NavBar.astro
+++ b/src/components/NavBar.astro
@@ -19,8 +19,7 @@ import ThemeToggle from './subComponents/ThemeToggle.astro';
class="astro-icon h-8 w-8 opacity-80 block md:hidden"
/>