@opensite/ui 2.7.1 → 2.7.2
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-interactive-tabs.cjs +12 -12
- package/dist/about-interactive-tabs.js +12 -12
- package/dist/about-network-spotlight.cjs +632 -655
- package/dist/about-network-spotlight.js +630 -653
- package/dist/about-story-expertise.cjs +12 -20
- package/dist/about-story-expertise.js +12 -20
- package/dist/blog-carousel-apple.cjs +11 -8
- package/dist/blog-carousel-apple.js +11 -8
- package/dist/blog-masonry-featured.cjs +4 -4
- package/dist/blog-masonry-featured.js +4 -4
- package/dist/blog-tech-insights.cjs +48 -63
- package/dist/blog-tech-insights.d.cts +1 -1
- package/dist/blog-tech-insights.d.ts +1 -1
- package/dist/blog-tech-insights.js +48 -63
- package/dist/carousel-scrolling-feature-showcase.cjs +3 -3
- package/dist/carousel-scrolling-feature-showcase.js +3 -3
- package/dist/faq-split-help.cjs +17 -42
- package/dist/faq-split-help.d.cts +1 -1
- package/dist/faq-split-help.d.ts +1 -1
- package/dist/faq-split-help.js +17 -42
- package/dist/registry.cjs +163 -219
- package/dist/registry.js +163 -219
- package/dist/stats-impact-grid.cjs +44 -92
- package/dist/stats-impact-grid.js +44 -92
- package/package.json +1 -1
package/dist/registry.cjs
CHANGED
|
@@ -8767,7 +8767,10 @@ function AboutInteractiveTabs({
|
|
|
8767
8767
|
"div",
|
|
8768
8768
|
{
|
|
8769
8769
|
className: cn(
|
|
8770
|
-
"flex
|
|
8770
|
+
"flex sm:justify-center",
|
|
8771
|
+
"border-b border-border/50",
|
|
8772
|
+
"-mx-4 px-4 sm:mx-0 sm:px-0",
|
|
8773
|
+
"overflow-x-auto gap-2 scrollbar-none",
|
|
8771
8774
|
tabsContainerClassName
|
|
8772
8775
|
),
|
|
8773
8776
|
children: tabs.map((tab) => /* @__PURE__ */ jsxRuntime.jsx(
|
|
@@ -8775,7 +8778,8 @@ function AboutInteractiveTabs({
|
|
|
8775
8778
|
{
|
|
8776
8779
|
onClick: () => handleTabChange(tab.id),
|
|
8777
8780
|
className: cn(
|
|
8778
|
-
"shrink-0 whitespace-nowrap px-6 py-3
|
|
8781
|
+
"shrink-0 whitespace-nowrap px-6 py-3",
|
|
8782
|
+
"text-sm font-medium transition-colors rounded-t-lg",
|
|
8779
8783
|
activeTab === tab.id ? cn(
|
|
8780
8784
|
"border-b-2 border-primary",
|
|
8781
8785
|
"bg-primary text-primary-foreground",
|
|
@@ -8783,7 +8787,8 @@ function AboutInteractiveTabs({
|
|
|
8783
8787
|
) : cn(
|
|
8784
8788
|
"border-b-2 border-muted",
|
|
8785
8789
|
"bg-muted text-muted-foreground",
|
|
8786
|
-
"hover:bg-primary hover:text-primary-foreground hover:border-primary"
|
|
8790
|
+
"hover:bg-primary hover:text-primary-foreground hover:border-primary",
|
|
8791
|
+
"cursor-pointer"
|
|
8787
8792
|
),
|
|
8788
8793
|
tabButtonClassName
|
|
8789
8794
|
),
|
|
@@ -8802,20 +8807,14 @@ function AboutInteractiveTabs({
|
|
|
8802
8807
|
),
|
|
8803
8808
|
children: [
|
|
8804
8809
|
/* @__PURE__ */ jsxRuntime.jsxs("div", { children: [
|
|
8805
|
-
typeof activeContent.title === "string" ? /* @__PURE__ */ jsxRuntime.jsx(
|
|
8806
|
-
"h2",
|
|
8807
|
-
{
|
|
8808
|
-
className: cn("text-3xl font-bold", tabContentTitleClassName),
|
|
8809
|
-
children: activeContent.title
|
|
8810
|
-
}
|
|
8811
|
-
) : /* @__PURE__ */ jsxRuntime.jsx("div", { className: tabContentTitleClassName, children: activeContent.title }),
|
|
8810
|
+
typeof activeContent.title === "string" ? /* @__PURE__ */ jsxRuntime.jsx("h2", { className: cn("font-bold", tabContentTitleClassName), children: activeContent.title }) : activeContent.title,
|
|
8812
8811
|
typeof activeContent.description === "string" ? /* @__PURE__ */ jsxRuntime.jsx(
|
|
8813
8812
|
"p",
|
|
8814
8813
|
{
|
|
8815
8814
|
className: cn("mt-4 text-lg", tabContentDescriptionClassName),
|
|
8816
8815
|
children: activeContent.description
|
|
8817
8816
|
}
|
|
8818
|
-
) :
|
|
8817
|
+
) : activeContent.description
|
|
8819
8818
|
] }),
|
|
8820
8819
|
activeContent.image && /* @__PURE__ */ jsxRuntime.jsx(
|
|
8821
8820
|
img.Img,
|
|
@@ -8823,7 +8822,8 @@ function AboutInteractiveTabs({
|
|
|
8823
8822
|
src: activeContent.image.src,
|
|
8824
8823
|
alt: activeContent.image.alt,
|
|
8825
8824
|
className: cn(
|
|
8826
|
-
"w-full h-
|
|
8825
|
+
"aspect-video w-full h-full",
|
|
8826
|
+
"rounded-2xl shadow-xl object-cover",
|
|
8827
8827
|
tabContentImageClassName
|
|
8828
8828
|
),
|
|
8829
8829
|
optixFlowConfig
|
|
@@ -9017,7 +9017,7 @@ function AboutStoryExpertise({
|
|
|
9017
9017
|
className,
|
|
9018
9018
|
background,
|
|
9019
9019
|
containerClassName = "px-6 sm:px-6 md:px-8 lg:px-8",
|
|
9020
|
-
spacing = "
|
|
9020
|
+
spacing = "hero",
|
|
9021
9021
|
pattern,
|
|
9022
9022
|
patternOpacity,
|
|
9023
9023
|
optixFlowConfig
|
|
@@ -9036,6 +9036,7 @@ function AboutStoryExpertise({
|
|
|
9036
9036
|
"div",
|
|
9037
9037
|
{
|
|
9038
9038
|
className: cn(
|
|
9039
|
+
"bg-card text-card-foreground",
|
|
9039
9040
|
"rounded-2xl border border-border/60 p-6 shadow-xl",
|
|
9040
9041
|
highlightClassName
|
|
9041
9042
|
),
|
|
@@ -9052,7 +9053,7 @@ function AboutStoryExpertise({
|
|
|
9052
9053
|
children: highlight.label
|
|
9053
9054
|
}
|
|
9054
9055
|
) : highlight.label),
|
|
9055
|
-
highlight.title && (typeof highlight.title === "string" ? /* @__PURE__ */ jsxRuntime.jsx("
|
|
9056
|
+
highlight.title && (typeof highlight.title === "string" ? /* @__PURE__ */ jsxRuntime.jsx("div", { className: "text-lg font-bold", children: highlight.title }) : highlight.title)
|
|
9056
9057
|
] })
|
|
9057
9058
|
] }),
|
|
9058
9059
|
highlight.description && (typeof highlight.description === "string" ? /* @__PURE__ */ jsxRuntime.jsx("p", { className: cn("text-sm"), children: highlight.description }) : highlight.description)
|
|
@@ -9077,7 +9078,7 @@ function AboutStoryExpertise({
|
|
|
9077
9078
|
whileInView: { opacity: 1, scale: 1 },
|
|
9078
9079
|
viewport: { once: true, margin: "-50px" },
|
|
9079
9080
|
transition: { duration: 0.3, delay: idx * 0.05 },
|
|
9080
|
-
className: "flex items-start gap-4 rounded-2xl bg-
|
|
9081
|
+
className: "flex items-start gap-4 rounded-2xl bg-card text-card-foreground p-6 shadow-md transition-all duration-300 hover:shadow-xl",
|
|
9081
9082
|
children: [
|
|
9082
9083
|
/* @__PURE__ */ jsxRuntime.jsx(
|
|
9083
9084
|
"div",
|
|
@@ -9089,7 +9090,7 @@ function AboutStoryExpertise({
|
|
|
9089
9090
|
}
|
|
9090
9091
|
),
|
|
9091
9092
|
/* @__PURE__ */ jsxRuntime.jsxs("div", { children: [
|
|
9092
|
-
area.title && (typeof area.title === "string" ? /* @__PURE__ */ jsxRuntime.jsx("
|
|
9093
|
+
area.title && (typeof area.title === "string" ? /* @__PURE__ */ jsxRuntime.jsx("div", { className: "text-lg font-bold", children: area.title }) : area.title),
|
|
9093
9094
|
area.description && (typeof area.description === "string" ? /* @__PURE__ */ jsxRuntime.jsx("p", { className: cn("mt-1 text-sm"), children: area.description }) : /* @__PURE__ */ jsxRuntime.jsx("div", { className: "mt-1", children: area.description }))
|
|
9094
9095
|
] })
|
|
9095
9096
|
]
|
|
@@ -9104,7 +9105,7 @@ function AboutStoryExpertise({
|
|
|
9104
9105
|
{
|
|
9105
9106
|
background,
|
|
9106
9107
|
spacing,
|
|
9107
|
-
className
|
|
9108
|
+
className,
|
|
9108
9109
|
pattern,
|
|
9109
9110
|
patternOpacity,
|
|
9110
9111
|
containerClassName,
|
|
@@ -9129,7 +9130,7 @@ function AboutStoryExpertise({
|
|
|
9129
9130
|
),
|
|
9130
9131
|
children: eyebrow
|
|
9131
9132
|
}
|
|
9132
|
-
) :
|
|
9133
|
+
) : eyebrow),
|
|
9133
9134
|
heading && (typeof heading === "string" ? /* @__PURE__ */ jsxRuntime.jsx(
|
|
9134
9135
|
"h2",
|
|
9135
9136
|
{
|
|
@@ -9139,7 +9140,7 @@ function AboutStoryExpertise({
|
|
|
9139
9140
|
),
|
|
9140
9141
|
children: heading
|
|
9141
9142
|
}
|
|
9142
|
-
) :
|
|
9143
|
+
) : heading)
|
|
9143
9144
|
] }),
|
|
9144
9145
|
storyContent,
|
|
9145
9146
|
/* @__PURE__ */ jsxRuntime.jsx(
|
|
@@ -9165,7 +9166,8 @@ function AboutStoryExpertise({
|
|
|
9165
9166
|
"div",
|
|
9166
9167
|
{
|
|
9167
9168
|
className: cn(
|
|
9168
|
-
"relative overflow-hidden rounded-3xl
|
|
9169
|
+
"relative overflow-hidden rounded-3xl",
|
|
9170
|
+
"border border-border shadow-2xl aspect-square",
|
|
9169
9171
|
imageClassName
|
|
9170
9172
|
),
|
|
9171
9173
|
children: [
|
|
@@ -9195,7 +9197,6 @@ function AboutStoryExpertise({
|
|
|
9195
9197
|
),
|
|
9196
9198
|
children: [
|
|
9197
9199
|
/* @__PURE__ */ jsxRuntime.jsxs("div", { className: "text-center", children: [
|
|
9198
|
-
/* @__PURE__ */ jsxRuntime.jsx("p", { className: cn("text-sm font-semibold uppercase tracking-[0.2em]"), children: "Our Expertise" }),
|
|
9199
9200
|
expertiseHeading && (typeof expertiseHeading === "string" ? /* @__PURE__ */ jsxRuntime.jsx(
|
|
9200
9201
|
"h3",
|
|
9201
9202
|
{
|
|
@@ -9205,7 +9206,7 @@ function AboutStoryExpertise({
|
|
|
9205
9206
|
),
|
|
9206
9207
|
children: expertiseHeading
|
|
9207
9208
|
}
|
|
9208
|
-
) :
|
|
9209
|
+
) : expertiseHeading),
|
|
9209
9210
|
expertiseDescription && (typeof expertiseDescription === "string" ? /* @__PURE__ */ jsxRuntime.jsx(
|
|
9210
9211
|
"p",
|
|
9211
9212
|
{
|
|
@@ -9215,16 +9216,7 @@ function AboutStoryExpertise({
|
|
|
9215
9216
|
),
|
|
9216
9217
|
children: expertiseDescription
|
|
9217
9218
|
}
|
|
9218
|
-
) :
|
|
9219
|
-
"div",
|
|
9220
|
-
{
|
|
9221
|
-
className: cn(
|
|
9222
|
-
"mx-auto mt-3 max-w-2xl",
|
|
9223
|
-
expertiseDescriptionClassName
|
|
9224
|
-
),
|
|
9225
|
-
children: expertiseDescription
|
|
9226
|
-
}
|
|
9227
|
-
))
|
|
9219
|
+
) : expertiseDescription)
|
|
9228
9220
|
] }),
|
|
9229
9221
|
expertiseAreasContent
|
|
9230
9222
|
]
|
|
@@ -9264,12 +9256,14 @@ function AboutNetworkSpotlight({
|
|
|
9264
9256
|
const highlightsContent = React30.useMemo(() => {
|
|
9265
9257
|
if (highlightsSlot) return highlightsSlot;
|
|
9266
9258
|
if (!highlights || highlights.length === 0) return null;
|
|
9267
|
-
return /* @__PURE__ */ jsxRuntime.jsx("ul", { className: cn("mt-6 space-y-3", highlightsClassName), children: highlights.map((item, index) => /* @__PURE__ */ jsxRuntime.jsxs("li", { className: "flex items-start gap-3
|
|
9259
|
+
return /* @__PURE__ */ jsxRuntime.jsx("ul", { className: cn("mt-6 space-y-6 md:space-y-3", highlightsClassName), children: highlights.map((item, index) => /* @__PURE__ */ jsxRuntime.jsxs("li", { className: "flex items-start gap-3", children: [
|
|
9268
9260
|
/* @__PURE__ */ jsxRuntime.jsx(
|
|
9269
9261
|
"span",
|
|
9270
9262
|
{
|
|
9271
9263
|
className: cn(
|
|
9272
|
-
"
|
|
9264
|
+
"flex items-center justify-center shrink-0",
|
|
9265
|
+
"bg-primary text-primary-foreground",
|
|
9266
|
+
"size-fit p-2 rounded-full"
|
|
9273
9267
|
),
|
|
9274
9268
|
children: /* @__PURE__ */ jsxRuntime.jsx(DynamicIcon, { name: "lucide/check", size: 14 })
|
|
9275
9269
|
}
|
|
@@ -9277,34 +9271,6 @@ function AboutNetworkSpotlight({
|
|
|
9277
9271
|
/* @__PURE__ */ jsxRuntime.jsx("span", { children: item })
|
|
9278
9272
|
] }, index)) });
|
|
9279
9273
|
}, [highlightsSlot, highlights, highlightsClassName]);
|
|
9280
|
-
React30.useMemo(() => {
|
|
9281
|
-
if (actionsSlot) return actionsSlot;
|
|
9282
|
-
if (!actions || actions.length === 0) return null;
|
|
9283
|
-
return actions.map((action, index) => {
|
|
9284
|
-
const {
|
|
9285
|
-
label,
|
|
9286
|
-
icon,
|
|
9287
|
-
iconAfter,
|
|
9288
|
-
children,
|
|
9289
|
-
className: actionClassName,
|
|
9290
|
-
...pressableProps
|
|
9291
|
-
} = action;
|
|
9292
|
-
return /* @__PURE__ */ jsxRuntime.jsx(
|
|
9293
|
-
Pressable,
|
|
9294
|
-
{
|
|
9295
|
-
className: actionClassName,
|
|
9296
|
-
asButton: true,
|
|
9297
|
-
...pressableProps,
|
|
9298
|
-
children: children ?? /* @__PURE__ */ jsxRuntime.jsxs(jsxRuntime.Fragment, { children: [
|
|
9299
|
-
icon,
|
|
9300
|
-
label,
|
|
9301
|
-
iconAfter
|
|
9302
|
-
] })
|
|
9303
|
-
},
|
|
9304
|
-
index
|
|
9305
|
-
);
|
|
9306
|
-
});
|
|
9307
|
-
}, [actionsSlot, actions]);
|
|
9308
9274
|
const spotlightCardContent = React30.useMemo(() => {
|
|
9309
9275
|
if (spotlightCardSlot) return spotlightCardSlot;
|
|
9310
9276
|
if (!spotlightCard) return null;
|
|
@@ -9312,23 +9278,26 @@ function AboutNetworkSpotlight({
|
|
|
9312
9278
|
"div",
|
|
9313
9279
|
{
|
|
9314
9280
|
className: cn(
|
|
9315
|
-
"
|
|
9281
|
+
"bg-card text-card-foreground",
|
|
9282
|
+
"rounded-2xl border p-5 backdrop-blur-sm",
|
|
9316
9283
|
spotlightCardClassName
|
|
9317
9284
|
),
|
|
9318
9285
|
children: [
|
|
9319
9286
|
/* @__PURE__ */ jsxRuntime.jsxs("div", { className: "mb-2 flex items-center gap-3", children: [
|
|
9320
|
-
/* @__PURE__ */ jsxRuntime.jsx(
|
|
9287
|
+
spotlightCard.icon && /* @__PURE__ */ jsxRuntime.jsx(
|
|
9321
9288
|
"div",
|
|
9322
9289
|
{
|
|
9323
9290
|
className: cn(
|
|
9324
|
-
"flex
|
|
9291
|
+
"flex items-center justify-center shrink-0",
|
|
9292
|
+
"bg-primary text-primary-foreground",
|
|
9293
|
+
"size-fit p-2 rounded-full"
|
|
9325
9294
|
),
|
|
9326
9295
|
children: spotlightCard.icon
|
|
9327
9296
|
}
|
|
9328
9297
|
),
|
|
9329
9298
|
/* @__PURE__ */ jsxRuntime.jsxs("div", { children: [
|
|
9330
9299
|
typeof spotlightCard.label === "string" ? /* @__PURE__ */ jsxRuntime.jsx("p", { className: cn("text-xs font-bold uppercase tracking-[0.2em]"), children: spotlightCard.label }) : spotlightCard.label,
|
|
9331
|
-
typeof spotlightCard.title === "string" ? /* @__PURE__ */ jsxRuntime.jsx("
|
|
9300
|
+
typeof spotlightCard.title === "string" ? /* @__PURE__ */ jsxRuntime.jsx("div", { className: "text-lg font-bold text-background", children: spotlightCard.title }) : spotlightCard.title
|
|
9332
9301
|
] })
|
|
9333
9302
|
] }),
|
|
9334
9303
|
typeof spotlightCard.description === "string" ? /* @__PURE__ */ jsxRuntime.jsx("p", { className: "text-sm text-background/80", children: spotlightCard.description }) : spotlightCard.description
|
|
@@ -9360,7 +9329,7 @@ function AboutNetworkSpotlight({
|
|
|
9360
9329
|
whileInView: { opacity: 1, x: 0 },
|
|
9361
9330
|
viewport: { once: true, margin: "-50px" },
|
|
9362
9331
|
transition: { duration: 0.5 },
|
|
9363
|
-
children: /* @__PURE__ */ jsxRuntime.jsxs("div", { className: "relative overflow-hidden rounded-3xl
|
|
9332
|
+
children: /* @__PURE__ */ jsxRuntime.jsxs("div", { className: "relative overflow-hidden rounded-3xl shadow-2xl aspect-square", children: [
|
|
9364
9333
|
/* @__PURE__ */ jsxRuntime.jsx(
|
|
9365
9334
|
img.Img,
|
|
9366
9335
|
{
|
|
@@ -21882,7 +21851,7 @@ function CarouselScrollingFeatureShowcase({
|
|
|
21882
21851
|
"div",
|
|
21883
21852
|
{
|
|
21884
21853
|
className: cn(
|
|
21885
|
-
"aspect-square overflow-hidden rounded-xl",
|
|
21854
|
+
"aspect-square overflow-hidden rounded-xl shadow-xl",
|
|
21886
21855
|
imageClassName
|
|
21887
21856
|
),
|
|
21888
21857
|
children: /* @__PURE__ */ jsxRuntime.jsx(framerMotion.AnimatePresence, { mode: "wait", children: activeFeatureData && /* @__PURE__ */ jsxRuntime.jsx(
|
|
@@ -21921,7 +21890,7 @@ function CarouselScrollingFeatureShowcase({
|
|
|
21921
21890
|
feature.className
|
|
21922
21891
|
),
|
|
21923
21892
|
children: [
|
|
21924
|
-
/* @__PURE__ */ jsxRuntime.jsx("div", { className: "mb-6 lg:hidden", children: /* @__PURE__ */ jsxRuntime.jsx("div", { className: "aspect-video overflow-hidden rounded-
|
|
21893
|
+
/* @__PURE__ */ jsxRuntime.jsx("div", { className: "mb-6 lg:hidden", children: /* @__PURE__ */ jsxRuntime.jsx("div", { className: "aspect-video overflow-hidden rounded-xl shadow-xl", children: /* @__PURE__ */ jsxRuntime.jsx(
|
|
21925
21894
|
img.Img,
|
|
21926
21895
|
{
|
|
21927
21896
|
src: feature.image,
|
|
@@ -21946,7 +21915,7 @@ function CarouselScrollingFeatureShowcase({
|
|
|
21946
21915
|
),
|
|
21947
21916
|
/* @__PURE__ */ jsxRuntime.jsxs("div", { children: [
|
|
21948
21917
|
feature.title && (typeof feature.title === "string" ? /* @__PURE__ */ jsxRuntime.jsx("h3", { className: "text-xl md:text-2xl font-semibold", children: feature.title }) : feature.title),
|
|
21949
|
-
feature.description && (typeof feature.description === "string" ? /* @__PURE__ */ jsxRuntime.jsx("p", { className: "mt-4 text-lg", children: feature.description }) : feature.description)
|
|
21918
|
+
feature.description && (typeof feature.description === "string" ? /* @__PURE__ */ jsxRuntime.jsx("p", { className: "mt-4 text-base md:text-lg", children: feature.description }) : feature.description)
|
|
21950
21919
|
] })
|
|
21951
21920
|
] })
|
|
21952
21921
|
]
|
|
@@ -36086,7 +36055,6 @@ function BlogTechInsights({
|
|
|
36086
36055
|
secondaryPosts,
|
|
36087
36056
|
secondaryPostsSlot,
|
|
36088
36057
|
className,
|
|
36089
|
-
containerClassName,
|
|
36090
36058
|
headerClassName,
|
|
36091
36059
|
headingClassName,
|
|
36092
36060
|
descriptionClassName,
|
|
@@ -36098,7 +36066,8 @@ function BlogTechInsights({
|
|
|
36098
36066
|
secondaryPostItemClassName,
|
|
36099
36067
|
optixFlowConfig,
|
|
36100
36068
|
background,
|
|
36101
|
-
|
|
36069
|
+
containerClassName = "px-6 sm:px-6 md:px-8 lg:px-8",
|
|
36070
|
+
spacing = "lg",
|
|
36102
36071
|
pattern,
|
|
36103
36072
|
patternOpacity
|
|
36104
36073
|
}) {
|
|
@@ -36117,11 +36086,7 @@ function BlogTechInsights({
|
|
|
36117
36086
|
Pressable,
|
|
36118
36087
|
{
|
|
36119
36088
|
asButton: true,
|
|
36120
|
-
className: cn(
|
|
36121
|
-
"ml-auto rounded-full border-foreground",
|
|
36122
|
-
actionClassName,
|
|
36123
|
-
readMoreClassName
|
|
36124
|
-
),
|
|
36089
|
+
className: cn("ml-auto", actionClassName, readMoreClassName),
|
|
36125
36090
|
...pressableProps,
|
|
36126
36091
|
children: children ?? /* @__PURE__ */ jsxRuntime.jsxs(jsxRuntime.Fragment, { children: [
|
|
36127
36092
|
icon,
|
|
@@ -36152,7 +36117,7 @@ function BlogTechInsights({
|
|
|
36152
36117
|
/* @__PURE__ */ jsxRuntime.jsx(Avatar, { className: "h-8 w-8 rounded-md md:h-12 md:w-12", children: featuredPost.authorAvatar && /* @__PURE__ */ jsxRuntime.jsx(AvatarImage, { src: featuredPost.authorAvatar }) }),
|
|
36153
36118
|
/* @__PURE__ */ jsxRuntime.jsxs("span", { className: "text-sm md:text-base", children: [
|
|
36154
36119
|
featuredPost.author && /* @__PURE__ */ jsxRuntime.jsx("span", { className: "block", children: featuredPost.author }),
|
|
36155
|
-
featuredPost.authorRole && /* @__PURE__ */ jsxRuntime.jsx("span", { className: "text-xs
|
|
36120
|
+
featuredPost.authorRole && /* @__PURE__ */ jsxRuntime.jsx("span", { className: "text-xs md:text-sm", children: featuredPost.authorRole })
|
|
36156
36121
|
] })
|
|
36157
36122
|
] })
|
|
36158
36123
|
] });
|
|
@@ -36200,7 +36165,7 @@ function BlogTechInsights({
|
|
|
36200
36165
|
) }),
|
|
36201
36166
|
/* @__PURE__ */ jsxRuntime.jsxs("div", { className: "flex-1", children: [
|
|
36202
36167
|
post.title && /* @__PURE__ */ jsxRuntime.jsx("h3", { className: "font-semibold text-md line-clamp-2", children: post.title }),
|
|
36203
|
-
truncatedDescription && /* @__PURE__ */ jsxRuntime.jsx("p", { className: "mt-1 text-sm leading-snug
|
|
36168
|
+
truncatedDescription && /* @__PURE__ */ jsxRuntime.jsx("p", { className: "mt-1 text-sm leading-snug md:text-base line-clamp-2", children: truncatedDescription })
|
|
36204
36169
|
] })
|
|
36205
36170
|
]
|
|
36206
36171
|
}
|
|
@@ -36232,64 +36197,53 @@ function BlogTechInsights({
|
|
|
36232
36197
|
className: cn("dark relative", className),
|
|
36233
36198
|
pattern,
|
|
36234
36199
|
patternOpacity,
|
|
36235
|
-
|
|
36236
|
-
|
|
36237
|
-
{
|
|
36238
|
-
|
|
36239
|
-
"
|
|
36240
|
-
|
|
36241
|
-
|
|
36242
|
-
|
|
36243
|
-
|
|
36244
|
-
|
|
36245
|
-
|
|
36246
|
-
|
|
36247
|
-
|
|
36248
|
-
|
|
36249
|
-
|
|
36250
|
-
|
|
36251
|
-
children: heading
|
|
36252
|
-
}
|
|
36253
|
-
) : /* @__PURE__ */ jsxRuntime.jsx("div", { className: headingClassName, children: heading })),
|
|
36254
|
-
/* @__PURE__ */ jsxRuntime.jsxs("div", { className: "mt-4 flex justify-start", children: [
|
|
36255
|
-
description && (typeof description === "string" ? /* @__PURE__ */ jsxRuntime.jsx(
|
|
36256
|
-
"span",
|
|
36257
|
-
{
|
|
36258
|
-
className: cn(
|
|
36259
|
-
"mt-2 block text-sm text-muted-foreground md:text-base",
|
|
36260
|
-
descriptionClassName
|
|
36261
|
-
),
|
|
36262
|
-
children: description
|
|
36263
|
-
}
|
|
36264
|
-
) : /* @__PURE__ */ jsxRuntime.jsx("div", { className: descriptionClassName, children: description })),
|
|
36265
|
-
readMoreActionContent
|
|
36266
|
-
] })
|
|
36267
|
-
] }),
|
|
36268
|
-
/* @__PURE__ */ jsxRuntime.jsxs(
|
|
36269
|
-
"div",
|
|
36200
|
+
containerClassName,
|
|
36201
|
+
children: /* @__PURE__ */ jsxRuntime.jsxs("div", { className: cn("flex flex-col items-center gap-8 md:gap-14"), children: [
|
|
36202
|
+
/* @__PURE__ */ jsxRuntime.jsxs("div", { className: cn("w-full", headerClassName), children: [
|
|
36203
|
+
heading && (typeof heading === "string" ? /* @__PURE__ */ jsxRuntime.jsx(
|
|
36204
|
+
"h1",
|
|
36205
|
+
{
|
|
36206
|
+
className: cn(
|
|
36207
|
+
"text-3xl font-bold md:text-4xl lg:text-5xl",
|
|
36208
|
+
headingClassName
|
|
36209
|
+
),
|
|
36210
|
+
children: heading
|
|
36211
|
+
}
|
|
36212
|
+
) : heading),
|
|
36213
|
+
/* @__PURE__ */ jsxRuntime.jsxs("div", { className: "mt-4 flex justify-start", children: [
|
|
36214
|
+
description && (typeof description === "string" ? /* @__PURE__ */ jsxRuntime.jsx(
|
|
36215
|
+
"span",
|
|
36270
36216
|
{
|
|
36271
36217
|
className: cn(
|
|
36272
|
-
"
|
|
36273
|
-
|
|
36218
|
+
"mt-2 block text-sm md:text-base",
|
|
36219
|
+
descriptionClassName
|
|
36274
36220
|
),
|
|
36275
|
-
children:
|
|
36276
|
-
featuredPostContent,
|
|
36277
|
-
/* @__PURE__ */ jsxRuntime.jsx(
|
|
36278
|
-
"div",
|
|
36279
|
-
{
|
|
36280
|
-
className: cn(
|
|
36281
|
-
"space-y-6 md:space-y-8",
|
|
36282
|
-
secondaryPostsClassName
|
|
36283
|
-
),
|
|
36284
|
-
children: secondaryPostsContent
|
|
36285
|
-
}
|
|
36286
|
-
)
|
|
36287
|
-
]
|
|
36221
|
+
children: description
|
|
36288
36222
|
}
|
|
36289
|
-
)
|
|
36290
|
-
|
|
36291
|
-
|
|
36292
|
-
|
|
36223
|
+
) : description),
|
|
36224
|
+
readMoreActionContent
|
|
36225
|
+
] })
|
|
36226
|
+
] }),
|
|
36227
|
+
/* @__PURE__ */ jsxRuntime.jsxs(
|
|
36228
|
+
"div",
|
|
36229
|
+
{
|
|
36230
|
+
className: cn(
|
|
36231
|
+
"grid grid-cols-1 gap-8 md:grid-cols-2 lg:gap-12",
|
|
36232
|
+
contentClassName
|
|
36233
|
+
),
|
|
36234
|
+
children: [
|
|
36235
|
+
featuredPostContent,
|
|
36236
|
+
/* @__PURE__ */ jsxRuntime.jsx(
|
|
36237
|
+
"div",
|
|
36238
|
+
{
|
|
36239
|
+
className: cn("space-y-6 md:space-y-8", secondaryPostsClassName),
|
|
36240
|
+
children: secondaryPostsContent
|
|
36241
|
+
}
|
|
36242
|
+
)
|
|
36243
|
+
]
|
|
36244
|
+
}
|
|
36245
|
+
)
|
|
36246
|
+
] })
|
|
36293
36247
|
}
|
|
36294
36248
|
);
|
|
36295
36249
|
}
|
|
@@ -36896,7 +36850,7 @@ function BlogMasonryFeaturedComponent({
|
|
|
36896
36850
|
optixFlowConfig,
|
|
36897
36851
|
background,
|
|
36898
36852
|
containerClassName = "px-6 sm:px-6 md:px-8 lg:px-8",
|
|
36899
|
-
spacing = "
|
|
36853
|
+
spacing = "hero",
|
|
36900
36854
|
pattern,
|
|
36901
36855
|
patternOpacity
|
|
36902
36856
|
}) {
|
|
@@ -36937,7 +36891,7 @@ function BlogMasonryFeaturedComponent({
|
|
|
36937
36891
|
(featuredPost.date || featuredPost.published) && featuredPost.author && "\xB7",
|
|
36938
36892
|
featuredPost.author && /* @__PURE__ */ jsxRuntime.jsx("span", { children: featuredPost.author })
|
|
36939
36893
|
] }),
|
|
36940
|
-
featuredPost.title && (typeof featuredPost.title === "string" ? /* @__PURE__ */ jsxRuntime.jsx("
|
|
36894
|
+
featuredPost.title && (typeof featuredPost.title === "string" ? /* @__PURE__ */ jsxRuntime.jsx("div", { className: "text-2xl font-semibold", children: featuredPost.title }) : featuredPost.title),
|
|
36941
36895
|
(featuredPost.description || featuredPost.summary) && /* @__PURE__ */ jsxRuntime.jsx("p", { className: "mt-4 text-sm font-normal", children: featuredPost.description || featuredPost.summary })
|
|
36942
36896
|
] })
|
|
36943
36897
|
]
|
|
@@ -36979,7 +36933,7 @@ function BlogMasonryFeaturedComponent({
|
|
|
36979
36933
|
(post.date || post.published) && post.author && "\xB7",
|
|
36980
36934
|
post.author && /* @__PURE__ */ jsxRuntime.jsx("span", { children: post.author })
|
|
36981
36935
|
] }),
|
|
36982
|
-
post.title && (typeof post.title === "string" ? /* @__PURE__ */ jsxRuntime.jsx("
|
|
36936
|
+
post.title && (typeof post.title === "string" ? /* @__PURE__ */ jsxRuntime.jsx("div", { className: "text-lg font-semibold", children: post.title }) : post.title)
|
|
36983
36937
|
] })
|
|
36984
36938
|
]
|
|
36985
36939
|
},
|
|
@@ -36992,7 +36946,7 @@ function BlogMasonryFeaturedComponent({
|
|
|
36992
36946
|
{
|
|
36993
36947
|
background,
|
|
36994
36948
|
spacing,
|
|
36995
|
-
className
|
|
36949
|
+
className,
|
|
36996
36950
|
pattern,
|
|
36997
36951
|
patternOpacity,
|
|
36998
36952
|
containerClassName,
|
|
@@ -37357,9 +37311,8 @@ var AppleCarousel = ({
|
|
|
37357
37311
|
"div",
|
|
37358
37312
|
{
|
|
37359
37313
|
className: cn(
|
|
37360
|
-
"flex flex-row justify-start
|
|
37361
|
-
"mx-auto
|
|
37362
|
-
// remove max-w-4xl if you want the carousel to span the full width of its container
|
|
37314
|
+
"flex flex-row justify-start",
|
|
37315
|
+
"mx-auto gap-4 pl-4",
|
|
37363
37316
|
containerClassName
|
|
37364
37317
|
),
|
|
37365
37318
|
children: items.map((item, index) => /* @__PURE__ */ jsxRuntime.jsx(
|
|
@@ -37436,7 +37389,9 @@ var AppleCarouselCard = ({
|
|
|
37436
37389
|
"div",
|
|
37437
37390
|
{
|
|
37438
37391
|
className: cn(
|
|
37439
|
-
"
|
|
37392
|
+
"text-left text-white text-shadow-lg",
|
|
37393
|
+
"relative z-40 p-4 md:p-8",
|
|
37394
|
+
"text-balance",
|
|
37440
37395
|
contentClassName
|
|
37441
37396
|
),
|
|
37442
37397
|
children: [
|
|
@@ -37444,7 +37399,7 @@ var AppleCarouselCard = ({
|
|
|
37444
37399
|
react.motion.p,
|
|
37445
37400
|
{
|
|
37446
37401
|
layoutId: layout ? `category-${card.category}-${index}` : void 0,
|
|
37447
|
-
className: "text-
|
|
37402
|
+
className: "text-sm font-bold md:text-base tracking-tight uppercase",
|
|
37448
37403
|
children: card.category
|
|
37449
37404
|
}
|
|
37450
37405
|
),
|
|
@@ -37452,7 +37407,7 @@ var AppleCarouselCard = ({
|
|
|
37452
37407
|
react.motion.p,
|
|
37453
37408
|
{
|
|
37454
37409
|
layoutId: layout ? `title-${card.title}-${index}` : void 0,
|
|
37455
|
-
className: "mt-2
|
|
37410
|
+
className: "mt-2 text-lg md:text-2xl font-semibold",
|
|
37456
37411
|
children: card.title
|
|
37457
37412
|
}
|
|
37458
37413
|
)
|
|
@@ -37465,7 +37420,9 @@ var AppleCarouselCard = ({
|
|
|
37465
37420
|
src: card.src,
|
|
37466
37421
|
alt: card.title,
|
|
37467
37422
|
className: cn(
|
|
37468
|
-
"absolute inset-0 z-10
|
|
37423
|
+
"absolute inset-0 z-10",
|
|
37424
|
+
"h-full w-full object-cover",
|
|
37425
|
+
action.type !== "none" ? "cursor-pointer transition-all duration-500 brightness-75 hover:brightness-50" : "brightness-75",
|
|
37469
37426
|
imageClassName
|
|
37470
37427
|
),
|
|
37471
37428
|
optixFlowConfig
|
|
@@ -37586,7 +37543,7 @@ function BlogCarouselAppleComponent({
|
|
|
37586
37543
|
spacing,
|
|
37587
37544
|
pattern,
|
|
37588
37545
|
patternOpacity,
|
|
37589
|
-
className
|
|
37546
|
+
className,
|
|
37590
37547
|
children: /* @__PURE__ */ jsxRuntime.jsx(
|
|
37591
37548
|
AppleCarousel,
|
|
37592
37549
|
{
|
|
@@ -39797,12 +39754,12 @@ function FaqSplitHelp({
|
|
|
39797
39754
|
helpAction,
|
|
39798
39755
|
helpSlot,
|
|
39799
39756
|
background,
|
|
39800
|
-
|
|
39757
|
+
containerClassName = "px-6 sm:px-6 md:px-8 lg:px-8",
|
|
39758
|
+
spacing = "lg",
|
|
39801
39759
|
pattern,
|
|
39802
39760
|
patternOpacity,
|
|
39803
39761
|
patternClassName,
|
|
39804
39762
|
className,
|
|
39805
|
-
containerClassName,
|
|
39806
39763
|
leftColumnClassName,
|
|
39807
39764
|
headingClassName,
|
|
39808
39765
|
descriptionClassName,
|
|
@@ -39834,14 +39791,14 @@ function FaqSplitHelp({
|
|
|
39834
39791
|
"transition-opacity duration-200 hover:no-underline hover:opacity-60",
|
|
39835
39792
|
accordionTriggerClassName
|
|
39836
39793
|
),
|
|
39837
|
-
children: /* @__PURE__ */ jsxRuntime.jsx("div", { className: "font-medium
|
|
39794
|
+
children: /* @__PURE__ */ jsxRuntime.jsx("div", { className: "font-medium py-1 md:py-2 text-lg", children: item.question })
|
|
39838
39795
|
}
|
|
39839
39796
|
),
|
|
39840
39797
|
/* @__PURE__ */ jsxRuntime.jsx(
|
|
39841
39798
|
AccordionContent,
|
|
39842
39799
|
{
|
|
39843
|
-
className: cn("
|
|
39844
|
-
children: /* @__PURE__ */ jsxRuntime.jsx("div", { className: "
|
|
39800
|
+
className: cn("mb-1 md:mb-2", accordionContentClassName),
|
|
39801
|
+
children: /* @__PURE__ */ jsxRuntime.jsx("div", { className: "text-base md:text-lg", children: item.answer })
|
|
39845
39802
|
}
|
|
39846
39803
|
)
|
|
39847
39804
|
]
|
|
@@ -39864,9 +39821,12 @@ function FaqSplitHelp({
|
|
|
39864
39821
|
"div",
|
|
39865
39822
|
{
|
|
39866
39823
|
className: cn(
|
|
39867
|
-
"
|
|
39868
|
-
|
|
39869
|
-
|
|
39824
|
+
"flex flex-col items-center",
|
|
39825
|
+
"md:flex-row md:justify-between",
|
|
39826
|
+
"mt-8 md:mt-16 p-6 lg:p-8",
|
|
39827
|
+
"gap-4 text-center md:text-left",
|
|
39828
|
+
"rounded-lg shadow-lg",
|
|
39829
|
+
"bg-card text-card-foreground",
|
|
39870
39830
|
helpSectionClassName
|
|
39871
39831
|
),
|
|
39872
39832
|
children: [
|
|
@@ -39910,20 +39870,22 @@ function FaqSplitHelp({
|
|
|
39910
39870
|
patternOpacity,
|
|
39911
39871
|
patternClassName,
|
|
39912
39872
|
className,
|
|
39913
|
-
|
|
39873
|
+
containerClassName,
|
|
39874
|
+
children: /* @__PURE__ */ jsxRuntime.jsxs("div", { className: "relative", children: [
|
|
39914
39875
|
/* @__PURE__ */ jsxRuntime.jsxs("div", { className: "flex flex-col gap-10 lg:flex-row lg:gap-20", children: [
|
|
39915
39876
|
/* @__PURE__ */ jsxRuntime.jsxs("div", { className: cn("lg:w-1/3", leftColumnClassName), children: [
|
|
39916
39877
|
heading && (typeof heading === "string" ? /* @__PURE__ */ jsxRuntime.jsx(
|
|
39917
39878
|
"h2",
|
|
39918
39879
|
{
|
|
39919
39880
|
className: cn(
|
|
39920
|
-
"
|
|
39881
|
+
"text-3xl lg:text-4xl font-semibold",
|
|
39882
|
+
"mb-3 md:mb-4 lg:mb-6",
|
|
39921
39883
|
headingClassName
|
|
39922
39884
|
),
|
|
39923
39885
|
children: heading
|
|
39924
39886
|
}
|
|
39925
|
-
) :
|
|
39926
|
-
description && (typeof description === "string" ? /* @__PURE__ */ jsxRuntime.jsx("p", { className: cn("
|
|
39887
|
+
) : heading),
|
|
39888
|
+
description && (typeof description === "string" ? /* @__PURE__ */ jsxRuntime.jsx("p", { className: cn("text-base md:text-lg", descriptionClassName), children: description }) : description)
|
|
39927
39889
|
] }),
|
|
39928
39890
|
itemsContent
|
|
39929
39891
|
] }),
|
|
@@ -95072,14 +95034,7 @@ function StatsImpactGrid({
|
|
|
95072
95034
|
const renderStatIcon = React30.useCallback((stat) => {
|
|
95073
95035
|
if (stat.iconSlot) return stat.iconSlot;
|
|
95074
95036
|
if (!stat.icon) return null;
|
|
95075
|
-
return /* @__PURE__ */ jsxRuntime.jsx("div", { className: "mb-6", children: /* @__PURE__ */ jsxRuntime.jsx(
|
|
95076
|
-
DynamicIcon,
|
|
95077
|
-
{
|
|
95078
|
-
name: stat.icon,
|
|
95079
|
-
size: 32,
|
|
95080
|
-
className: stat.iconColor || "text-primary"
|
|
95081
|
-
}
|
|
95082
|
-
) });
|
|
95037
|
+
return /* @__PURE__ */ jsxRuntime.jsx("div", { className: "mb-6", children: /* @__PURE__ */ jsxRuntime.jsx(DynamicIcon, { name: stat.icon, size: 32, className: stat.iconColor }) });
|
|
95083
95038
|
}, []);
|
|
95084
95039
|
const statsContent = React30.useMemo(() => {
|
|
95085
95040
|
if (statsSlot) return statsSlot;
|
|
@@ -95107,7 +95062,7 @@ function StatsImpactGrid({
|
|
|
95107
95062
|
stat.suffix && /* @__PURE__ */ jsxRuntime.jsx("span", { className: "mb-1 ml-1 text-2xl font-bold", children: stat.suffix })
|
|
95108
95063
|
] }),
|
|
95109
95064
|
stat.label && /* @__PURE__ */ jsxRuntime.jsx("div", { className: "mb-4 text-xl font-semibold", children: stat.label }),
|
|
95110
|
-
stat.description && (typeof stat.description === "string" ? /* @__PURE__ */ jsxRuntime.jsx("p", { className: "
|
|
95065
|
+
stat.description && (typeof stat.description === "string" ? /* @__PURE__ */ jsxRuntime.jsx("p", { className: "opacity-75", children: stat.description }) : stat.description)
|
|
95111
95066
|
] })
|
|
95112
95067
|
},
|
|
95113
95068
|
stat.id
|
|
@@ -95129,56 +95084,45 @@ function StatsImpactGrid({
|
|
|
95129
95084
|
if (comparisonSlot) return comparisonSlot;
|
|
95130
95085
|
if (!hasComparisonContent) return null;
|
|
95131
95086
|
const hasProgressBars = baselineLabel && targetLabel && baselinePercent !== void 0 && targetPercent !== void 0;
|
|
95132
|
-
return /* @__PURE__ */ jsxRuntime.jsx(
|
|
95133
|
-
"div",
|
|
95134
|
-
|
|
95135
|
-
className:
|
|
95136
|
-
|
|
95137
|
-
|
|
95138
|
-
|
|
95139
|
-
|
|
95140
|
-
|
|
95141
|
-
|
|
95142
|
-
|
|
95143
|
-
|
|
95144
|
-
|
|
95145
|
-
|
|
95146
|
-
/* @__PURE__ */ jsxRuntime.jsxs("div", { className: "flex items-center gap-4", children: [
|
|
95147
|
-
/* @__PURE__ */ jsxRuntime.jsx("div", { className: "h-2 w-full overflow-hidden rounded-full bg-muted-foreground/20", children: /* @__PURE__ */ jsxRuntime.jsx(
|
|
95148
|
-
"div",
|
|
95149
|
-
{
|
|
95150
|
-
className: "h-full bg-muted-foreground",
|
|
95151
|
-
style: { width: `${baselinePercent}%` }
|
|
95152
|
-
}
|
|
95153
|
-
) }),
|
|
95154
|
-
/* @__PURE__ */ jsxRuntime.jsx("span", { className: "min-w-[60px] text-sm font-medium", children: baselineLabel })
|
|
95155
|
-
] }),
|
|
95156
|
-
/* @__PURE__ */ jsxRuntime.jsxs("div", { className: "flex items-center gap-4", children: [
|
|
95157
|
-
/* @__PURE__ */ jsxRuntime.jsx("div", { className: "h-2 w-full overflow-hidden rounded-full bg-primary/20", children: /* @__PURE__ */ jsxRuntime.jsx(
|
|
95158
|
-
"div",
|
|
95159
|
-
{
|
|
95160
|
-
className: "h-full bg-primary",
|
|
95161
|
-
style: { width: `${targetPercent}%` }
|
|
95162
|
-
}
|
|
95163
|
-
) }),
|
|
95164
|
-
/* @__PURE__ */ jsxRuntime.jsx("span", { className: "min-w-[60px] text-sm font-medium", children: targetLabel })
|
|
95165
|
-
] })
|
|
95166
|
-
] })
|
|
95087
|
+
return /* @__PURE__ */ jsxRuntime.jsx("div", { className: cn("mb-16 rounded-xl p-8", comparisonClassName), children: /* @__PURE__ */ jsxRuntime.jsxs("div", { className: "grid gap-8 md:grid-cols-[minmax(0,1fr)_minmax(0,240px)] md:items-start md:gap-12", children: [
|
|
95088
|
+
/* @__PURE__ */ jsxRuntime.jsxs("div", { children: [
|
|
95089
|
+
comparisonHeading && (typeof comparisonHeading === "string" ? /* @__PURE__ */ jsxRuntime.jsx("h3", { className: "mb-4 text-2xl font-bold", children: comparisonHeading }) : comparisonHeading),
|
|
95090
|
+
comparisonDescription && (typeof comparisonDescription === "string" ? /* @__PURE__ */ jsxRuntime.jsx("p", { className: "mb-6 text-muted-foreground", children: comparisonDescription }) : comparisonDescription),
|
|
95091
|
+
hasProgressBars && /* @__PURE__ */ jsxRuntime.jsxs("div", { className: "space-y-4", children: [
|
|
95092
|
+
/* @__PURE__ */ jsxRuntime.jsxs("div", { className: "flex items-center gap-4", children: [
|
|
95093
|
+
/* @__PURE__ */ jsxRuntime.jsx("div", { className: "h-2 w-full overflow-hidden rounded-full bg-muted-foreground/20", children: /* @__PURE__ */ jsxRuntime.jsx(
|
|
95094
|
+
"div",
|
|
95095
|
+
{
|
|
95096
|
+
className: "h-full bg-muted-foreground",
|
|
95097
|
+
style: { width: `${baselinePercent}%` }
|
|
95098
|
+
}
|
|
95099
|
+
) }),
|
|
95100
|
+
/* @__PURE__ */ jsxRuntime.jsx("span", { className: "min-w-[60px] text-sm font-medium", children: baselineLabel })
|
|
95167
95101
|
] }),
|
|
95168
|
-
|
|
95169
|
-
|
|
95170
|
-
|
|
95171
|
-
|
|
95172
|
-
|
|
95173
|
-
|
|
95174
|
-
|
|
95175
|
-
|
|
95176
|
-
|
|
95177
|
-
|
|
95178
|
-
] }) })
|
|
95102
|
+
/* @__PURE__ */ jsxRuntime.jsxs("div", { className: "flex items-center gap-4", children: [
|
|
95103
|
+
/* @__PURE__ */ jsxRuntime.jsx("div", { className: "h-2 w-full overflow-hidden rounded-full bg-primary/20", children: /* @__PURE__ */ jsxRuntime.jsx(
|
|
95104
|
+
"div",
|
|
95105
|
+
{
|
|
95106
|
+
className: "h-full bg-primary",
|
|
95107
|
+
style: { width: `${targetPercent}%` }
|
|
95108
|
+
}
|
|
95109
|
+
) }),
|
|
95110
|
+
/* @__PURE__ */ jsxRuntime.jsx("span", { className: "min-w-[60px] text-sm font-medium", children: targetLabel })
|
|
95111
|
+
] })
|
|
95179
95112
|
] })
|
|
95180
|
-
}
|
|
95181
|
-
|
|
95113
|
+
] }),
|
|
95114
|
+
(baselineValue || targetValue) && /* @__PURE__ */ jsxRuntime.jsx("div", { className: "rounded-lg border bg-background/70 p-6 text-center shadow-sm md:text-left", children: /* @__PURE__ */ jsxRuntime.jsxs("div", { className: "space-y-4", children: [
|
|
95115
|
+
baselineValue && /* @__PURE__ */ jsxRuntime.jsxs("div", { children: [
|
|
95116
|
+
baselineLabel && /* @__PURE__ */ jsxRuntime.jsx("div", { className: "text-xs font-semibold uppercase tracking-wide text-muted-foreground", children: baselineLabel }),
|
|
95117
|
+
/* @__PURE__ */ jsxRuntime.jsx("div", { className: "text-3xl font-bold", children: baselineValue })
|
|
95118
|
+
] }),
|
|
95119
|
+
baselineValue && targetValue && /* @__PURE__ */ jsxRuntime.jsx("div", { className: "h-px bg-border" }),
|
|
95120
|
+
targetValue && /* @__PURE__ */ jsxRuntime.jsxs("div", { children: [
|
|
95121
|
+
targetLabel && /* @__PURE__ */ jsxRuntime.jsx("div", { className: "text-xs font-semibold uppercase tracking-wide text-primary", children: targetLabel }),
|
|
95122
|
+
/* @__PURE__ */ jsxRuntime.jsx("div", { className: "text-4xl font-bold text-primary", children: targetValue })
|
|
95123
|
+
] })
|
|
95124
|
+
] }) })
|
|
95125
|
+
] }) });
|
|
95182
95126
|
}, [
|
|
95183
95127
|
comparisonSlot,
|
|
95184
95128
|
hasComparisonContent,
|
|
@@ -95228,7 +95172,7 @@ function StatsImpactGrid({
|
|
|
95228
95172
|
if (ctaSlot) return ctaSlot;
|
|
95229
95173
|
if (!ctaHeading && (!actions || actions.length === 0)) return null;
|
|
95230
95174
|
return /* @__PURE__ */ jsxRuntime.jsxs("div", { className: cn("text-center", ctaClassName), children: [
|
|
95231
|
-
ctaHeading && (typeof ctaHeading === "string" ? /* @__PURE__ */ jsxRuntime.jsx("h3", { className: "mb-6 text-2xl font-bold", children: ctaHeading }) :
|
|
95175
|
+
ctaHeading && (typeof ctaHeading === "string" ? /* @__PURE__ */ jsxRuntime.jsx("h3", { className: "mb-6 text-2xl font-bold", children: ctaHeading }) : ctaHeading),
|
|
95232
95176
|
actionsContent
|
|
95233
95177
|
] });
|
|
95234
95178
|
}, [ctaSlot, ctaHeading, actions, ctaClassName, actionsContent]);
|
|
@@ -95250,22 +95194,22 @@ function StatsImpactGrid({
|
|
|
95250
95194
|
"h2",
|
|
95251
95195
|
{
|
|
95252
95196
|
className: cn(
|
|
95253
|
-
"mb-4 text-3xl font-bold md:text-5xl",
|
|
95197
|
+
"mb-4 text-3xl font-bold md:text-5xl text-balance",
|
|
95254
95198
|
headingClassName
|
|
95255
95199
|
),
|
|
95256
95200
|
children: heading
|
|
95257
95201
|
}
|
|
95258
|
-
) :
|
|
95202
|
+
) : heading),
|
|
95259
95203
|
description && (typeof description === "string" ? /* @__PURE__ */ jsxRuntime.jsx(
|
|
95260
95204
|
"p",
|
|
95261
95205
|
{
|
|
95262
95206
|
className: cn(
|
|
95263
|
-
"mx-auto max-w-3xl text-lg text-
|
|
95207
|
+
"mx-auto max-w-3xl text-lg text-balance",
|
|
95264
95208
|
descriptionClassName
|
|
95265
95209
|
),
|
|
95266
95210
|
children: description
|
|
95267
95211
|
}
|
|
95268
|
-
) :
|
|
95212
|
+
) : description)
|
|
95269
95213
|
] }),
|
|
95270
95214
|
statsContent,
|
|
95271
95215
|
comparisonContent,
|