diff --git a/README.md b/README.md
index 829823c..328f604 100644
--- a/README.md
+++ b/README.md
@@ -7,11 +7,12 @@ Schnappix-Web ist die Landing-Page und Informationsseite für die Schnappix Phot
- **Responsive Design**: Optimiert für alle Bildschirmgrößen (Desktop, Tablet, Mobile).
- **Moderne UI/UX**: Neon-Synthwave Ästhetik passend zur Schnappix App, mit fließenden Übergängen (View Transition API) und Micro-Animations.
- **Seiten**:
- - `index.html`: Startseite mit App-Vorstellung
+ - `index.html`: Startseite mit App-Vorstellung & Google Play Store Link
- `features.html`: Detaillierte Übersicht aller App-Funktionen
+ - `upload.html`: Upload für individuelle Fotorahmen
- `faq.html`: Häufig gestellte Fragen und Antworten
- `feedback.html`: Formular für Nutzerfeedback
- - `impressum.html` & `datenschutz.html`: Rechtliche Seiten
+ - `impressum.html` & `datenschutz.html`: Rechtliche Seiten (DDG- und DSGVO-konform für Web & Play Store)
## Tech Stack
diff --git a/app.js b/app.js
index 31298e0..77e8e1a 100644
--- a/app.js
+++ b/app.js
@@ -363,49 +363,6 @@ document.addEventListener('DOMContentLoaded', () => {
});
}
- // --- Tester Registration Logic ---
- const testerForm = document.getElementById('tester-form');
- if (testerForm) {
- testerForm.addEventListener('submit', async (e) => {
- e.preventDefault();
-
- const emailInput = document.getElementById('tester-email');
- const submitBtn = document.getElementById('tester-submit-btn');
- const successMsg = document.getElementById('tester-success-msg');
- const errorMsg = document.getElementById('tester-error-msg');
-
- submitBtn.disabled = true;
- submitBtn.textContent = 'Wird gesendet...';
- successMsg.style.display = 'none';
- errorMsg.style.display = 'none';
-
- try {
- const response = await fetch('tester_backend.php', {
- method: 'POST',
- headers: { 'Content-Type': 'application/json' },
- body: JSON.stringify({ email: emailInput.value })
- });
-
- const result = await response.json();
-
- if (result.success) {
- successMsg.style.display = 'block';
- testerForm.reset();
- } else {
- errorMsg.innerHTML = ' ' + (result.error || 'Unbekannter Fehler');
- errorMsg.style.display = 'block';
- }
- } catch (err) {
- console.error(err);
- errorMsg.innerHTML = ' Netzwerkfehler. Bitte später erneut versuchen.';
- errorMsg.style.display = 'block';
- } finally {
- submitBtn.disabled = false;
- submitBtn.textContent = 'Als Tester anmelden';
- }
- });
- }
-
// --- Modal Management for Impressum & Privacy ---
const modalTriggers = document.querySelectorAll('.legal-trigger');
const modals = document.querySelectorAll('.modal-overlay');
@@ -457,10 +414,10 @@ document.addEventListener('DOMContentLoaded', () => {
adminTrigger.addEventListener('click', (e) => {
e.preventDefault();
if (isAdmin) {
- adminPanelModal.classList.add('open');
+ if (adminPanelModal) adminPanelModal.classList.add('open');
} else {
- adminLoginModal.classList.add('open');
- adminPasswordInput.focus();
+ if (adminLoginModal) adminLoginModal.classList.add('open');
+ if (adminPasswordInput) adminPasswordInput.focus();
}
document.body.style.overflow = 'hidden';
});
@@ -469,7 +426,7 @@ document.addEventListener('DOMContentLoaded', () => {
if (adminLoginForm) {
adminLoginForm.addEventListener('submit', async (e) => {
e.preventDefault();
- const password = adminPasswordInput.value;
+ const password = adminPasswordInput ? adminPasswordInput.value : '';
try {
const response = await fetch('feedback_backend.php', {
@@ -482,22 +439,22 @@ document.addEventListener('DOMContentLoaded', () => {
isAdmin = true;
sessionStorage.setItem('schnappix_is_admin', 'true');
sessionStorage.setItem('schnappix_admin_secret', password);
- adminPasswordInput.value = '';
- adminLoginError.style.display = 'none';
+ if (adminPasswordInput) adminPasswordInput.value = '';
+ if (adminLoginError) adminLoginError.style.display = 'none';
// Switch Modals
- adminLoginModal.classList.remove('open');
- adminPanelModal.classList.add('open');
+ if (adminLoginModal) adminLoginModal.classList.remove('open');
+ if (adminPanelModal) adminPanelModal.classList.add('open');
// Re-render to show trash cans
renderFeedback(getActiveFilter());
} else {
- adminLoginError.style.display = 'block';
- adminPasswordInput.value = '';
+ if (adminLoginError) adminLoginError.style.display = 'block';
+ if (adminPasswordInput) adminPasswordInput.value = '';
}
} catch (err) {
console.error(err);
- adminLoginError.style.display = 'block';
+ if (adminLoginError) adminLoginError.style.display = 'block';
}
});
}
@@ -506,7 +463,7 @@ document.addEventListener('DOMContentLoaded', () => {
adminLogoutBtn.addEventListener('click', () => {
isAdmin = false;
sessionStorage.removeItem('schnappix_is_admin');
- adminPanelModal.classList.remove('open');
+ if (adminPanelModal) adminPanelModal.classList.remove('open');
document.body.style.overflow = '';
// Hide export code if visible
diff --git a/datenschutz.html b/datenschutz.html
index 0419f7f..a9f9395 100644
--- a/datenschutz.html
+++ b/datenschutz.html
@@ -24,7 +24,7 @@
Upload
FAQ
Feedback Hub
- App Testing
+ Play Store
Admin