@opensite/ui 0.8.4 → 0.8.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/article-breadcrumb-social.cjs +57 -73
- package/dist/article-breadcrumb-social.d.cts +2 -24
- package/dist/article-breadcrumb-social.d.ts +2 -24
- package/dist/article-breadcrumb-social.js +57 -73
- package/dist/article-compact-toc.cjs +1 -1
- package/dist/article-compact-toc.js +1 -1
- package/dist/article-sidebar-sticky.cjs +73 -26
- package/dist/article-sidebar-sticky.js +73 -26
- package/dist/blog-horizontal-timeline.cjs +7 -4
- package/dist/blog-horizontal-timeline.js +7 -4
- package/dist/faq-badge-support.cjs +18 -5
- package/dist/faq-badge-support.js +18 -5
- package/dist/faq-bordered-badge.cjs +23 -7
- package/dist/faq-bordered-badge.js +23 -7
- package/dist/faq-card-categories.cjs +20 -4
- package/dist/faq-card-categories.js +20 -4
- package/dist/faq-categorized-sections.cjs +19 -4
- package/dist/faq-categorized-sections.js +19 -4
- package/dist/faq-centered-accordion.cjs +18 -5
- package/dist/faq-centered-accordion.js +18 -5
- package/dist/faq-gradient-categories.cjs +19 -4
- package/dist/faq-gradient-categories.js +19 -4
- package/dist/faq-icon-benefits.cjs +11 -2
- package/dist/faq-icon-benefits.js +11 -2
- package/dist/faq-muted-cards.cjs +19 -6
- package/dist/faq-muted-cards.js +19 -6
- package/dist/faq-numbered-grid.cjs +11 -3
- package/dist/faq-numbered-grid.js +11 -3
- package/dist/faq-numbered-list.cjs +11 -3
- package/dist/faq-numbered-list.js +11 -3
- package/dist/faq-profile-sidebar.cjs +57 -20
- package/dist/faq-profile-sidebar.js +57 -20
- package/dist/faq-rounded-cards.cjs +26 -19
- package/dist/faq-rounded-cards.js +26 -19
- package/dist/faq-sidebar-navigation.cjs +48 -28
- package/dist/faq-sidebar-navigation.js +48 -28
- package/dist/faq-simple-accordion.cjs +17 -4
- package/dist/faq-simple-accordion.js +17 -4
- package/dist/faq-split-help.cjs +25 -6
- package/dist/faq-split-help.js +25 -6
- package/dist/faq-split-hero.cjs +604 -0
- package/dist/faq-split-hero.d.cts +116 -0
- package/dist/faq-split-hero.d.ts +116 -0
- package/dist/faq-split-hero.js +582 -0
- package/dist/faq-static-list.cjs +9 -2
- package/dist/faq-static-list.js +9 -2
- package/dist/feature-accordion-image.cjs +8 -2
- package/dist/feature-accordion-image.js +8 -2
- package/dist/feature-badge-grid-six.cjs +1 -1
- package/dist/feature-badge-grid-six.js +1 -1
- package/dist/feature-card-grid-linked.cjs +92 -22
- package/dist/feature-card-grid-linked.js +92 -22
- package/dist/feature-carousel-progress.cjs +1 -1
- package/dist/feature-carousel-progress.js +1 -1
- package/dist/feature-checklist-image.cjs +88 -15
- package/dist/feature-checklist-image.js +88 -15
- package/dist/feature-checklist-three-column.cjs +1 -1
- package/dist/feature-checklist-three-column.js +1 -1
- package/dist/feature-icon-grid-accent.cjs +50 -8
- package/dist/feature-icon-grid-accent.js +50 -8
- package/dist/feature-icon-grid-bordered.cjs +84 -14
- package/dist/feature-icon-grid-bordered.js +84 -14
- package/dist/feature-icon-tabs-content.cjs +217 -84
- package/dist/feature-icon-tabs-content.js +217 -84
- package/dist/feature-image-overlay-badge.cjs +106 -33
- package/dist/feature-image-overlay-badge.js +106 -33
- package/dist/feature-numbered-cards.cjs +154 -35
- package/dist/feature-numbered-cards.js +154 -35
- package/dist/feature-showcase.cjs +66 -71
- package/dist/feature-showcase.d.cts +1 -5
- package/dist/feature-showcase.d.ts +1 -5
- package/dist/feature-showcase.js +67 -72
- package/dist/feature-split-image-reverse.cjs +84 -15
- package/dist/feature-split-image-reverse.js +84 -15
- package/dist/feature-split-image.cjs +87 -15
- package/dist/feature-split-image.js +87 -15
- package/dist/feature-stats-highlight.cjs +50 -13
- package/dist/feature-stats-highlight.js +50 -13
- package/dist/feature-tabbed-content-image.cjs +198 -72
- package/dist/feature-tabbed-content-image.js +198 -72
- package/dist/feature-three-column-values.cjs +67 -14
- package/dist/feature-three-column-values.js +67 -14
- package/dist/feature-utility-cards-grid.cjs +83 -36
- package/dist/feature-utility-cards-grid.js +83 -36
- package/dist/navbar-animated-preview.cjs +8 -2
- package/dist/navbar-animated-preview.js +8 -2
- package/dist/navbar-centered-menu.cjs +8 -2
- package/dist/navbar-centered-menu.js +8 -2
- package/dist/navbar-dark-icons.cjs +8 -2
- package/dist/navbar-dark-icons.js +8 -2
- package/dist/navbar-dropdown-menu.cjs +8 -2
- package/dist/navbar-dropdown-menu.js +8 -2
- package/dist/navbar-education-platform.cjs +8 -2
- package/dist/navbar-education-platform.js +8 -2
- package/dist/navbar-enterprise-mega.cjs +8 -2
- package/dist/navbar-enterprise-mega.js +8 -2
- package/dist/navbar-feature-grid.cjs +8 -2
- package/dist/navbar-feature-grid.js +8 -2
- package/dist/navbar-multi-column-groups.cjs +8 -2
- package/dist/navbar-multi-column-groups.js +8 -2
- package/dist/navbar-platform-resources.cjs +8 -2
- package/dist/navbar-platform-resources.js +8 -2
- package/dist/navbar-sidebar-mobile.cjs +8 -2
- package/dist/navbar-sidebar-mobile.js +8 -2
- package/dist/registry.cjs +1873 -680
- package/dist/registry.js +1873 -680
- package/package.json +1 -1
|
@@ -539,12 +539,21 @@ function FeatureIconGridAccent({
|
|
|
539
539
|
"div",
|
|
540
540
|
{
|
|
541
541
|
className: cn(
|
|
542
|
-
"flex flex-col justify-between rounded-lg
|
|
542
|
+
"flex flex-col justify-between rounded-lg p-6 md:min-h-[300px] md:p-8",
|
|
543
543
|
cardClassName,
|
|
544
544
|
feature.className
|
|
545
545
|
),
|
|
546
546
|
children: [
|
|
547
|
-
iconElement && /* @__PURE__ */ jsxRuntime.jsx(
|
|
547
|
+
iconElement && /* @__PURE__ */ jsxRuntime.jsx(
|
|
548
|
+
"span",
|
|
549
|
+
{
|
|
550
|
+
className: cn(
|
|
551
|
+
"mb-6 flex size-11 items-center justify-center rounded-full",
|
|
552
|
+
feature.iconClassName
|
|
553
|
+
),
|
|
554
|
+
children: iconElement
|
|
555
|
+
}
|
|
556
|
+
),
|
|
548
557
|
/* @__PURE__ */ jsxRuntime.jsxs("div", { children: [
|
|
549
558
|
feature.title && (typeof feature.title === "string" ? /* @__PURE__ */ jsxRuntime.jsx("h3", { className: "text-lg font-medium md:text-2xl", children: feature.title }) : /* @__PURE__ */ jsxRuntime.jsx("div", { className: "text-lg font-medium md:text-2xl", children: feature.title })),
|
|
550
559
|
feature.description && (typeof feature.description === "string" ? /* @__PURE__ */ jsxRuntime.jsx("p", { className: "mt-2 text-muted-foreground", children: feature.description }) : /* @__PURE__ */ jsxRuntime.jsx("div", { className: "mt-2 text-muted-foreground", children: feature.description }))
|
|
@@ -566,12 +575,45 @@ function FeatureIconGridAccent({
|
|
|
566
575
|
className,
|
|
567
576
|
containerClassName,
|
|
568
577
|
children: [
|
|
569
|
-
(label || title || description) && /* @__PURE__ */ jsxRuntime.jsx(
|
|
570
|
-
|
|
571
|
-
|
|
572
|
-
|
|
573
|
-
|
|
574
|
-
|
|
578
|
+
(label || title || description) && /* @__PURE__ */ jsxRuntime.jsx(
|
|
579
|
+
"div",
|
|
580
|
+
{
|
|
581
|
+
className: cn("flex w-full flex-col items-center", headerClassName),
|
|
582
|
+
children: /* @__PURE__ */ jsxRuntime.jsxs("div", { className: "flex flex-col items-center space-y-4 text-center sm:space-y-6 md:max-w-3xl md:text-center", children: [
|
|
583
|
+
label && (typeof label === "string" ? /* @__PURE__ */ jsxRuntime.jsx("p", { className: cn("text-sm", labelClassName), children: label }) : /* @__PURE__ */ jsxRuntime.jsx("div", { className: labelClassName, children: label })),
|
|
584
|
+
title && (typeof title === "string" ? /* @__PURE__ */ jsxRuntime.jsx(
|
|
585
|
+
"h2",
|
|
586
|
+
{
|
|
587
|
+
className: cn(
|
|
588
|
+
"text-3xl font-medium md:text-5xl text-balance",
|
|
589
|
+
titleClassName
|
|
590
|
+
),
|
|
591
|
+
children: title
|
|
592
|
+
}
|
|
593
|
+
) : /* @__PURE__ */ jsxRuntime.jsx("div", { className: titleClassName, children: title })),
|
|
594
|
+
description && (typeof description === "string" ? /* @__PURE__ */ jsxRuntime.jsx(
|
|
595
|
+
"p",
|
|
596
|
+
{
|
|
597
|
+
className: cn(
|
|
598
|
+
"md:max-w-2xl text-balance",
|
|
599
|
+
descriptionClassName
|
|
600
|
+
),
|
|
601
|
+
children: description
|
|
602
|
+
}
|
|
603
|
+
) : /* @__PURE__ */ jsxRuntime.jsx("div", { className: descriptionClassName, children: description }))
|
|
604
|
+
] })
|
|
605
|
+
}
|
|
606
|
+
),
|
|
607
|
+
featuresContent && /* @__PURE__ */ jsxRuntime.jsx(
|
|
608
|
+
"div",
|
|
609
|
+
{
|
|
610
|
+
className: cn(
|
|
611
|
+
"mx-auto mt-20 grid max-w-5xl gap-6 md:grid-cols-2",
|
|
612
|
+
gridClassName
|
|
613
|
+
),
|
|
614
|
+
children: featuresContent
|
|
615
|
+
}
|
|
616
|
+
)
|
|
575
617
|
]
|
|
576
618
|
}
|
|
577
619
|
);
|
|
@@ -518,12 +518,21 @@ function FeatureIconGridAccent({
|
|
|
518
518
|
"div",
|
|
519
519
|
{
|
|
520
520
|
className: cn(
|
|
521
|
-
"flex flex-col justify-between rounded-lg
|
|
521
|
+
"flex flex-col justify-between rounded-lg p-6 md:min-h-[300px] md:p-8",
|
|
522
522
|
cardClassName,
|
|
523
523
|
feature.className
|
|
524
524
|
),
|
|
525
525
|
children: [
|
|
526
|
-
iconElement && /* @__PURE__ */ jsx(
|
|
526
|
+
iconElement && /* @__PURE__ */ jsx(
|
|
527
|
+
"span",
|
|
528
|
+
{
|
|
529
|
+
className: cn(
|
|
530
|
+
"mb-6 flex size-11 items-center justify-center rounded-full",
|
|
531
|
+
feature.iconClassName
|
|
532
|
+
),
|
|
533
|
+
children: iconElement
|
|
534
|
+
}
|
|
535
|
+
),
|
|
527
536
|
/* @__PURE__ */ jsxs("div", { children: [
|
|
528
537
|
feature.title && (typeof feature.title === "string" ? /* @__PURE__ */ jsx("h3", { className: "text-lg font-medium md:text-2xl", children: feature.title }) : /* @__PURE__ */ jsx("div", { className: "text-lg font-medium md:text-2xl", children: feature.title })),
|
|
529
538
|
feature.description && (typeof feature.description === "string" ? /* @__PURE__ */ jsx("p", { className: "mt-2 text-muted-foreground", children: feature.description }) : /* @__PURE__ */ jsx("div", { className: "mt-2 text-muted-foreground", children: feature.description }))
|
|
@@ -545,12 +554,45 @@ function FeatureIconGridAccent({
|
|
|
545
554
|
className,
|
|
546
555
|
containerClassName,
|
|
547
556
|
children: [
|
|
548
|
-
(label || title || description) && /* @__PURE__ */ jsx(
|
|
549
|
-
|
|
550
|
-
|
|
551
|
-
|
|
552
|
-
|
|
553
|
-
|
|
557
|
+
(label || title || description) && /* @__PURE__ */ jsx(
|
|
558
|
+
"div",
|
|
559
|
+
{
|
|
560
|
+
className: cn("flex w-full flex-col items-center", headerClassName),
|
|
561
|
+
children: /* @__PURE__ */ jsxs("div", { className: "flex flex-col items-center space-y-4 text-center sm:space-y-6 md:max-w-3xl md:text-center", children: [
|
|
562
|
+
label && (typeof label === "string" ? /* @__PURE__ */ jsx("p", { className: cn("text-sm", labelClassName), children: label }) : /* @__PURE__ */ jsx("div", { className: labelClassName, children: label })),
|
|
563
|
+
title && (typeof title === "string" ? /* @__PURE__ */ jsx(
|
|
564
|
+
"h2",
|
|
565
|
+
{
|
|
566
|
+
className: cn(
|
|
567
|
+
"text-3xl font-medium md:text-5xl text-balance",
|
|
568
|
+
titleClassName
|
|
569
|
+
),
|
|
570
|
+
children: title
|
|
571
|
+
}
|
|
572
|
+
) : /* @__PURE__ */ jsx("div", { className: titleClassName, children: title })),
|
|
573
|
+
description && (typeof description === "string" ? /* @__PURE__ */ jsx(
|
|
574
|
+
"p",
|
|
575
|
+
{
|
|
576
|
+
className: cn(
|
|
577
|
+
"md:max-w-2xl text-balance",
|
|
578
|
+
descriptionClassName
|
|
579
|
+
),
|
|
580
|
+
children: description
|
|
581
|
+
}
|
|
582
|
+
) : /* @__PURE__ */ jsx("div", { className: descriptionClassName, children: description }))
|
|
583
|
+
] })
|
|
584
|
+
}
|
|
585
|
+
),
|
|
586
|
+
featuresContent && /* @__PURE__ */ jsx(
|
|
587
|
+
"div",
|
|
588
|
+
{
|
|
589
|
+
className: cn(
|
|
590
|
+
"mx-auto mt-20 grid max-w-5xl gap-6 md:grid-cols-2",
|
|
591
|
+
gridClassName
|
|
592
|
+
),
|
|
593
|
+
children: featuresContent
|
|
594
|
+
}
|
|
595
|
+
)
|
|
554
596
|
]
|
|
555
597
|
}
|
|
556
598
|
);
|
|
@@ -522,7 +522,7 @@ function FeatureIconGridBordered({
|
|
|
522
522
|
gridClassName,
|
|
523
523
|
cardClassName,
|
|
524
524
|
background,
|
|
525
|
-
spacing,
|
|
525
|
+
spacing = "py-6 md:py-32",
|
|
526
526
|
pattern,
|
|
527
527
|
patternOpacity,
|
|
528
528
|
patternClassName
|
|
@@ -540,18 +540,67 @@ function FeatureIconGridBordered({
|
|
|
540
540
|
return features.map((feature, index) => /* @__PURE__ */ jsxRuntime.jsxs(
|
|
541
541
|
"div",
|
|
542
542
|
{
|
|
543
|
-
className: cn(
|
|
543
|
+
className: cn(
|
|
544
|
+
"relative flex gap-3 rounded-lg border-dashed md:block md:border-l md:p-5",
|
|
545
|
+
cardClassName,
|
|
546
|
+
feature.className
|
|
547
|
+
),
|
|
544
548
|
children: [
|
|
545
|
-
(feature.icon || feature.iconName) && /* @__PURE__ */ jsxRuntime.jsx(
|
|
549
|
+
(feature.icon || feature.iconName) && /* @__PURE__ */ jsxRuntime.jsx(
|
|
550
|
+
"span",
|
|
551
|
+
{
|
|
552
|
+
className: cn(
|
|
553
|
+
"mb-8 flex size-10 shrink-0 items-center justify-center rounded-full bg-primary text-primary-foreground md:size-12",
|
|
554
|
+
feature.iconClassName
|
|
555
|
+
),
|
|
556
|
+
children: renderIcon(feature)
|
|
557
|
+
}
|
|
558
|
+
),
|
|
546
559
|
/* @__PURE__ */ jsxRuntime.jsxs("div", { children: [
|
|
547
|
-
feature.title && (typeof feature.title === "string" ? /* @__PURE__ */ jsxRuntime.jsxs(
|
|
548
|
-
|
|
549
|
-
|
|
550
|
-
|
|
551
|
-
|
|
552
|
-
|
|
553
|
-
|
|
554
|
-
|
|
560
|
+
feature.title && (typeof feature.title === "string" ? /* @__PURE__ */ jsxRuntime.jsxs(
|
|
561
|
+
"h3",
|
|
562
|
+
{
|
|
563
|
+
className: cn(
|
|
564
|
+
"font-medium md:mb-2 md:text-xl",
|
|
565
|
+
feature.titleClassName
|
|
566
|
+
),
|
|
567
|
+
children: [
|
|
568
|
+
feature.title,
|
|
569
|
+
/* @__PURE__ */ jsxRuntime.jsx("span", { className: "absolute -left-px hidden h-6 w-px bg-primary md:inline-block" })
|
|
570
|
+
]
|
|
571
|
+
}
|
|
572
|
+
) : /* @__PURE__ */ jsxRuntime.jsxs(
|
|
573
|
+
"div",
|
|
574
|
+
{
|
|
575
|
+
className: cn(
|
|
576
|
+
"font-medium md:mb-2 md:text-xl",
|
|
577
|
+
feature.titleClassName
|
|
578
|
+
),
|
|
579
|
+
children: [
|
|
580
|
+
feature.title,
|
|
581
|
+
/* @__PURE__ */ jsxRuntime.jsx("span", { className: "absolute -left-px hidden h-6 w-px bg-primary md:inline-block" })
|
|
582
|
+
]
|
|
583
|
+
}
|
|
584
|
+
)),
|
|
585
|
+
feature.description && (typeof feature.description === "string" ? /* @__PURE__ */ jsxRuntime.jsx(
|
|
586
|
+
"p",
|
|
587
|
+
{
|
|
588
|
+
className: cn(
|
|
589
|
+
"text-sm md:text-base",
|
|
590
|
+
feature.descriptionClassName
|
|
591
|
+
),
|
|
592
|
+
children: feature.description
|
|
593
|
+
}
|
|
594
|
+
) : /* @__PURE__ */ jsxRuntime.jsx(
|
|
595
|
+
"div",
|
|
596
|
+
{
|
|
597
|
+
className: cn(
|
|
598
|
+
"text-sm md:text-base",
|
|
599
|
+
feature.descriptionClassName
|
|
600
|
+
),
|
|
601
|
+
children: feature.description
|
|
602
|
+
}
|
|
603
|
+
))
|
|
555
604
|
] })
|
|
556
605
|
]
|
|
557
606
|
},
|
|
@@ -569,9 +618,30 @@ function FeatureIconGridBordered({
|
|
|
569
618
|
className,
|
|
570
619
|
containerClassName,
|
|
571
620
|
children: [
|
|
572
|
-
label && (typeof label === "string" ? /* @__PURE__ */ jsxRuntime.jsx("p", { className: cn("mb-4 text-xs
|
|
573
|
-
title && (typeof title === "string" ? /* @__PURE__ */ jsxRuntime.jsx(
|
|
574
|
-
|
|
621
|
+
label && (typeof label === "string" ? /* @__PURE__ */ jsxRuntime.jsx("p", { className: cn("mb-4 text-xs ", labelClassName), children: label }) : /* @__PURE__ */ jsxRuntime.jsx("div", { className: cn("mb-4 text-xs ", labelClassName), children: label })),
|
|
622
|
+
title && (typeof title === "string" ? /* @__PURE__ */ jsxRuntime.jsx(
|
|
623
|
+
"h2",
|
|
624
|
+
{
|
|
625
|
+
className: cn("text-3xl font-medium lg:text-4xl", titleClassName),
|
|
626
|
+
children: title
|
|
627
|
+
}
|
|
628
|
+
) : /* @__PURE__ */ jsxRuntime.jsx(
|
|
629
|
+
"div",
|
|
630
|
+
{
|
|
631
|
+
className: cn("text-3xl font-medium lg:text-4xl", titleClassName),
|
|
632
|
+
children: title
|
|
633
|
+
}
|
|
634
|
+
)),
|
|
635
|
+
(featuresSlot || features && features.length > 0) && /* @__PURE__ */ jsxRuntime.jsx(
|
|
636
|
+
"div",
|
|
637
|
+
{
|
|
638
|
+
className: cn(
|
|
639
|
+
"mt-14 grid gap-6 md:grid-cols-2 lg:mt-20 lg:grid-cols-4",
|
|
640
|
+
gridClassName
|
|
641
|
+
),
|
|
642
|
+
children: featuresContent
|
|
643
|
+
}
|
|
644
|
+
)
|
|
575
645
|
]
|
|
576
646
|
}
|
|
577
647
|
);
|
|
@@ -501,7 +501,7 @@ function FeatureIconGridBordered({
|
|
|
501
501
|
gridClassName,
|
|
502
502
|
cardClassName,
|
|
503
503
|
background,
|
|
504
|
-
spacing,
|
|
504
|
+
spacing = "py-6 md:py-32",
|
|
505
505
|
pattern,
|
|
506
506
|
patternOpacity,
|
|
507
507
|
patternClassName
|
|
@@ -519,18 +519,67 @@ function FeatureIconGridBordered({
|
|
|
519
519
|
return features.map((feature, index) => /* @__PURE__ */ jsxs(
|
|
520
520
|
"div",
|
|
521
521
|
{
|
|
522
|
-
className: cn(
|
|
522
|
+
className: cn(
|
|
523
|
+
"relative flex gap-3 rounded-lg border-dashed md:block md:border-l md:p-5",
|
|
524
|
+
cardClassName,
|
|
525
|
+
feature.className
|
|
526
|
+
),
|
|
523
527
|
children: [
|
|
524
|
-
(feature.icon || feature.iconName) && /* @__PURE__ */ jsx(
|
|
528
|
+
(feature.icon || feature.iconName) && /* @__PURE__ */ jsx(
|
|
529
|
+
"span",
|
|
530
|
+
{
|
|
531
|
+
className: cn(
|
|
532
|
+
"mb-8 flex size-10 shrink-0 items-center justify-center rounded-full bg-primary text-primary-foreground md:size-12",
|
|
533
|
+
feature.iconClassName
|
|
534
|
+
),
|
|
535
|
+
children: renderIcon(feature)
|
|
536
|
+
}
|
|
537
|
+
),
|
|
525
538
|
/* @__PURE__ */ jsxs("div", { children: [
|
|
526
|
-
feature.title && (typeof feature.title === "string" ? /* @__PURE__ */ jsxs(
|
|
527
|
-
|
|
528
|
-
|
|
529
|
-
|
|
530
|
-
|
|
531
|
-
|
|
532
|
-
|
|
533
|
-
|
|
539
|
+
feature.title && (typeof feature.title === "string" ? /* @__PURE__ */ jsxs(
|
|
540
|
+
"h3",
|
|
541
|
+
{
|
|
542
|
+
className: cn(
|
|
543
|
+
"font-medium md:mb-2 md:text-xl",
|
|
544
|
+
feature.titleClassName
|
|
545
|
+
),
|
|
546
|
+
children: [
|
|
547
|
+
feature.title,
|
|
548
|
+
/* @__PURE__ */ jsx("span", { className: "absolute -left-px hidden h-6 w-px bg-primary md:inline-block" })
|
|
549
|
+
]
|
|
550
|
+
}
|
|
551
|
+
) : /* @__PURE__ */ jsxs(
|
|
552
|
+
"div",
|
|
553
|
+
{
|
|
554
|
+
className: cn(
|
|
555
|
+
"font-medium md:mb-2 md:text-xl",
|
|
556
|
+
feature.titleClassName
|
|
557
|
+
),
|
|
558
|
+
children: [
|
|
559
|
+
feature.title,
|
|
560
|
+
/* @__PURE__ */ jsx("span", { className: "absolute -left-px hidden h-6 w-px bg-primary md:inline-block" })
|
|
561
|
+
]
|
|
562
|
+
}
|
|
563
|
+
)),
|
|
564
|
+
feature.description && (typeof feature.description === "string" ? /* @__PURE__ */ jsx(
|
|
565
|
+
"p",
|
|
566
|
+
{
|
|
567
|
+
className: cn(
|
|
568
|
+
"text-sm md:text-base",
|
|
569
|
+
feature.descriptionClassName
|
|
570
|
+
),
|
|
571
|
+
children: feature.description
|
|
572
|
+
}
|
|
573
|
+
) : /* @__PURE__ */ jsx(
|
|
574
|
+
"div",
|
|
575
|
+
{
|
|
576
|
+
className: cn(
|
|
577
|
+
"text-sm md:text-base",
|
|
578
|
+
feature.descriptionClassName
|
|
579
|
+
),
|
|
580
|
+
children: feature.description
|
|
581
|
+
}
|
|
582
|
+
))
|
|
534
583
|
] })
|
|
535
584
|
]
|
|
536
585
|
},
|
|
@@ -548,9 +597,30 @@ function FeatureIconGridBordered({
|
|
|
548
597
|
className,
|
|
549
598
|
containerClassName,
|
|
550
599
|
children: [
|
|
551
|
-
label && (typeof label === "string" ? /* @__PURE__ */ jsx("p", { className: cn("mb-4 text-xs
|
|
552
|
-
title && (typeof title === "string" ? /* @__PURE__ */ jsx(
|
|
553
|
-
|
|
600
|
+
label && (typeof label === "string" ? /* @__PURE__ */ jsx("p", { className: cn("mb-4 text-xs ", labelClassName), children: label }) : /* @__PURE__ */ jsx("div", { className: cn("mb-4 text-xs ", labelClassName), children: label })),
|
|
601
|
+
title && (typeof title === "string" ? /* @__PURE__ */ jsx(
|
|
602
|
+
"h2",
|
|
603
|
+
{
|
|
604
|
+
className: cn("text-3xl font-medium lg:text-4xl", titleClassName),
|
|
605
|
+
children: title
|
|
606
|
+
}
|
|
607
|
+
) : /* @__PURE__ */ jsx(
|
|
608
|
+
"div",
|
|
609
|
+
{
|
|
610
|
+
className: cn("text-3xl font-medium lg:text-4xl", titleClassName),
|
|
611
|
+
children: title
|
|
612
|
+
}
|
|
613
|
+
)),
|
|
614
|
+
(featuresSlot || features && features.length > 0) && /* @__PURE__ */ jsx(
|
|
615
|
+
"div",
|
|
616
|
+
{
|
|
617
|
+
className: cn(
|
|
618
|
+
"mt-14 grid gap-6 md:grid-cols-2 lg:mt-20 lg:grid-cols-4",
|
|
619
|
+
gridClassName
|
|
620
|
+
),
|
|
621
|
+
children: featuresContent
|
|
622
|
+
}
|
|
623
|
+
)
|
|
554
624
|
]
|
|
555
625
|
}
|
|
556
626
|
);
|