Builds the hero slider with arrows, swipe, and social icons

Replaces the placeholder hero with a crossfading slider (slow zoom, 6s per
slide) driven by the progress bar animation; it pauses on mouse hover,
keyboard focus, and hidden tabs, and skips autoplay with reduced motion.
Adds prev/next arrows and touch swipe, and Facebook/Instagram icons from a
fixed set of platforms using bundled Iconify data (@iconify/react/offline
and @iconify-icons/ant-design, so no runtime API calls).

Content (tagline, title, CTA, slides, socials) is plain data in
heroContent.ts and passed in as a prop, so it can come from the CMS API
later. The tagline sits inside the h1 together with the name.

Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
This commit is contained in:
2026-10-13 23:12:42 +02:00
co-authored by Claude Opus 5.5
parent 8a8e2bd922
commit 614707bfff
15 changed files with 393 additions and 42 deletions
+2
View File
@@ -12,6 +12,8 @@
},
"devDependencies": {
"@chakra-ui/cli": "^3.37.0",
"@iconify-icons/ant-design": "2.0.1",
"@iconify/react": "^6.0.2",
"@tanstack/router-plugin": "^1.168.40",
"@types/react": "^19.3.0",
"@types/react-dom": "^19.3.0",