From 37c8cb2541029e73c4e982ea1a4b4bb1d1dba57c Mon Sep 17 00:00:00 2001 From: Sage The DM Date: Mon, 26 Aug 2024 12:01:26 +0200 Subject: [PATCH] Changed the backbutton --- header-folder.js | 39 ++++++++++++++++++++++----------------- list.css | 2 +- styles.css | 2 +- 3 files changed, 24 insertions(+), 19 deletions(-) diff --git a/header-folder.js b/header-folder.js index 45a60db..3163811 100644 --- a/header-folder.js +++ b/header-folder.js @@ -24,30 +24,35 @@ class Header extends HTMLElement { connectedCallback() { this.innerHTML = ` - +
FOSS alternatives
- - + +
-
-
- -
+ +
+ +
`; } } customElements.define('header-component', Header); -// @license-end \ No newline at end of file +function goBack() { + window.history.back(); +} + +function toggleMenu() { + const menu = document.querySelector('.div-menu'); + menu.style.display = menu.style.display === 'none' || menu.style.display === '' ? 'block' : 'none'; +} diff --git a/list.css b/list.css index ab0d8c8..627a31f 100644 --- a/list.css +++ b/list.css @@ -1,5 +1,5 @@ /* - freeftf website + foss_alternatives website Copyright (C) 2024 interstellar_development This program is free software: you can redistribute it and/or modify diff --git a/styles.css b/styles.css index a760d9c..a04a95d 100644 --- a/styles.css +++ b/styles.css @@ -1,5 +1,5 @@ /* - freeftf website + foss_alternatives website Copyright (C) 2024 interstellar_development This program is free software: you can redistribute it and/or modify