From 4fb31f567a05fb83b35e72378b3f92d94a828e0c Mon Sep 17 00:00:00 2001 From: Lurkars Date: Sun, 16 Nov 2025 20:55:10 +0100 Subject: [PATCH] easter-egg --- src/main/resources/templates/index.html | 15 +++++++++++++-- 1 file changed, 13 insertions(+), 2 deletions(-) diff --git a/src/main/resources/templates/index.html b/src/main/resources/templates/index.html index 50b4a72..7106e50 100644 --- a/src/main/resources/templates/index.html +++ b/src/main/resources/templates/index.html @@ -306,10 +306,10 @@

@@ -530,6 +530,7 @@ editingContactData: { email: '', phone: '' }, committed: '[[${committed}]]', shareMsg: '', + easterEgg: 0, init() { const isDarkApplied = document.documentElement.getAttribute('data-bs-theme') === 'dark'; @@ -798,6 +799,16 @@ }, async submitCommit(committed) { + if (committed == this.committed) { + this.easterEgg += 1; + if (this.easterEgg >= 10) { + this.stepMsg = 'Ja, nee is klar!'; + this.stepMsgType = 'info'; + } + return; + } + this.easterEgg = 0; + this.stepMsg = ''; this.working = true; this.committed = committed; try {