move public
This commit is contained in:
parent
7fcf62e647
commit
e81533db4c
51 changed files with 698 additions and 686 deletions
10
public/javascript/app.js
Normal file
10
public/javascript/app.js
Normal 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';
|
||||
});
|
||||
Loading…
Add table
Add a link
Reference in a new issue