feat(layout): #211 optimize the overall layout for mobile
Some checks failed
Build Docker Image / Build-Docker-Image (push) Has been cancelled
Some checks failed
Build Docker Image / Build-Docker-Image (push) Has been cancelled
move navigation to aside proper mobile handling update logo.svg remove pirata-one/only use it for the logo
This commit is contained in:
11
static/js/layout.js
Normal file
11
static/js/layout.js
Normal file
@@ -0,0 +1,11 @@
|
||||
|
||||
document.addEventListener("DOMContentLoaded", () => {
|
||||
menuButton.addEventListener("click", function (e) {
|
||||
menu.showModal();
|
||||
});
|
||||
menuButtonClose.addEventListener("click", function (e) {
|
||||
menu.close();
|
||||
});
|
||||
|
||||
})
|
||||
|
||||
Reference in New Issue
Block a user