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