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

@ -0,0 +1,73 @@
<svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 1600 700" preserveAspectRatio="xMidYMid slice">
<!-- Platzhalter für das Startbild. Eigenes Foto: Redaktion → Einstellungen → Startbild -->
<defs>
<linearGradient id="sky" x1="0" y1="0" x2="0" y2="1">
<stop offset="0" stop-color="#cfe9df"/>
<stop offset="1" stop-color="#f6efd9"/>
</linearGradient>
<linearGradient id="hillBack" x1="0" y1="0" x2="0" y2="1">
<stop offset="0" stop-color="#9fcfb5"/>
<stop offset="1" stop-color="#86bfa1"/>
</linearGradient>
<linearGradient id="hillFront" x1="0" y1="0" x2="0" y2="1">
<stop offset="0" stop-color="#4fa37e"/>
<stop offset="1" stop-color="#2f8a66"/>
</linearGradient>
</defs>
<rect width="1600" height="700" fill="url(#sky)"/>
<!-- Sonne -->
<circle cx="1260" cy="170" r="92" fill="#f7cf6b"/>
<circle cx="1260" cy="170" r="140" fill="#f7cf6b" opacity="0.18"/>
<!-- Wolken -->
<g fill="#ffffff" opacity="0.85">
<ellipse cx="330" cy="140" rx="110" ry="30"/>
<ellipse cx="400" cy="120" rx="70" ry="34"/>
<ellipse cx="930" cy="95" rx="80" ry="22"/>
<ellipse cx="975" cy="80" rx="48" ry="24"/>
</g>
<!-- Hügel hinten -->
<path d="M0 470 C 220 380, 420 400, 640 440 S 1100 360, 1320 400 S 1560 430, 1600 420 V700 H0 Z" fill="url(#hillBack)"/>
<!-- Werkstattgebäude mit Sheddach -->
<g transform="translate(560 318)">
<rect x="0" y="92" width="470" height="170" fill="#fbf7ee"/>
<path d="M0 92 L0 40 L94 92 L94 40 L188 92 L188 40 L282 92 L282 40 L376 92 L376 40 L470 92 Z" fill="#e2553a"/>
<path d="M0 40 L0 92 M94 40 L94 92 M188 40 L188 92 M282 40 L282 92 M376 40 L376 92" stroke="#b9432c" stroke-width="6"/>
<g fill="#8fc6e8">
<rect x="34" y="128" width="62" height="46" rx="6"/>
<rect x="126" y="128" width="62" height="46" rx="6"/>
<rect x="282" y="128" width="62" height="46" rx="6"/>
<rect x="374" y="128" width="62" height="46" rx="6"/>
</g>
<rect x="206" y="160" width="58" height="102" rx="8" fill="#d98a06"/>
<circle cx="252" cy="214" r="4" fill="#fbf7ee"/>
<!-- Schornstein -->
<rect x="410" y="0" width="26" height="60" fill="#56647a"/>
</g>
<!-- Linde -->
<g transform="translate(1150 300)">
<rect x="40" y="150" width="26" height="130" rx="8" fill="#7a5a3a"/>
<circle cx="53" cy="110" r="96" fill="#3d9a6e"/>
<circle cx="0" cy="140" r="62" fill="#47a778"/>
<circle cx="110" cy="138" r="66" fill="#338a61"/>
<circle cx="60" cy="50" r="58" fill="#56b485"/>
</g>
<!-- kleiner Baum links -->
<g transform="translate(360 380)">
<rect x="22" y="80" width="16" height="90" rx="6" fill="#7a5a3a"/>
<circle cx="30" cy="62" r="56" fill="#47a778"/>
<circle cx="58" cy="84" r="36" fill="#338a61"/>
</g>
<!-- Hügel vorne -->
<path d="M0 560 C 260 510, 520 600, 820 570 S 1360 520, 1600 560 V700 H0 Z" fill="url(#hillFront)"/>
<!-- Weg -->
<path d="M770 700 C 790 640, 780 610, 800 580 L 830 580 C 820 620, 840 650, 880 700 Z" fill="#e9dcb8" opacity="0.9"/>
</svg>

After

Width:  |  Height:  |  Size: 2.9 KiB