Source code for my personal website
Jeroen De Meerleer
1c38432467
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. |
||
---|---|---|
assets | ||
bin | ||
config | ||
dev-certs | ||
public | ||
src | ||
templates | ||
.env.sample | ||
.gitignore | ||
composer.json | ||
composer.lock | ||
LICENSE.md | ||
package-lock.json | ||
package.json | ||
README.md | ||
symfony.lock | ||
webpack.config.js |