Starting theme
This commit is contained in:
parent
83d9b13642
commit
ea539cdf36
39 changed files with 977 additions and 0 deletions
static/js
8
static/js/header.js
Normal file
8
static/js/header.js
Normal file
|
@ -0,0 +1,8 @@
|
|||
|
||||
window.addEventListener("load", () => {
|
||||
let menu = document.querySelector(".navbar-menu");
|
||||
// Toggle display of the menu for mobile;
|
||||
document.querySelector("#navbar-toggler").addEventListener("click", () => {
|
||||
menu.classList.toggle('shown');
|
||||
})
|
||||
})
|
Loading…
Add table
Add a link
Reference in a new issue