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 {