gctGenerator/site/.vuepress/public/april.js
Matteias Collet 687cdcb534 fix date
2021-04-01 00:01:21 +02:00

7 lines
181 B
JavaScript

window.addEventListener('DOMContentLoaded', () => {
const now = new Date();
if (now.getMonth() === 3 && now.getDate() === 1) {
document.body.classList.add('fool');
}
});