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:
@@ -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",
|
||||
|
||||
Reference in New Issue
Block a user