diff --git a/public/icons/x.svg b/public/icons/x.svg new file mode 100644 index 0000000..1d3c23a --- /dev/null +++ b/public/icons/x.svg @@ -0,0 +1,4 @@ + + + + diff --git a/public/logo.png b/public/logo.png deleted file mode 100644 index 10adca3..0000000 Binary files a/public/logo.png and /dev/null differ diff --git a/src/assets/icons/discord.svg b/src/assets/icons/discord.svg deleted file mode 100644 index 116e1c4..0000000 --- a/src/assets/icons/discord.svg +++ /dev/null @@ -1,10 +0,0 @@ - - - - - - - - - - diff --git a/src/assets/icons/github.svg b/src/assets/icons/github.svg deleted file mode 100644 index faf2587..0000000 --- a/src/assets/icons/github.svg +++ /dev/null @@ -1,10 +0,0 @@ - - - - - - - - - - diff --git a/src/assets/icons/instagram.svg b/src/assets/icons/instagram.svg deleted file mode 100644 index f40d9be..0000000 --- a/src/assets/icons/instagram.svg +++ /dev/null @@ -1,5 +0,0 @@ - - - - - diff --git a/src/assets/icons/twitter.svg b/src/assets/icons/twitter.svg deleted file mode 100644 index c967217..0000000 --- a/src/assets/icons/twitter.svg +++ /dev/null @@ -1,3 +0,0 @@ - - - diff --git a/src/assets/icons/youtube.svg b/src/assets/icons/youtube.svg deleted file mode 100644 index e371229..0000000 --- a/src/assets/icons/youtube.svg +++ /dev/null @@ -1,4 +0,0 @@ - - - - diff --git a/src/components/widgets/Navbar.astro b/src/components/widgets/Navbar.astro index 771585b..5395eca 100644 --- a/src/components/widgets/Navbar.astro +++ b/src/components/widgets/Navbar.astro @@ -23,7 +23,9 @@ const navItems = [ > xHyroM - + diff --git a/src/layouts/Layout.astro b/src/layouts/Layout.astro index eb5a4cb..da12c05 100644 --- a/src/layouts/Layout.astro +++ b/src/layouts/Layout.astro @@ -45,5 +45,8 @@ + diff --git a/src/scripts/menu.js b/src/scripts/menu.js new file mode 100644 index 0000000..3c9f844 --- /dev/null +++ b/src/scripts/menu.js @@ -0,0 +1,9 @@ +document.querySelector(".hamburger").addEventListener("click", () => { + document.querySelector(".nav-links").classList.remove("hidden"); + document.querySelector(".hamburger-close").classList.remove("hidden"); +}); + +document.querySelector(".hamburger-close").addEventListener("click", () => { + document.querySelector(".nav-links").classList.toggle("hidden"); + document.querySelector(".hamburger-close").classList.toggle("hidden"); +});