This commit is contained in:
counterweight 2025-03-13 11:28:07 +01:00
parent 0f7ec6f521
commit 17517f798d
Signed by: counterweight
GPG key ID: 883EDBAA726BD96C
4 changed files with 27 additions and 1 deletions

14
src/front/pages/home.js Normal file
View file

@ -0,0 +1,14 @@
const homeFunction = () => {
const navbuttonHome = document.getElementById('navbutton-home');
const navbuttonOffers = document.getElementById('navbutton-offers');
navbuttonHome.addEventListener('click', () => {
window.location.href = '/home';
});
navbuttonOffers.addEventListener('click', () => {
window.location.href = '/offers';
});
};
homeFunction();