Merge pull request 'pages' (#1) from Patrick_Pluto/foss_alternatives:pages into main
Reviewed-on: https://codeberg.org/sageTheDm/foss_alternatives/pulls/1
This commit is contained in:
commit
7a0505a627
3 changed files with 8 additions and 2 deletions
|
@ -1,4 +1,6 @@
|
||||||
|
// @license magnet:?xt=urn:btih:90dc5c0be029de84e523b9b3922520e79e0e6f08&dn=cc0.txt CC0-1.0
|
||||||
function toggleMenu() {
|
function toggleMenu() {
|
||||||
const menu = document.querySelector(".menu");
|
const menu = document.querySelector(".menu");
|
||||||
menu.classList.toggle("active");
|
menu.classList.toggle("active");
|
||||||
}
|
}
|
||||||
|
// @license-end
|
|
@ -1,3 +1,4 @@
|
||||||
|
// @license magnet:?xt=urn:btih:90dc5c0be029de84e523b9b3922520e79e0e6f08&dn=cc0.txt CC0-1.0
|
||||||
class Header extends HTMLElement {
|
class Header extends HTMLElement {
|
||||||
constructor() {
|
constructor() {
|
||||||
super();
|
super();
|
||||||
|
@ -27,4 +28,5 @@ class Header extends HTMLElement {
|
||||||
}
|
}
|
||||||
|
|
||||||
customElements.define('header-component', Header);
|
customElements.define('header-component', Header);
|
||||||
customElements.define('header-component', Header);
|
customElements.define('header-component', Header);
|
||||||
|
// @license-end
|
|
@ -1,3 +1,4 @@
|
||||||
|
// @license magnet:?xt=urn:btih:90dc5c0be029de84e523b9b3922520e79e0e6f08&dn=cc0.txt CC0-1.0
|
||||||
class Header extends HTMLElement {
|
class Header extends HTMLElement {
|
||||||
constructor() {
|
constructor() {
|
||||||
super();
|
super();
|
||||||
|
@ -27,3 +28,4 @@ class Header extends HTMLElement {
|
||||||
}
|
}
|
||||||
|
|
||||||
customElements.define('header-component', Header);
|
customElements.define('header-component', Header);
|
||||||
|
// @license-end
|
Loading…
Reference in a new issue