Sportheim mieten: Buchungsseite mit Anfrageformular

Neue Seite /sportheimbuchung mit Bento-Layout (Fotos, Lage, Ausstattung) und
einem Buchungsanfrage-Formular nach Projektkonvention (form-field-Komponente,
Status-Region, Honeypot + ft-Token, Whitelist-Validierung, Rate-Limiting, PRG).
Versand via Brevo SMTP über app/actions/sportheimbuchung-senden.php, POST-Route
in index.php. form-field um min/max-Attribute erweitert (Personenzahl-Feld).

Co-Authored-By: Claude Opus 4.8 (1M context) <noreply@anthropic.com>
Claude-Session: https://claude.ai/code/session_01HGzc6GhWhmLJt1jC2q1SRZ
This commit is contained in:
2026-06-20 20:46:44 +02:00
parent e7801ca6ee
commit 6a612e52c3
13 changed files with 503 additions and 31 deletions

View File

@@ -32,6 +32,10 @@ if ($_SERVER['REQUEST_METHOD'] === 'POST' && $slug === 'mitglied-werden-senden')
require APP_PATH . '/actions/membership-submit.php';
exit;
}
if ($_SERVER['REQUEST_METHOD'] === 'POST' && $slug === 'sportheimbuchung-senden') {
require APP_PATH . '/actions/sportheimbuchung-senden.php';
exit;
}
$routes = require APP_PATH . '/routes.php';