diff options
| author | Abdellah El Morabit <nsrddyn@gmail.com> | 2024-11-29 13:24:16 +0100 |
|---|---|---|
| committer | Abdellah El Morabit <nsrddyn@gmail.com> | 2024-11-29 13:24:16 +0100 |
| commit | fdd3b103bb209045123693cd60149b951c7b2be8 (patch) | |
| tree | 1019543e2db0ec535f9a76c9f8527fa0ef299caa /templates/static/main.mjs | |
| parent | 446f3d4742f88b09c85e83e96f6505cd3f6302c5 (diff) | |
rewritten the source of the application
Diffstat (limited to 'templates/static/main.mjs')
| -rw-r--r-- | templates/static/main.mjs | 13 |
1 files changed, 0 insertions, 13 deletions
diff --git a/templates/static/main.mjs b/templates/static/main.mjs deleted file mode 100644 index 7e48f65..0000000 --- a/templates/static/main.mjs +++ /dev/null | |||
| @@ -1,13 +0,0 @@ | |||
| 1 | document.addEventListener("DOMContentLoaded", () => { | ||
| 2 | const buttons = document.querySelectorAll(".controls a"); | ||
| 3 | |||
| 4 | buttons.forEach((button) => { | ||
| 5 | button.addEventListener("mouseover", () => { | ||
| 6 | button.style.boxShadow = "0px 6px 12px rgba(255, 255, 255, 0.5)"; | ||
| 7 | }); | ||
| 8 | |||
| 9 | button.addEventListener("mouseout", () => { | ||
| 10 | button.style.boxShadow = "0px 4px 8px rgba(0, 0, 0, 0.4)"; | ||
| 11 | }); | ||
| 12 | }); | ||
| 13 | }); | ||
