@codesinger0/shared-components 1.0.35 → 1.0.37

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.
@@ -48,13 +48,10 @@ const Hero = ({
48
48
  <FixedWidthHeroVideo useYoutube={true} youtubeVideoId={videoId} />
49
49
  ) : (
50
50
  <div
51
- className="absolute inset-0"
51
+ className="absolute inset-0 bg-cover bg-center bg-no-repeat"
52
52
  style={{
53
53
  backgroundImage: `url(${imageUrl})`,
54
- backgroundColor: '#1a1a1a',
55
- backgroundSize: 'cover',
56
- backgroundPosition: 'center',
57
- backgroundRepeat: 'no-repeat'
54
+ backgroundColor: '#1a1a1a' // Fallback color
58
55
  }}
59
56
  />
60
57
  )}
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@codesinger0/shared-components",
3
- "version": "1.0.35",
3
+ "version": "1.0.37",
4
4
  "description": "Shared React components for customer projects",
5
5
  "main": "dist/index.js",
6
6
  "files": [