From e199885bbb5617b01d17c09e94891f84ab3914bd Mon Sep 17 00:00:00 2001 From: Yohan Boujon Date: Sat, 24 Jun 2023 11:38:52 +0200 Subject: [PATCH] Added responsivness for navbar. added resize event listener, openMenu() and closeMenu() functions to navbar.js --- components/navbar.html | 10 +++ css/navbar.css | 156 +++++++++++++++++++++++++++++++---------- index.html | 1 + js/import.js | 1 + js/navbar.js | 61 ++++++++++------ 5 files changed, 169 insertions(+), 60 deletions(-) create mode 100644 js/import.js diff --git a/components/navbar.html b/components/navbar.html index a225277..7316d8e 100644 --- a/components/navbar.html +++ b/components/navbar.html @@ -1,5 +1,15 @@