This commit is contained in:
Raphael Rouiller
2024-07-08 14:06:52 +02:00
commit aa54287126
96 changed files with 2718 additions and 0 deletions

View File

@ -0,0 +1,17 @@
export function initNavigation() {
document.getElementById('home-button').addEventListener('click', () => {
window.location.hash = '#/';
});
document.getElementById('sources-button').addEventListener('click', () => {
window.location.hash = '#/sources';
});
document.getElementById('suggest-button').addEventListener('click', () => {
window.location.hash = '#/suggest';
});
document.getElementById('search-button').addEventListener('click', () => {
window.location.hash = '#/search';
});
}