Merge analog clock into index and add fullscreen toggle

This commit is contained in:
Kiyomichi Kosaka
2025-06-14 23:08:21 +02:00
parent 1a8453dc15
commit 974a471385
3 changed files with 133 additions and 11 deletions
+6
View File
@@ -81,4 +81,10 @@ window.addEventListener('load',()=>{
placeMarkers();
updateClock();
setInterval(updateClock,1000);
const clk=document.getElementById('clock');
if(clk){
clk.addEventListener('click',()=>{
document.body.classList.toggle('fullscreen-clock');
});
}
});