starting app pages
This commit is contained in:
parent
e31225594b
commit
cc790f9efa
6 changed files with 47 additions and 4 deletions
10
src/public/javascript/app.js
Normal file
10
src/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';
|
||||
});
|
||||
0
src/public/javascript/home.js
Normal file
0
src/public/javascript/home.js
Normal file
0
src/public/javascript/offers.js
Normal file
0
src/public/javascript/offers.js
Normal file
Loading…
Add table
Add a link
Reference in a new issue