diff options
| Commit | 2d0859936833ea72aad40bd7165e96a792ca5a49 (patch) | |
|---|---|---|
| Author | 2025-12-25 17:30:03 +0200 | |
| Committer | 2025-12-25 17:30:03 +0200 | |
| Files | b4485db0411511a091faa6c7e5c275f377adf8f7 /src/regarding-js.du | |
| syndamia.com-2d0859936833ea72aad40bd7165e96a792ca5a49.tar syndamia.com-2d0859936833ea72aad40bd7165e96a792ca5a49.tar.gz syndamia.com-2d0859936833ea72aad40bd7165e96a792ca5a49.zip | ||
| Parent | a65372420b04020398e91adc9efb2832e5c3a426 (diff) | |
feat: Add falling snowflake effect (in December and January)
1 files changed, 22 insertions, 6 deletions
| -rw-r--r-- | src/regarding-js.du | 28 |
diff --git a/src/regarding-js.du b/src/regarding-js.du index 3c6eeeb..2251d3f 100644 --- a/src/regarding-js.du +++ b/src/regarding-js.du @@ -52,8 +52,8 @@ Any user data that might be saved isn't, and never will be, used for purposes no |: [url /scripts/presentation.js presentation.js] |: Presentation logic (button capabilities and other) [=Loaded only on pages with presentations!=] |: [url https://gitlab.com/Syndamia/syndamiadotcom/-/tree/master/src/scripts/presentation.js Link] -|: 6.0KB -|: 197 +|: 6.1KB +|: 204 |: [url /scripts/keyboard.js keyboard.js] |: Implements keyboard shortcuts @@ -61,17 +61,29 @@ Any user data that might be saved isn't, and never will be, used for purposes no |: 810B |: 40 +|: [url /scripts/snow.js snow.js] +|: Adds and manages falling snowflakes. Functional only in December and January. +|: [url https://gitlab.com/Syndamia/syndamiadotcom/-/tree/master/src/scripts/snow.js Link] +|: 814B +|: 36 + +|: [url /scripts/snow-preload.js snow-preload.js] +|: Initializes falling snowflake elements +|: [url https://gitlab.com/Syndamia/syndamiadotcom/-/tree/master/src/scripts/snow-preload.js Link] +|: 561B +|: 20 + |: |: Total without presentation.js |: -|: 4.0KB -|: 153 +|: 5.3KB +|: 209 |: |: Total with presentation.js |: -|: 9.0KB -|: 307 +|: 11.4KB +|: 413 ## Data in browser storage @@ -97,5 +109,9 @@ Any user data that might be saved isn't, and never will be, used for purposes no |: [`norm`] | [`hidden`] |: Saves whether the navbar should be expanded or shrunk +|: [`snow`] +|: [`on`] | [`off`] +|: Saves whether snowflakes are shown (and animated). Functional only in December and January. + .p |