Startseite: Anfrageformular sendet serverseitig, Landingpage und netcup-Ziel

- Neues oeffentliches Formular-Endpoint POST /anfrage (app/inquiry.php):
  Pflichtfelder ausser Nachricht, Validierung, Honeypot, IP-Limit 5/Stunde,
  Versand per mail_send() mit Reply-To des Kunden - kein mailto mehr
- mail_send() akzeptiert zusaetzliche Kopfzeilen (CRLF bereinigt)
- app.inquiry_email in Konfiguration und Deploy-Template (DIC_INQUIRY_EMAIL)
- Statische Landingpage web/index.html mit Assets, Service-Worker-Cache dic-v18
- App-Routen auf /dashboard, netcup-Deploy-Doku und Fundstellen aktualisiert
This commit is contained in:
torsten 2026-11-29 16:31:28 +01:00
parent 273eabfdb7
commit fe388838db
27 changed files with 2598 additions and 57 deletions

View file

@ -34,7 +34,7 @@ $groupMeta = [
<a class="btn" href="<?= e(url('/calendar?date=' . $from)) ?>">
<svg class="ico" aria-hidden="true"><use href="#i-calendar"/></svg> Im Kalender
</a>
<a class="btn" href="<?= e(url('/')) ?>">
<a class="btn" href="<?= e(url('/dashboard')) ?>">
<svg class="ico" aria-hidden="true"><use href="#i-grid"/></svg> Zur Übersicht
</a>
</div>

View file

@ -49,7 +49,7 @@ $isForm = $state === 'form';
<section class="auth-panel">
<div class="auth-card">
<a class="auth-card__mobilebrand" href="<?= e(url('/')) ?>" aria-label="Drink it cold">
<a class="auth-card__mobilebrand" href="<?= e(url('/dashboard')) ?>" aria-label="Drink it cold">
<img src="<?= e(asset('logo-mark.svg')) ?>" alt="" width="44" height="32">
<span>Drink it cold</span>
</a>

View file

@ -78,7 +78,7 @@ $navActive = static function (string $area) use ($path): string {
<header class="topbar">
<div class="topbar__inner">
<a class="brand" href="<?= e(url('/')) ?>" aria-label="Drink it cold – zur Übersicht">
<a class="brand" href="<?= e(url('/dashboard')) ?>" aria-label="Drink it cold – zur Übersicht">
<img class="brand__mark" src="<?= e(asset('logo-mark.svg')) ?>" alt="" width="44" height="32">
<span class="brand__text">
<span class="brand__name">Drink it cold</span>
@ -87,7 +87,7 @@ $navActive = static function (string $area) use ($path): string {
</a>
<nav class="mainnav" aria-label="Hauptnavigation">
<a href="<?= e(url('/')) ?>"<?= $navActive('dashboard') ?>>
<a href="<?= e(url('/dashboard')) ?>"<?= $navActive('dashboard') ?>>
<svg class="ico" aria-hidden="true"><use href="#i-grid"/></svg><span><span class="nav-long">Übersicht</span><span class="nav-short">Start</span></span>
</a>
<a href="<?= e(url('/reminders')) ?>"<?= $navActive('reminders') ?>>

View file

@ -60,7 +60,7 @@
<section class="auth-panel">
<div class="auth-card">
<a class="auth-card__mobilebrand" href="<?= e(url('/')) ?>" aria-label="Drink it cold">
<a class="auth-card__mobilebrand" href="<?= e(url('/dashboard')) ?>" aria-label="Drink it cold">
<img src="<?= e(asset('logo-mark.svg')) ?>" alt="" width="44" height="32">
<span>Drink it cold</span>
</a>