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:
sageTheDm 2024-06-20 06:00:14 +00:00
commit 7a0505a627
3 changed files with 8 additions and 2 deletions

View file

@ -1,4 +1,6 @@
// @license magnet:?xt=urn:btih:90dc5c0be029de84e523b9b3922520e79e0e6f08&dn=cc0.txt CC0-1.0
function toggleMenu() {
const menu = document.querySelector(".menu");
menu.classList.toggle("active");
}
// @license-end

View file

@ -1,3 +1,4 @@
// @license magnet:?xt=urn:btih:90dc5c0be029de84e523b9b3922520e79e0e6f08&dn=cc0.txt CC0-1.0
class Header extends HTMLElement {
constructor() {
super();
@ -28,3 +29,4 @@ class Header extends HTMLElement {
customElements.define('header-component', Header);
customElements.define('header-component', Header);
// @license-end

View file

@ -1,3 +1,4 @@
// @license magnet:?xt=urn:btih:90dc5c0be029de84e523b9b3922520e79e0e6f08&dn=cc0.txt CC0-1.0
class Header extends HTMLElement {
constructor() {
super();
@ -27,3 +28,4 @@ class Header extends HTMLElement {
}
customElements.define('header-component', Header);
// @license-end