@codesinger0/shared-components 1.1.75 → 1.1.77

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,8 @@ const Hero = ({
22
22
  miniSubtitle,
23
23
  additionalElements,
24
24
  ctaText,
25
+ secondaryButtonLabel, // Optional secondary button label
26
+ onSecondaryClick, // Optional secondary button click handler
25
27
  showArrow = true, // Show/hide animated arrow
26
28
 
27
29
  // Introduction section props
@@ -100,9 +102,19 @@ const Hero = ({
100
102
  {miniSubtitle}
101
103
  </p>
102
104
  {additionalElements}
103
- <CTAButton onClick={onCtaClick} className="shadow-lg">
104
- {ctaText}
105
- </CTAButton>
105
+ <div className="flex flex-wrap gap-4 justify-center items-center">
106
+ <CTAButton onClick={onCtaClick} className="shadow-lg">
107
+ {ctaText}
108
+ </CTAButton>
109
+ {secondaryButtonLabel && onSecondaryClick && (
110
+ <button
111
+ onClick={onSecondaryClick}
112
+ className="px-6 py-3 border-2 border-primary text-primary bg-main rounded-lg font-semibold hover:bg-primary hover:text-white transition-all duration-300 shadow-lg"
113
+ >
114
+ {secondaryButtonLabel}
115
+ </button>
116
+ )}
117
+ </div>
106
118
  </motion.div>
107
119
  </div>
108
120
 
package/dist/index.js CHANGED
@@ -24,7 +24,6 @@ export { default as AccessibilityMenu } from './components/AccessibilityMenu'
24
24
  export { default as FloatingWhatsAppButton } from './components/FloatingWhatsAppButton'
25
25
  export { default as FullscreenCarousel } from './components/FullscreenCarousel'
26
26
  export { default as UnderConstruction } from './components/UnderConstruction'
27
- export { default as SEO } from './components/SEO'
28
27
 
29
28
  // Modals
30
29
  export { default as ItemDetailsModal } from './components/modals/ItemDetailsModal'
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@codesinger0/shared-components",
3
- "version": "1.1.75",
3
+ "version": "1.1.77",
4
4
  "description": "Shared React components for customer projects",
5
5
  "main": "dist/index.js",
6
6
  "files": [
@@ -1,55 +0,0 @@
1
- import React from 'react';
2
- import { Helmet } from 'react-helmet-async';
3
-
4
- const SEO = ({
5
- title,
6
- description,
7
- image,
8
- url,
9
- siteName,
10
- type = 'website',
11
- article = false,
12
- publishedTime,
13
- modifiedTime,
14
- }) => {
15
-
16
- return (
17
- <Helmet>
18
- {/* Standard Meta Tags */}
19
- <title>{title}</title>
20
- <meta name="description" content={description} />
21
-
22
- {/* Open Graph Meta Tags */}
23
- <meta property="og:locale" content="he_IL" />
24
- <meta property="og:type" content={article ? 'article' : type} />
25
- <meta property="og:title" content={title} />
26
- <meta property="og:description" content={description} />
27
- <meta property="og:url" content={url} />
28
- <meta property="og:site_name" content={siteName} />
29
- <meta property="og:image" content={image} />
30
- <meta property="og:image:width" content="512" />
31
- <meta property="og:image:height" content="512" />
32
- <meta property="og:image:alt" content={title} />
33
-
34
- {/* Article specific meta tags */}
35
- {article && publishedTime && (
36
- <meta property="article:published_time" content={publishedTime} />
37
- )}
38
- {article && modifiedTime && (
39
- <meta property="article:modified_time" content={modifiedTime} />
40
- )}
41
-
42
- {/* Twitter Card Meta Tags */}
43
- <meta name="twitter:card" content="summary_large_image" />
44
- <meta name="twitter:title" content={title} />
45
- <meta name="twitter:description" content={description} />
46
- <meta name="twitter:image" content={image} />
47
- <meta name="twitter:image:alt" content={title} />
48
-
49
- {/* Canonical URL */}
50
- <link rel="canonical" href={url} />
51
- </Helmet>
52
- );
53
- };
54
-
55
- export default SEO;