move public

This commit is contained in:
counterweight 2025-03-12 16:28:44 +01:00
parent 7fcf62e647
commit e81533db4c
Signed by: counterweight
GPG key ID: 883EDBAA726BD96C
51 changed files with 698 additions and 686 deletions

10
public/javascript/app.js Normal file
View file

@ -0,0 +1,10 @@
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';
});