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

View file

@ -3,6 +3,17 @@ function offersPage() {
return num.toString().replace(/\B(?=(\d{3})+(?!\d))/g, ' ');
}
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';
});
const buttonStartCreateOffer = document.getElementById(
'button-start-create-offer'
);