Commit Graph

27 Commits

Author SHA1 Message Date
Jeroen De Meerleer 3305c26750
Refactor easter egg functionality, fetch strings from JSON
- Refactored the `initEasterEgg` function to fetch easter egg strings from a JSON file instead of hardcoding them.
- Removed the unused `eastereggstrings` array.
- Updated event listener to use arrow function syntax (`evt`) instead of `event`.
- Added error handling for failed fetch requests.
2024-02-07 16:15:43 +01:00
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
Jeroen De Meerleer c7b7285403
Refactor HTML and SCSS for improved structure and styling
- Removed unnecessary CSS properties from `base.scss`
- Added `class="h-100"` to the `<html>` tag in `base.html.twig` for full height
- Added `class="d-flex flex-column h-100"` to the `<body>` tag in `base.html.twig` for flexbox layout
- Updated footer styling in `base.html.twig` with additional classes
- Added `class="flex-shrink-0"` to the `<main>` tag in `page.html.twig`
2024-02-07 12:40:26 +01:00
Jeroen De Meerleer 529ced6a26
Fixed build 2023-10-12 15:09:07 +02:00
Jeroen De Meerleer 94b528d726
Update nav background color and add text color in base.scss
The commit updates the background color of the navigation bar and adds a new text color in the base.scss file.
2023-10-12 14:39:52 +02:00
Jeroen De Meerleer 530c29b400
Added possibility to add stylesheets and javascripts 2023-03-23 11:32:46 +01:00
Jeroen De Meerleer 8df7870753
ENHANCEMENT: more custom bootstrap 2023-03-22 14:02:04 +01:00
Jeroen De Meerleer 434159b285
Implemented new design 2023-03-21 15:36:26 +01:00
Jeroen De Meerleer 62fd0a4e81
Updated dependencies 2022-07-28 16:19:35 +02:00
Jeroen De Meerleer 7942801015
ENHANCEMENT: using vite instead of webpack 2022-04-29 12:28:44 +02:00
Jeroen De Meerleer 8219be18b8
UPDATED DEPENDENCIES 2022-03-31 13:52:42 +02:00
Jeroen De Meerleer 339c364910
ENHANCEMENT: Added gradient to nineties toggle 2022-02-04 11:27:48 +01:00
Jeroen De Meerleer 0ae17fd1d9
BUGFIX: remove unnecessary scrolling 2022-01-27 15:55:56 +01:00
Jeroen De Meerleer 7f550df24a
ENHANCEMENT: Creating custom width styles 2022-01-26 11:25:34 +01:00
Jeroen De Meerleer 809fae2edd
BUGFIX: internal url can start with / 2021-12-31 18:22:31 +01:00
Jeroen De Meerleer 45a58581a0
BUGFIX: don't need background size 200% for height 2021-10-18 12:28:54 +02:00
Jeroen De Meerleer ce2d9b578b
UPDATED FONTS 2021-08-07 10:34:39 +02:00
Jeroen De Meerleer 78e32b5476
ENHANCEMENT: creating background with css 2021-08-06 15:19:40 +02:00
Jeroen De Meerleer 9c7be573e0
BUGFIX: styles 2021-08-06 10:48:30 +02:00
Jeroen De Meerleer 942c591403
BUGFIX: better spacing 2021-08-06 10:02:12 +02:00
Jeroen De Meerleer f9cdcdc7c6
NEW FEATURE: travel back in time 2021-08-06 09:51:41 +02:00
Jeroen De Meerleer 541b62f296
BUGFIX: Wrapping if neccesary 2021-08-05 22:07:24 +02:00
Jeroen De Meerleer 4ff5908edf
Installled bootstrap to use its classes 2021-08-05 19:30:23 +02:00
Jeroen De Meerleer b65ae0ab71
ENHANCEMENT: backgrounds are so overrated 2021-08-05 16:18:16 +02:00
Jeroen De Meerleer 6cc6f181e3
BUGFIX: styles 2021-08-05 15:26:47 +02:00
Jeroen De Meerleer 025808bbcf
BUGFIX: style 2021-08-05 14:31:18 +02:00
Jeroen De Meerleer 54778cb4a7
Initial commit 2021-08-05 13:56:02 +02:00