@codesinger0/shared-components 1.1.69 → 1.1.70
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/dist/components/Hero.jsx +16 -13
- package/package.json +1 -1
package/dist/components/Hero.jsx
CHANGED
|
@@ -22,6 +22,7 @@ const Hero = ({
|
|
|
22
22
|
miniSubtitle,
|
|
23
23
|
additionalElements,
|
|
24
24
|
ctaText,
|
|
25
|
+
showArrow = true, // Show/hide animated arrow
|
|
25
26
|
|
|
26
27
|
// Introduction section props
|
|
27
28
|
showIntroSection,
|
|
@@ -105,19 +106,21 @@ const Hero = ({
|
|
|
105
106
|
</motion.div>
|
|
106
107
|
</div>
|
|
107
108
|
|
|
108
|
-
|
|
109
|
-
|
|
110
|
-
|
|
111
|
-
|
|
112
|
-
|
|
113
|
-
|
|
114
|
-
|
|
115
|
-
|
|
116
|
-
|
|
117
|
-
|
|
118
|
-
|
|
119
|
-
|
|
120
|
-
|
|
109
|
+
{showArrow && (
|
|
110
|
+
<motion.div
|
|
111
|
+
className="absolute"
|
|
112
|
+
style={{
|
|
113
|
+
bottom: '2rem',
|
|
114
|
+
left: '50%',
|
|
115
|
+
transform: 'translateX(-50%)',
|
|
116
|
+
zIndex: 100
|
|
117
|
+
}}
|
|
118
|
+
animate={{ y: [0, 10, 0] }}
|
|
119
|
+
transition={{ duration: 2, repeat: Infinity }}
|
|
120
|
+
>
|
|
121
|
+
<ArrowDown className="w-8 h-8 text-sky-600" />
|
|
122
|
+
</motion.div>
|
|
123
|
+
)}
|
|
121
124
|
</div>
|
|
122
125
|
</section>
|
|
123
126
|
|