@codesinger0/shared-components 1.1.68 → 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.
@@ -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
- <motion.div
109
- className="absolute"
110
- style={{
111
- bottom: '2rem',
112
- left: '50%',
113
- transform: 'translateX(-50%)',
114
- zIndex: 100
115
- }}
116
- animate={{ y: [0, 10, 0] }}
117
- transition={{ duration: 2, repeat: Infinity }}
118
- >
119
- <ArrowDown className="w-8 h-8 text-sky-600" />
120
- </motion.div>
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
 
@@ -48,12 +48,13 @@ const FixedWidthHeroVideo = ({
48
48
  ) : (
49
49
  /* Direct Video */
50
50
  <video
51
- className="absolute top-1/2 left-1/2 transform -translate-x-1/2 -translate-y-1/2 object-cover z-0"
51
+ className="absolute top-[35%] left-1/2 transform -translate-x-1/2 -translate-y-1/2 z-0 pointer-events-none"
52
52
  style={{
53
53
  minWidth: '1200px',
54
54
  width: 'max(100vw, 1200px)',
55
55
  aspectRatio: '16/9',
56
- height: 'auto'
56
+ minHeight: '120%',
57
+ border: 'none'
57
58
  }}
58
59
  autoPlay
59
60
  muted
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@codesinger0/shared-components",
3
- "version": "1.1.68",
3
+ "version": "1.1.70",
4
4
  "description": "Shared React components for customer projects",
5
5
  "main": "dist/index.js",
6
6
  "files": [