Startseite: großes Bild über der Begrüßung

Wie bei der Vitus-App zeigt die Startseite oben ein Bild. Es wird in den
Einstellungen gewählt (oder ausgeblendet); ohne eigenes Foto erscheint
eine Platzhalter-Illustration (static/hero-placeholder.svg).

Co-Authored-By: Claude Opus 5.5 (1M context) <noreply@anthropic.com>
This commit is contained in:
Friederich Loheide 2026-09-30 14:22:47 +00:00
parent bef8574e07
commit 6f706dfa49
6 changed files with 123 additions and 17 deletions

View file

@ -11,6 +11,9 @@ export type AppSettings = {
/** Markenfarbe als Hex-Wert */
brandColor: string;
logoId: number | null;
/** Großes Bild oben auf der Startseite */
heroEnabled: boolean;
heroImageId: number | null;
website: string;
contactEmail: string;
contactIntro: string;
@ -28,6 +31,8 @@ export const DEFAULT_SETTINGS: AppSettings = {
intro: 'Hier findest du Neuigkeiten, Termine und alles Wichtige rund um deine Werkstatt.',
brandColor: '#0e7c66',
logoId: null,
heroEnabled: true,
heroImageId: null,
website: '',
contactEmail: '',
contactIntro: 'Du hast Fragen oder Ideen für die App? Schreib uns gerne!',