Jeroen De Meerleer 1c38432467
Add Easter Egg functionality to the page.js file
This commit adds an Easter Egg feature to the page.js file. When the document is fully loaded, the initEasterEgg() function is called, which listens for clicks on the body element. If the clicked element is not an interactive element or does not trigger an event, a random hue shift filter is applied to the body and a random string from a predefined list of strings is displayed in a designated HTML element with class "easter-egg". The commit also includes a helper function, isInteractiveElement(), which checks if an element is interactive or triggers an event.
2024-02-07 12:42:38 +01:00
2023-12-07 12:05:21 +01:00
2023-12-07 12:05:21 +01:00
2023-03-22 11:51:49 +01:00
2023-12-07 12:05:21 +01:00
2022-09-12 16:33:24 +02:00
2022-09-12 15:18:11 +02:00
2023-12-07 12:05:21 +01:00
2023-12-07 12:05:21 +01:00
2021-08-05 13:56:02 +02:00
2023-12-07 12:05:21 +01:00
2023-12-07 12:05:21 +01:00
2023-12-07 12:05:21 +01:00

Website

Copyright (c) 2021- Jeroen De Meerleer me@jeroened.be

Source code of my personal website

Description
Source code for my personal website
Readme 6.6 MiB
Languages
PHP 52.9%
CSS 17.9%
Shell 15.6%
Dockerfile 6.4%
Twig 5%
Other 2.2%