@opensite/ui 2.7.4 → 2.7.6
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/about-network-spotlight.cjs +1 -2
- package/dist/about-network-spotlight.js +1 -2
- package/dist/about-story-expertise.cjs +33 -43
- package/dist/about-story-expertise.js +33 -43
- package/dist/blog-tech-insights.cjs +2 -2
- package/dist/blog-tech-insights.js +2 -2
- package/dist/cta-case-study-testimonial.cjs +6 -41
- package/dist/cta-case-study-testimonial.d.cts +3 -10
- package/dist/cta-case-study-testimonial.d.ts +3 -10
- package/dist/cta-case-study-testimonial.js +6 -41
- package/dist/cta-documentation-links.cjs +6 -31
- package/dist/cta-documentation-links.d.cts +1 -1
- package/dist/cta-documentation-links.d.ts +1 -1
- package/dist/cta-documentation-links.js +6 -31
- package/dist/cta-enterprise-split.cjs +4 -3
- package/dist/cta-enterprise-split.d.cts +1 -1
- package/dist/cta-enterprise-split.d.ts +1 -1
- package/dist/cta-enterprise-split.js +4 -3
- package/dist/cta-feature-cards-grid.cjs +9 -46
- package/dist/cta-feature-cards-grid.d.cts +1 -1
- package/dist/cta-feature-cards-grid.d.ts +1 -1
- package/dist/cta-feature-cards-grid.js +9 -46
- package/dist/cta-feature-checklist.cjs +666 -687
- package/dist/cta-feature-checklist.d.cts +1 -1
- package/dist/cta-feature-checklist.d.ts +1 -1
- package/dist/cta-feature-checklist.js +665 -686
- package/dist/feature-animated-carousel.cjs +1 -1
- package/dist/feature-animated-carousel.js +1 -1
- package/dist/hero-ad-campaign-expert.cjs +54 -36
- package/dist/hero-ad-campaign-expert.js +54 -36
- package/dist/registry.cjs +176 -199
- package/dist/registry.js +176 -199
- package/dist/stats-impact-grid.cjs +48 -39
- package/dist/stats-impact-grid.js +48 -39
- package/package.json +1 -1
|
@@ -133,6 +133,6 @@ interface CtaDocumentationLinksProps {
|
|
|
133
133
|
* />
|
|
134
134
|
* ```
|
|
135
135
|
*/
|
|
136
|
-
declare function CtaDocumentationLinks({ heading, description, actions, actionsSlot, links, linksSlot, className,
|
|
136
|
+
declare function CtaDocumentationLinks({ heading, description, actions, actionsSlot, links, linksSlot, className, cardClassName, contentClassName, headingClassName, descriptionClassName, actionsClassName, linksClassName, linkCardClassName, background, containerClassName, spacing, pattern, patternOpacity, }: CtaDocumentationLinksProps): React.JSX.Element;
|
|
137
137
|
|
|
138
138
|
export { type CtaDocumentationLink, CtaDocumentationLinks, type CtaDocumentationLinksProps };
|
|
@@ -133,6 +133,6 @@ interface CtaDocumentationLinksProps {
|
|
|
133
133
|
* />
|
|
134
134
|
* ```
|
|
135
135
|
*/
|
|
136
|
-
declare function CtaDocumentationLinks({ heading, description, actions, actionsSlot, links, linksSlot, className,
|
|
136
|
+
declare function CtaDocumentationLinks({ heading, description, actions, actionsSlot, links, linksSlot, className, cardClassName, contentClassName, headingClassName, descriptionClassName, actionsClassName, linksClassName, linkCardClassName, background, containerClassName, spacing, pattern, patternOpacity, }: CtaDocumentationLinksProps): React.JSX.Element;
|
|
137
137
|
|
|
138
138
|
export { type CtaDocumentationLink, CtaDocumentationLinks, type CtaDocumentationLinksProps };
|
|
@@ -11,32 +11,6 @@ import { Icon } from '@page-speed/icon';
|
|
|
11
11
|
function cn(...inputs) {
|
|
12
12
|
return twMerge(clsx(inputs));
|
|
13
13
|
}
|
|
14
|
-
function getTextColor(parentBg, variant = "default", options) {
|
|
15
|
-
const isDark = parentBg === "dark" || parentBg === "secondary" || parentBg === "primary";
|
|
16
|
-
if (isDark) {
|
|
17
|
-
switch (variant) {
|
|
18
|
-
case "default":
|
|
19
|
-
return "text-foreground";
|
|
20
|
-
case "muted":
|
|
21
|
-
return "text-foreground/80";
|
|
22
|
-
case "subtle":
|
|
23
|
-
return "text-foreground/60";
|
|
24
|
-
case "accent":
|
|
25
|
-
return "text-accent-foreground";
|
|
26
|
-
}
|
|
27
|
-
} else {
|
|
28
|
-
switch (variant) {
|
|
29
|
-
case "default":
|
|
30
|
-
return "text-foreground";
|
|
31
|
-
case "muted":
|
|
32
|
-
return "text-muted-foreground";
|
|
33
|
-
case "subtle":
|
|
34
|
-
return "text-muted-foreground/70";
|
|
35
|
-
case "accent":
|
|
36
|
-
return "text-primary";
|
|
37
|
-
}
|
|
38
|
-
}
|
|
39
|
-
}
|
|
40
14
|
function Card({ className, ...props }) {
|
|
41
15
|
return /* @__PURE__ */ jsx(
|
|
42
16
|
"div",
|
|
@@ -856,7 +830,6 @@ function CtaDocumentationLinks({
|
|
|
856
830
|
links,
|
|
857
831
|
linksSlot,
|
|
858
832
|
className,
|
|
859
|
-
containerClassName,
|
|
860
833
|
cardClassName,
|
|
861
834
|
contentClassName,
|
|
862
835
|
headingClassName,
|
|
@@ -865,7 +838,8 @@ function CtaDocumentationLinks({
|
|
|
865
838
|
linksClassName,
|
|
866
839
|
linkCardClassName,
|
|
867
840
|
background,
|
|
868
|
-
|
|
841
|
+
containerClassName = "px-6 sm:px-6 md:px-8 lg:px-8",
|
|
842
|
+
spacing = "py-32 md:py-32",
|
|
869
843
|
pattern,
|
|
870
844
|
patternOpacity
|
|
871
845
|
}) {
|
|
@@ -933,7 +907,7 @@ function CtaDocumentationLinks({
|
|
|
933
907
|
)),
|
|
934
908
|
/* @__PURE__ */ jsxs("div", { children: [
|
|
935
909
|
link.title && /* @__PURE__ */ jsx("h5", { className: "mb-2 leading-4 font-medium", children: link.title }),
|
|
936
|
-
link.description && /* @__PURE__ */ jsx("p", { className: cn("text-sm"
|
|
910
|
+
link.description && /* @__PURE__ */ jsx("p", { className: cn("text-sm"), children: link.description })
|
|
937
911
|
] })
|
|
938
912
|
] }),
|
|
939
913
|
/* @__PURE__ */ jsx(DynamicIcon, { name: "lucide/chevron-right", size: 24 })
|
|
@@ -949,7 +923,8 @@ function CtaDocumentationLinks({
|
|
|
949
923
|
className: cn(className),
|
|
950
924
|
pattern,
|
|
951
925
|
patternOpacity,
|
|
952
|
-
|
|
926
|
+
containerClassName,
|
|
927
|
+
children: /* @__PURE__ */ jsx("div", { className: "relative", children: /* @__PURE__ */ jsxs(
|
|
953
928
|
"div",
|
|
954
929
|
{
|
|
955
930
|
className: cn(
|
|
@@ -968,7 +943,7 @@ function CtaDocumentationLinks({
|
|
|
968
943
|
children: heading
|
|
969
944
|
}
|
|
970
945
|
) : /* @__PURE__ */ jsx("div", { className: cn("mb-2", headingClassName), children: heading })),
|
|
971
|
-
description && (typeof description === "string" ? /* @__PURE__ */ jsx("p", { className: cn(
|
|
946
|
+
description && (typeof description === "string" ? /* @__PURE__ */ jsx("p", { className: cn(descriptionClassName), children: description }) : /* @__PURE__ */ jsx("div", { className: descriptionClassName, children: description })),
|
|
972
947
|
actionsContent
|
|
973
948
|
] }),
|
|
974
949
|
linksContent
|
|
@@ -851,7 +851,6 @@ function CtaEnterpriseSplit({
|
|
|
851
851
|
links,
|
|
852
852
|
linksSlot,
|
|
853
853
|
className,
|
|
854
|
-
containerClassName,
|
|
855
854
|
gridClassName,
|
|
856
855
|
contentClassName,
|
|
857
856
|
headingClassName,
|
|
@@ -860,7 +859,8 @@ function CtaEnterpriseSplit({
|
|
|
860
859
|
linksClassName,
|
|
861
860
|
linkCardClassName,
|
|
862
861
|
background,
|
|
863
|
-
|
|
862
|
+
containerClassName = "px-6 sm:px-6 md:px-8 lg:px-8",
|
|
863
|
+
spacing = "py-32 md:py-32",
|
|
864
864
|
pattern,
|
|
865
865
|
patternOpacity
|
|
866
866
|
}) {
|
|
@@ -940,7 +940,8 @@ function CtaEnterpriseSplit({
|
|
|
940
940
|
className: cn(className),
|
|
941
941
|
pattern,
|
|
942
942
|
patternOpacity,
|
|
943
|
-
|
|
943
|
+
containerClassName,
|
|
944
|
+
children: /* @__PURE__ */ jsxRuntime.jsx("div", { className: "relative", children: /* @__PURE__ */ jsxRuntime.jsxs(
|
|
944
945
|
"div",
|
|
945
946
|
{
|
|
946
947
|
className: cn("grid gap-8 lg:grid-cols-2 lg:gap-16", gridClassName),
|
|
@@ -131,6 +131,6 @@ interface CtaEnterpriseSplitProps {
|
|
|
131
131
|
* />
|
|
132
132
|
* ```
|
|
133
133
|
*/
|
|
134
|
-
declare function CtaEnterpriseSplit({ heading, description, actions, actionsSlot, links, linksSlot, className,
|
|
134
|
+
declare function CtaEnterpriseSplit({ heading, description, actions, actionsSlot, links, linksSlot, className, gridClassName, contentClassName, headingClassName, descriptionClassName, actionsClassName, linksClassName, linkCardClassName, background, containerClassName, spacing, pattern, patternOpacity, }: CtaEnterpriseSplitProps): React.JSX.Element;
|
|
135
135
|
|
|
136
136
|
export { CtaEnterpriseSplit, type CtaEnterpriseSplitLink, type CtaEnterpriseSplitProps };
|
|
@@ -131,6 +131,6 @@ interface CtaEnterpriseSplitProps {
|
|
|
131
131
|
* />
|
|
132
132
|
* ```
|
|
133
133
|
*/
|
|
134
|
-
declare function CtaEnterpriseSplit({ heading, description, actions, actionsSlot, links, linksSlot, className,
|
|
134
|
+
declare function CtaEnterpriseSplit({ heading, description, actions, actionsSlot, links, linksSlot, className, gridClassName, contentClassName, headingClassName, descriptionClassName, actionsClassName, linksClassName, linkCardClassName, background, containerClassName, spacing, pattern, patternOpacity, }: CtaEnterpriseSplitProps): React.JSX.Element;
|
|
135
135
|
|
|
136
136
|
export { CtaEnterpriseSplit, type CtaEnterpriseSplitLink, type CtaEnterpriseSplitProps };
|
|
@@ -830,7 +830,6 @@ function CtaEnterpriseSplit({
|
|
|
830
830
|
links,
|
|
831
831
|
linksSlot,
|
|
832
832
|
className,
|
|
833
|
-
containerClassName,
|
|
834
833
|
gridClassName,
|
|
835
834
|
contentClassName,
|
|
836
835
|
headingClassName,
|
|
@@ -839,7 +838,8 @@ function CtaEnterpriseSplit({
|
|
|
839
838
|
linksClassName,
|
|
840
839
|
linkCardClassName,
|
|
841
840
|
background,
|
|
842
|
-
|
|
841
|
+
containerClassName = "px-6 sm:px-6 md:px-8 lg:px-8",
|
|
842
|
+
spacing = "py-32 md:py-32",
|
|
843
843
|
pattern,
|
|
844
844
|
patternOpacity
|
|
845
845
|
}) {
|
|
@@ -919,7 +919,8 @@ function CtaEnterpriseSplit({
|
|
|
919
919
|
className: cn(className),
|
|
920
920
|
pattern,
|
|
921
921
|
patternOpacity,
|
|
922
|
-
|
|
922
|
+
containerClassName,
|
|
923
|
+
children: /* @__PURE__ */ jsx("div", { className: "relative", children: /* @__PURE__ */ jsxs(
|
|
923
924
|
"div",
|
|
924
925
|
{
|
|
925
926
|
className: cn("grid gap-8 lg:grid-cols-2 lg:gap-16", gridClassName),
|
|
@@ -32,36 +32,6 @@ var React__namespace = /*#__PURE__*/_interopNamespace(React);
|
|
|
32
32
|
function cn(...inputs) {
|
|
33
33
|
return tailwindMerge.twMerge(clsx.clsx(inputs));
|
|
34
34
|
}
|
|
35
|
-
function getTextColor(parentBg, variant = "default", options) {
|
|
36
|
-
const isDark = parentBg === "dark" || parentBg === "secondary" || parentBg === "primary";
|
|
37
|
-
if (isDark) {
|
|
38
|
-
switch (variant) {
|
|
39
|
-
case "default":
|
|
40
|
-
return "text-foreground";
|
|
41
|
-
case "muted":
|
|
42
|
-
return "text-foreground/80";
|
|
43
|
-
case "subtle":
|
|
44
|
-
return "text-foreground/60";
|
|
45
|
-
case "accent":
|
|
46
|
-
return "text-accent-foreground";
|
|
47
|
-
}
|
|
48
|
-
} else {
|
|
49
|
-
switch (variant) {
|
|
50
|
-
case "default":
|
|
51
|
-
return "text-foreground";
|
|
52
|
-
case "muted":
|
|
53
|
-
return "text-muted-foreground";
|
|
54
|
-
case "subtle":
|
|
55
|
-
return "text-muted-foreground/70";
|
|
56
|
-
case "accent":
|
|
57
|
-
return "text-primary";
|
|
58
|
-
}
|
|
59
|
-
}
|
|
60
|
-
}
|
|
61
|
-
function getAccentColor(parentBg, options) {
|
|
62
|
-
const isDark = parentBg === "dark" || parentBg === "secondary" || parentBg === "primary";
|
|
63
|
-
return isDark ? "text-accent-foreground" : "text-primary";
|
|
64
|
-
}
|
|
65
35
|
function normalizePhoneNumber(input) {
|
|
66
36
|
const trimmed = input.trim();
|
|
67
37
|
if (trimmed.toLowerCase().startsWith("tel:")) {
|
|
@@ -881,7 +851,6 @@ function CtaFeatureCardsGrid({
|
|
|
881
851
|
features,
|
|
882
852
|
featuresSlot,
|
|
883
853
|
className,
|
|
884
|
-
containerClassName,
|
|
885
854
|
contentClassName,
|
|
886
855
|
headingClassName,
|
|
887
856
|
descriptionClassName,
|
|
@@ -889,7 +858,8 @@ function CtaFeatureCardsGrid({
|
|
|
889
858
|
featuresClassName,
|
|
890
859
|
featureCardClassName,
|
|
891
860
|
background,
|
|
892
|
-
|
|
861
|
+
containerClassName = "px-6 sm:px-6 md:px-8 lg:px-8",
|
|
862
|
+
spacing = "py-32 md:py-32",
|
|
893
863
|
pattern,
|
|
894
864
|
patternOpacity
|
|
895
865
|
}) {
|
|
@@ -939,16 +909,9 @@ function CtaFeatureCardsGrid({
|
|
|
939
909
|
{
|
|
940
910
|
className: cn("p-6 text-center", featureCardClassName),
|
|
941
911
|
children: [
|
|
942
|
-
(feature.icon || feature.iconName) && /* @__PURE__ */ jsxRuntime.jsx("div", { className: "mx-auto mb-4 flex h-12 w-12 items-center justify-center rounded-lg bg-primary/10", children: feature.icon ?? /* @__PURE__ */ jsxRuntime.jsx(
|
|
943
|
-
DynamicIcon,
|
|
944
|
-
{
|
|
945
|
-
name: feature.iconName || "",
|
|
946
|
-
size: 24,
|
|
947
|
-
className: getAccentColor(background)
|
|
948
|
-
}
|
|
949
|
-
) }),
|
|
912
|
+
(feature.icon || feature.iconName) && /* @__PURE__ */ jsxRuntime.jsx("div", { className: "mx-auto mb-4 flex h-12 w-12 items-center justify-center rounded-lg bg-primary/10", children: feature.icon ?? /* @__PURE__ */ jsxRuntime.jsx(DynamicIcon, { name: feature.iconName || "", size: 24 }) }),
|
|
950
913
|
feature.title && /* @__PURE__ */ jsxRuntime.jsx("h3", { className: "mb-2 font-semibold", children: feature.title }),
|
|
951
|
-
feature.description && /* @__PURE__ */ jsxRuntime.jsx("p", { className:
|
|
914
|
+
feature.description && /* @__PURE__ */ jsxRuntime.jsx("p", { className: "text-sm", children: feature.description })
|
|
952
915
|
]
|
|
953
916
|
},
|
|
954
917
|
index
|
|
@@ -961,10 +924,11 @@ function CtaFeatureCardsGrid({
|
|
|
961
924
|
{
|
|
962
925
|
background,
|
|
963
926
|
spacing,
|
|
964
|
-
className
|
|
927
|
+
className,
|
|
965
928
|
pattern,
|
|
966
929
|
patternOpacity,
|
|
967
|
-
|
|
930
|
+
containerClassName,
|
|
931
|
+
children: /* @__PURE__ */ jsxRuntime.jsxs("div", { className: "relative", children: [
|
|
968
932
|
/* @__PURE__ */ jsxRuntime.jsxs("div", { className: cn("text-center", contentClassName), children: [
|
|
969
933
|
heading && (typeof heading === "string" ? /* @__PURE__ */ jsxRuntime.jsx(
|
|
970
934
|
"h2",
|
|
@@ -975,18 +939,17 @@ function CtaFeatureCardsGrid({
|
|
|
975
939
|
),
|
|
976
940
|
children: heading
|
|
977
941
|
}
|
|
978
|
-
) :
|
|
942
|
+
) : heading),
|
|
979
943
|
description && (typeof description === "string" ? /* @__PURE__ */ jsxRuntime.jsx(
|
|
980
944
|
"p",
|
|
981
945
|
{
|
|
982
946
|
className: cn(
|
|
983
947
|
"mx-auto mb-8 max-w-2xl text-lg",
|
|
984
|
-
getTextColor(background, "muted"),
|
|
985
948
|
descriptionClassName
|
|
986
949
|
),
|
|
987
950
|
children: description
|
|
988
951
|
}
|
|
989
|
-
) :
|
|
952
|
+
) : description),
|
|
990
953
|
actionsContent
|
|
991
954
|
] }),
|
|
992
955
|
featuresContent
|
|
@@ -101,6 +101,6 @@ interface CtaFeatureCardsGridProps {
|
|
|
101
101
|
* />
|
|
102
102
|
* ```
|
|
103
103
|
*/
|
|
104
|
-
declare function CtaFeatureCardsGrid({ heading, description, actions, actionsSlot, features, featuresSlot, className,
|
|
104
|
+
declare function CtaFeatureCardsGrid({ heading, description, actions, actionsSlot, features, featuresSlot, className, contentClassName, headingClassName, descriptionClassName, actionsClassName, featuresClassName, featureCardClassName, background, containerClassName, spacing, pattern, patternOpacity, }: CtaFeatureCardsGridProps): React.JSX.Element;
|
|
105
105
|
|
|
106
106
|
export { CtaFeatureCardsGrid, type CtaFeatureCardsGridProps };
|
|
@@ -101,6 +101,6 @@ interface CtaFeatureCardsGridProps {
|
|
|
101
101
|
* />
|
|
102
102
|
* ```
|
|
103
103
|
*/
|
|
104
|
-
declare function CtaFeatureCardsGrid({ heading, description, actions, actionsSlot, features, featuresSlot, className,
|
|
104
|
+
declare function CtaFeatureCardsGrid({ heading, description, actions, actionsSlot, features, featuresSlot, className, contentClassName, headingClassName, descriptionClassName, actionsClassName, featuresClassName, featureCardClassName, background, containerClassName, spacing, pattern, patternOpacity, }: CtaFeatureCardsGridProps): React.JSX.Element;
|
|
105
105
|
|
|
106
106
|
export { CtaFeatureCardsGrid, type CtaFeatureCardsGridProps };
|
|
@@ -11,36 +11,6 @@ import { Icon } from '@page-speed/icon';
|
|
|
11
11
|
function cn(...inputs) {
|
|
12
12
|
return twMerge(clsx(inputs));
|
|
13
13
|
}
|
|
14
|
-
function getTextColor(parentBg, variant = "default", options) {
|
|
15
|
-
const isDark = parentBg === "dark" || parentBg === "secondary" || parentBg === "primary";
|
|
16
|
-
if (isDark) {
|
|
17
|
-
switch (variant) {
|
|
18
|
-
case "default":
|
|
19
|
-
return "text-foreground";
|
|
20
|
-
case "muted":
|
|
21
|
-
return "text-foreground/80";
|
|
22
|
-
case "subtle":
|
|
23
|
-
return "text-foreground/60";
|
|
24
|
-
case "accent":
|
|
25
|
-
return "text-accent-foreground";
|
|
26
|
-
}
|
|
27
|
-
} else {
|
|
28
|
-
switch (variant) {
|
|
29
|
-
case "default":
|
|
30
|
-
return "text-foreground";
|
|
31
|
-
case "muted":
|
|
32
|
-
return "text-muted-foreground";
|
|
33
|
-
case "subtle":
|
|
34
|
-
return "text-muted-foreground/70";
|
|
35
|
-
case "accent":
|
|
36
|
-
return "text-primary";
|
|
37
|
-
}
|
|
38
|
-
}
|
|
39
|
-
}
|
|
40
|
-
function getAccentColor(parentBg, options) {
|
|
41
|
-
const isDark = parentBg === "dark" || parentBg === "secondary" || parentBg === "primary";
|
|
42
|
-
return isDark ? "text-accent-foreground" : "text-primary";
|
|
43
|
-
}
|
|
44
14
|
function normalizePhoneNumber(input) {
|
|
45
15
|
const trimmed = input.trim();
|
|
46
16
|
if (trimmed.toLowerCase().startsWith("tel:")) {
|
|
@@ -860,7 +830,6 @@ function CtaFeatureCardsGrid({
|
|
|
860
830
|
features,
|
|
861
831
|
featuresSlot,
|
|
862
832
|
className,
|
|
863
|
-
containerClassName,
|
|
864
833
|
contentClassName,
|
|
865
834
|
headingClassName,
|
|
866
835
|
descriptionClassName,
|
|
@@ -868,7 +837,8 @@ function CtaFeatureCardsGrid({
|
|
|
868
837
|
featuresClassName,
|
|
869
838
|
featureCardClassName,
|
|
870
839
|
background,
|
|
871
|
-
|
|
840
|
+
containerClassName = "px-6 sm:px-6 md:px-8 lg:px-8",
|
|
841
|
+
spacing = "py-32 md:py-32",
|
|
872
842
|
pattern,
|
|
873
843
|
patternOpacity
|
|
874
844
|
}) {
|
|
@@ -918,16 +888,9 @@ function CtaFeatureCardsGrid({
|
|
|
918
888
|
{
|
|
919
889
|
className: cn("p-6 text-center", featureCardClassName),
|
|
920
890
|
children: [
|
|
921
|
-
(feature.icon || feature.iconName) && /* @__PURE__ */ jsx("div", { className: "mx-auto mb-4 flex h-12 w-12 items-center justify-center rounded-lg bg-primary/10", children: feature.icon ?? /* @__PURE__ */ jsx(
|
|
922
|
-
DynamicIcon,
|
|
923
|
-
{
|
|
924
|
-
name: feature.iconName || "",
|
|
925
|
-
size: 24,
|
|
926
|
-
className: getAccentColor(background)
|
|
927
|
-
}
|
|
928
|
-
) }),
|
|
891
|
+
(feature.icon || feature.iconName) && /* @__PURE__ */ jsx("div", { className: "mx-auto mb-4 flex h-12 w-12 items-center justify-center rounded-lg bg-primary/10", children: feature.icon ?? /* @__PURE__ */ jsx(DynamicIcon, { name: feature.iconName || "", size: 24 }) }),
|
|
929
892
|
feature.title && /* @__PURE__ */ jsx("h3", { className: "mb-2 font-semibold", children: feature.title }),
|
|
930
|
-
feature.description && /* @__PURE__ */ jsx("p", { className:
|
|
893
|
+
feature.description && /* @__PURE__ */ jsx("p", { className: "text-sm", children: feature.description })
|
|
931
894
|
]
|
|
932
895
|
},
|
|
933
896
|
index
|
|
@@ -940,10 +903,11 @@ function CtaFeatureCardsGrid({
|
|
|
940
903
|
{
|
|
941
904
|
background,
|
|
942
905
|
spacing,
|
|
943
|
-
className
|
|
906
|
+
className,
|
|
944
907
|
pattern,
|
|
945
908
|
patternOpacity,
|
|
946
|
-
|
|
909
|
+
containerClassName,
|
|
910
|
+
children: /* @__PURE__ */ jsxs("div", { className: "relative", children: [
|
|
947
911
|
/* @__PURE__ */ jsxs("div", { className: cn("text-center", contentClassName), children: [
|
|
948
912
|
heading && (typeof heading === "string" ? /* @__PURE__ */ jsx(
|
|
949
913
|
"h2",
|
|
@@ -954,18 +918,17 @@ function CtaFeatureCardsGrid({
|
|
|
954
918
|
),
|
|
955
919
|
children: heading
|
|
956
920
|
}
|
|
957
|
-
) :
|
|
921
|
+
) : heading),
|
|
958
922
|
description && (typeof description === "string" ? /* @__PURE__ */ jsx(
|
|
959
923
|
"p",
|
|
960
924
|
{
|
|
961
925
|
className: cn(
|
|
962
926
|
"mx-auto mb-8 max-w-2xl text-lg",
|
|
963
|
-
getTextColor(background, "muted"),
|
|
964
927
|
descriptionClassName
|
|
965
928
|
),
|
|
966
929
|
children: description
|
|
967
930
|
}
|
|
968
|
-
) :
|
|
931
|
+
) : description),
|
|
969
932
|
actionsContent
|
|
970
933
|
] }),
|
|
971
934
|
featuresContent
|