Start working on new landing page

Remove old code
This commit is contained in:
Marco Ochse
2024-02-16 19:15:17 +01:00
parent 0c9b58b6ac
commit 0dda858ac1
32 changed files with 8231 additions and 1649 deletions

View File

@ -0,0 +1,11 @@
function updateClock() {
const now = new Date();
const hours = ('0' + now.getHours()).slice(-2);
const minutes = ('0' + now.getMinutes()).slice(-2);
const day = ('0' + now.getDate()).slice(-2);
const month = ('0' + (now.getMonth() + 1)).slice(-2);
const year = now.getFullYear();
document.getElementById('clock').textContent = hours + ':' + minutes + ' | ' + day + '/' + month + '/' + year;
setTimeout(updateClock, 1000);
}
updateClock();