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:
Generated
+28
@@ -42,6 +42,12 @@ importers:
|
||||
'@chakra-ui/cli':
|
||||
specifier: ^3.37.0
|
||||
version: 3.37.0(@chakra-ui/react@3.37.0(@emotion/react@11.14.0(@types/react@19.3.0)(react@19.3.0))(react-dom@19.3.0(react@19.3.0))(react@19.3.0))
|
||||
'@iconify-icons/ant-design':
|
||||
specifier: 2.0.1
|
||||
version: 2.0.1
|
||||
'@iconify/react':
|
||||
specifier: ^6.0.2
|
||||
version: 6.0.2(react@19.3.0)
|
||||
'@tanstack/router-plugin':
|
||||
specifier: ^1.168.40
|
||||
version: 1.168.40(@tanstack/react-router@1.170.39(react-dom@19.3.0(react@19.3.0))(react@19.3.0))(esbuild@0.28.2)(rolldown@1.2.11)(vite@8.3.1(esbuild@0.28.2)(jiti@2.7.0))
|
||||
@@ -420,6 +426,17 @@ packages:
|
||||
'@fontsource/marcellus@5.3.0':
|
||||
resolution: {integrity: sha512-cMnanjpiPIC7Rq4GXIA/Zal5WLSoDV5Mc681tMkWsWfKHXnRnLGlhuGeBnLF6HrqtFkiSdiuy4NCSPfOrz266w==}
|
||||
|
||||
'@iconify-icons/ant-design@2.0.1':
|
||||
resolution: {integrity: sha512-trO0tSenYMXFX1FBNZ53uqWEsueCazWviIGMyoPAPZO7kUVfdsQFujljOmJtZmfGqBvG+cl7Sn8OVxhxxUmAiw==}
|
||||
|
||||
'@iconify/react@6.0.2':
|
||||
resolution: {integrity: sha512-SMmC2sactfpJD427WJEDN6PMyznTFMhByK9yLW0gOTtnjzzbsi/Ke/XqsumsavFPwNiXs8jSiYeZTmLCLwO+Fg==}
|
||||
peerDependencies:
|
||||
react: '>=16'
|
||||
|
||||
'@iconify/types@2.0.0':
|
||||
resolution: {integrity: sha512-+wluvCrRhXrhyOmRDJ3q8mux9JkKy5SJ/v8ol2tu4FVjyYvtEzkc/3pK15ET6RKg4b4w4BmTk1+gsCUhf21Ykg==}
|
||||
|
||||
'@internationalized/date@3.12.3':
|
||||
resolution: {integrity: sha512-fuLX+3ZKLsxI73y8b01EG/WjHb6gE6weCqlfawPO27kBWGMh9G1yH6Csv1uU7/cac9H2GHmOMt6CjmuQ1aia4Q==}
|
||||
|
||||
@@ -2037,6 +2054,17 @@ snapshots:
|
||||
|
||||
'@fontsource/marcellus@5.3.0': {}
|
||||
|
||||
'@iconify-icons/ant-design@2.0.1':
|
||||
dependencies:
|
||||
'@iconify/types': 2.0.0
|
||||
|
||||
'@iconify/react@6.0.2(react@19.3.0)':
|
||||
dependencies:
|
||||
'@iconify/types': 2.0.0
|
||||
react: 19.3.0
|
||||
|
||||
'@iconify/types@2.0.0': {}
|
||||
|
||||
'@internationalized/date@3.12.3':
|
||||
dependencies:
|
||||
'@swc/helpers': 0.5.23
|
||||
|
||||
Reference in New Issue
Block a user