Ostern means security by obscurity

This commit is contained in:
2025-11-16 21:07:12 +01:00
parent 24a61cb243
commit e53e6b266a
+5 -6
View File
@@ -11,7 +11,7 @@
} }
})(); })();
</script> </script>
<!-- Schauste jetzt echt in den Source-Code hier? Dann findeste aber auch sicher die zwei kleinen Easter-Eggs oder? Sachse GvL ne! -->
<head> <head>
<title>20 Jahre Abitur 2007</title> <title>20 Jahre Abitur 2007</title>
<meta charset="UTF-8" /> <meta charset="UTF-8" />
@@ -21,7 +21,6 @@
<link rel="stylesheet" href="/lib/bootstrap.min.css"> <link rel="stylesheet" href="/lib/bootstrap.min.css">
<link rel="stylesheet" href="/style.css" /> <link rel="stylesheet" href="/style.css" />
</head> </head>
<body x-data="app()" :data-bs-theme="darkMode ? 'dark' : 'light'"> <body x-data="app()" :data-bs-theme="darkMode ? 'dark' : 'light'">
<div class="main-content"> <div class="main-content">
<div class="container pt-5"> <div class="container pt-5">
@@ -516,6 +515,7 @@
darkMode: false, darkMode: false,
showImprint: false, showImprint: false,
step: 1, step: 1,
stepCount: 0,
stepMsg: '', stepMsg: '',
stepMsgType: '', stepMsgType: '',
working: false, working: false,
@@ -534,7 +534,6 @@
editingContactData: { email: '', phone: '' }, editingContactData: { email: '', phone: '' },
committed: '[[${committed}]]', committed: '[[${committed}]]',
shareMsg: '', shareMsg: '',
easterEgg: 0,
init() { init() {
const isDarkApplied = document.documentElement.getAttribute('data-bs-theme') === 'dark'; const isDarkApplied = document.documentElement.getAttribute('data-bs-theme') === 'dark';
@@ -804,14 +803,14 @@
async submitCommit(committed) { async submitCommit(committed) {
if (committed == this.committed) { if (committed == this.committed) {
this.easterEgg += 1; this.stepCount += 1;
if (this.easterEgg >= 10) { if (this.stepCount >= 10) {
this.stepMsg = 'Ja, nee is klar!'; this.stepMsg = 'Ja, nee is klar!';
this.stepMsgType = 'warning'; this.stepMsgType = 'warning';
} }
return; return;
} }
this.easterEgg = 0; this.stepCount = 0;
this.stepMsg = ''; this.stepMsg = '';
this.working = true; this.working = true;
this.committed = committed; this.committed = committed;