Banner-Slider auf der Startseite

Komponente banner-slider liest data/banners.json; banner.js übernimmt
Autoplay/Pause/Steuerung (progressive enhancement). Slider sitzt zwischen
Hero und Instagram-Feed. Bilder vorerst als Platzhalter-SVGs.

Co-Authored-By: Claude Opus 4.8 (1M context) <noreply@anthropic.com>
Claude-Session: https://claude.ai/code/session_01KDQZ6FuchNUh2bxSW9PeNv
This commit is contained in:
2026-06-19 08:12:43 +02:00
parent 10b4ede8f1
commit a933b76c4f
8 changed files with 243 additions and 1 deletions

View File

@@ -0,0 +1,15 @@
<svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 1200 400" preserveAspectRatio="xMidYMid slice" role="img" aria-label="Platzhalter-Hintergrund">
<defs>
<linearGradient id="g" x1="0" y1="0" x2="1" y2="1">
<stop offset="0" stop-color="#2a2a2a"/>
<stop offset="0.55" stop-color="#3a1417"/>
<stop offset="1" stop-color="#e20612"/>
</linearGradient>
</defs>
<rect width="1200" height="400" fill="url(#g)"/>
<g fill="#ffffff" fill-opacity="0.05">
<circle cx="980" cy="90" r="160"/>
<circle cx="1120" cy="320" r="220"/>
<circle cx="760" cy="360" r="120"/>
</g>
</svg>

After

Width:  |  Height:  |  Size: 613 B