diff --git a/.playwright-mcp/page-2026-06-09T19-33-49-271Z.yml b/.playwright-mcp/page-2026-06-09T19-33-49-271Z.yml new file mode 100644 index 0000000..2dc0780 --- /dev/null +++ b/.playwright-mcp/page-2026-06-09T19-33-49-271Z.yml @@ -0,0 +1,8 @@ +- generic [ref=e3]: + - generic [ref=e4]: + - img "TakeYourMeds" [ref=e5] + - heading "TakeYourMeds" [level=1] [ref=e6] + - paragraph [ref=e7]: Dein Gehirn. Deine Medis. Unser Sarkasmus. + - generic [ref=e8]: + - spinbutton [ref=e9] + - button "Anmelden" [ref=e10] [cursor=pointer] \ No newline at end of file diff --git a/.playwright-mcp/page-2026-06-09T19-33-53-751Z.yml b/.playwright-mcp/page-2026-06-09T19-33-53-751Z.yml new file mode 100644 index 0000000..ab8ad5d --- /dev/null +++ b/.playwright-mcp/page-2026-06-09T19-33-53-751Z.yml @@ -0,0 +1,8 @@ +- generic [ref=e3]: + - generic [ref=e4]: + - img "TakeYourMeds" [ref=e5] + - heading "TakeYourMeds" [level=1] [ref=e6] + - paragraph [ref=e7]: Dein Gehirn. Deine Medis. Unser Sarkasmus. + - generic [ref=e8]: + - spinbutton [active] [ref=e9]: "1234" + - button "Anmelden" [ref=e10] [cursor=pointer] \ No newline at end of file diff --git a/.playwright-mcp/page-2026-06-09T19-35-01-437Z.yml b/.playwright-mcp/page-2026-06-09T19-35-01-437Z.yml new file mode 100644 index 0000000..2dc0780 --- /dev/null +++ b/.playwright-mcp/page-2026-06-09T19-35-01-437Z.yml @@ -0,0 +1,8 @@ +- generic [ref=e3]: + - generic [ref=e4]: + - img "TakeYourMeds" [ref=e5] + - heading "TakeYourMeds" [level=1] [ref=e6] + - paragraph [ref=e7]: Dein Gehirn. Deine Medis. Unser Sarkasmus. + - generic [ref=e8]: + - spinbutton [ref=e9] + - button "Anmelden" [ref=e10] [cursor=pointer] \ No newline at end of file diff --git a/.playwright-mcp/page-2026-06-09T19-35-03-534Z.yml b/.playwright-mcp/page-2026-06-09T19-35-03-534Z.yml new file mode 100644 index 0000000..ab8ad5d --- /dev/null +++ b/.playwright-mcp/page-2026-06-09T19-35-03-534Z.yml @@ -0,0 +1,8 @@ +- generic [ref=e3]: + - generic [ref=e4]: + - img "TakeYourMeds" [ref=e5] + - heading "TakeYourMeds" [level=1] [ref=e6] + - paragraph [ref=e7]: Dein Gehirn. Deine Medis. Unser Sarkasmus. + - generic [ref=e8]: + - spinbutton [active] [ref=e9]: "1234" + - button "Anmelden" [ref=e10] [cursor=pointer] \ No newline at end of file diff --git a/public/lib/ui.js b/public/lib/ui.js index 55db2d7..0d4fc35 100644 --- a/public/lib/ui.js +++ b/public/lib/ui.js @@ -33,6 +33,7 @@ export function showEasterEgg(title, text) { overlay.hidden = false; overlay.querySelector("#easterClose").addEventListener("click", () => { overlay.hidden = true; + overlay.innerHTML = ""; }); } diff --git a/public/styles.css b/public/styles.css index 9848bf1..f09fbf7 100644 --- a/public/styles.css +++ b/public/styles.css @@ -226,8 +226,15 @@ body { /* Easter egg overlay */ .easterEgg { position: fixed; inset: 0; background: rgba(0,0,0,.7); + z-index: 2000; +} +.easterEgg[hidden] { + display: none !important; + pointer-events: none; +} +.easterEgg:not([hidden]) { display: flex; align-items: center; justify-content: center; - z-index: 2000; animation: fadeIn .3s ease; + animation: fadeIn .3s ease; } .easterEggInner { background: linear-gradient(135deg, var(--primary), var(--accent-purple)); diff --git a/public/sw.js b/public/sw.js index 30291fd..c0ae502 100644 --- a/public/sw.js +++ b/public/sw.js @@ -1,4 +1,4 @@ -const CACHE = "tym-v1.0.0"; +const CACHE = "tym-v1.0.1"; const ASSETS = [ "/", "/index.html",