@opensite/ui 2.8.6 → 2.8.8
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-developer-profile.cjs +17 -10
- package/dist/about-developer-profile.js +17 -10
- package/dist/article-chapters-author.cjs +17 -10
- package/dist/article-chapters-author.js +17 -10
- package/dist/carousel-animated-sections.cjs +79 -25
- package/dist/carousel-animated-sections.d.cts +7 -2
- package/dist/carousel-animated-sections.d.ts +7 -2
- package/dist/carousel-animated-sections.js +79 -25
- package/dist/carousel-gallery-thumbnails.cjs +79 -25
- package/dist/carousel-gallery-thumbnails.d.cts +7 -2
- package/dist/carousel-gallery-thumbnails.d.ts +7 -2
- package/dist/carousel-gallery-thumbnails.js +79 -25
- package/dist/carousel-icon-sidebar.cjs +5 -4
- package/dist/carousel-icon-sidebar.js +5 -4
- package/dist/carousel-portfolio-hero.cjs +79 -25
- package/dist/carousel-portfolio-hero.d.cts +7 -2
- package/dist/carousel-portfolio-hero.d.ts +7 -2
- package/dist/carousel-portfolio-hero.js +79 -25
- package/dist/components.cjs +81 -42
- package/dist/components.d.cts +29 -2
- package/dist/components.d.ts +29 -2
- package/dist/components.js +81 -43
- package/dist/contact-map.cjs +46 -32
- package/dist/contact-map.js +46 -32
- package/dist/footer-accordion-social.cjs +17 -10
- package/dist/footer-accordion-social.js +17 -10
- package/dist/footer-animated-social.cjs +17 -10
- package/dist/footer-animated-social.js +17 -10
- package/dist/footer-brand-description.cjs +17 -10
- package/dist/footer-brand-description.js +17 -10
- package/dist/footer-brand-links-contact.cjs +17 -10
- package/dist/footer-brand-links-contact.js +17 -10
- package/dist/footer-comprehensive-links.cjs +17 -10
- package/dist/footer-comprehensive-links.js +17 -10
- package/dist/footer-contact-card.cjs +17 -10
- package/dist/footer-contact-card.js +17 -10
- package/dist/footer-cta-banner.cjs +17 -10
- package/dist/footer-cta-banner.js +17 -10
- package/dist/footer-cta-social.cjs +17 -10
- package/dist/footer-cta-social.js +17 -10
- package/dist/footer-info-cards-accordion.cjs +17 -10
- package/dist/footer-info-cards-accordion.js +17 -10
- package/dist/footer-nav-social.cjs +17 -10
- package/dist/footer-nav-social.js +17 -10
- package/dist/footer-newsletter-contact.cjs +17 -10
- package/dist/footer-newsletter-contact.js +17 -10
- package/dist/footer-newsletter-grid.cjs +17 -10
- package/dist/footer-newsletter-grid.js +17 -10
- package/dist/footer-newsletter-minimal.cjs +17 -10
- package/dist/footer-newsletter-minimal.js +17 -10
- package/dist/footer-social-apps.cjs +17 -10
- package/dist/footer-social-apps.js +17 -10
- package/dist/footer-social-newsletter.cjs +17 -10
- package/dist/footer-social-newsletter.js +17 -10
- package/dist/footer-split-image-accordion.cjs +17 -10
- package/dist/footer-split-image-accordion.js +17 -10
- package/dist/geo-map.cjs +46 -32
- package/dist/geo-map.js +46 -32
- package/dist/hero-coming-soon-countdown.cjs +17 -10
- package/dist/hero-coming-soon-countdown.js +17 -10
- package/dist/hero-video-background-dark.cjs +78 -16
- package/dist/hero-video-background-dark.d.cts +7 -2
- package/dist/hero-video-background-dark.d.ts +7 -2
- package/dist/hero-video-background-dark.js +78 -16
- package/dist/index.cjs +81 -42
- package/dist/index.d.cts +1 -0
- package/dist/index.d.ts +1 -0
- package/dist/index.js +81 -43
- package/dist/link-page-bento-layout.cjs +17 -10
- package/dist/link-page-bento-layout.js +17 -10
- package/dist/link-page-grid-cards.cjs +17 -10
- package/dist/link-page-grid-cards.js +17 -10
- package/dist/link-page-minimal-profile.cjs +17 -10
- package/dist/link-page-minimal-profile.js +17 -10
- package/dist/link-page-newsletter-social.cjs +17 -10
- package/dist/link-page-newsletter-social.js +17 -10
- package/dist/link-tree-block.cjs +17 -10
- package/dist/link-tree-block.js +17 -10
- package/dist/navbar-fullscreen-menu.cjs +17 -10
- package/dist/navbar-fullscreen-menu.js +17 -10
- package/dist/navbar-transparent-overlay.cjs +17 -10
- package/dist/navbar-transparent-overlay.js +17 -10
- package/dist/registry.cjs +967 -620
- package/dist/registry.js +967 -620
- package/dist/social-link-icon.cjs +17 -10
- package/dist/social-link-icon.d.cts +5 -0
- package/dist/social-link-icon.d.ts +5 -0
- package/dist/social-link-icon.js +17 -10
- package/dist/testimonials-bento-grid.cjs +1 -1
- package/dist/testimonials-bento-grid.js +1 -1
- package/dist/testimonials-carousel-image.cjs +16 -2
- package/dist/testimonials-carousel-image.d.cts +5 -1
- package/dist/testimonials-carousel-image.d.ts +5 -1
- package/dist/testimonials-carousel-image.js +16 -2
- package/dist/testimonials-centered-avatars.cjs +1 -1
- package/dist/testimonials-centered-avatars.js +1 -1
- package/dist/testimonials-grid-add-review.cjs +51 -29
- package/dist/testimonials-grid-add-review.js +51 -29
- package/dist/testimonials-images-helpful.cjs +181 -160
- package/dist/testimonials-images-helpful.d.cts +9 -1
- package/dist/testimonials-images-helpful.d.ts +9 -1
- package/dist/testimonials-images-helpful.js +181 -159
- package/dist/testimonials-large-quote.cjs +74 -43
- package/dist/testimonials-large-quote.d.cts +5 -1
- package/dist/testimonials-large-quote.d.ts +5 -1
- package/dist/testimonials-large-quote.js +74 -43
- package/dist/testimonials-list-verified.cjs +63 -44
- package/dist/testimonials-list-verified.d.cts +5 -1
- package/dist/testimonials-list-verified.d.ts +5 -1
- package/dist/testimonials-list-verified.js +64 -45
- package/dist/testimonials-logo-cards.cjs +55 -25
- package/dist/testimonials-logo-cards.d.cts +5 -1
- package/dist/testimonials-logo-cards.d.ts +5 -1
- package/dist/testimonials-logo-cards.js +55 -25
- package/dist/testimonials-marquee.cjs +440 -28
- package/dist/testimonials-marquee.js +441 -26
- package/dist/testimonials-masonry-grid.cjs +486 -69
- package/dist/testimonials-masonry-grid.d.cts +5 -1
- package/dist/testimonials-masonry-grid.d.ts +5 -1
- package/dist/testimonials-masonry-grid.js +483 -63
- package/dist/testimonials-mini-dividers.cjs +119 -83
- package/dist/testimonials-mini-dividers.d.cts +10 -6
- package/dist/testimonials-mini-dividers.d.ts +10 -6
- package/dist/testimonials-mini-dividers.js +119 -83
- package/dist/testimonials-minimal-numbered.cjs +9 -7
- package/dist/testimonials-minimal-numbered.d.cts +5 -1
- package/dist/testimonials-minimal-numbered.d.ts +5 -1
- package/dist/testimonials-minimal-numbered.js +9 -7
- package/dist/testimonials-parallax-number.cjs +14 -9
- package/dist/testimonials-parallax-number.js +14 -9
- package/dist/testimonials-scrolling-columns.cjs +100 -21
- package/dist/testimonials-scrolling-columns.js +100 -21
- package/dist/testimonials-simple-grid.cjs +22 -5
- package/dist/testimonials-simple-grid.js +22 -5
- package/dist/testimonials-slider-minimal.cjs +1 -1
- package/dist/testimonials-slider-minimal.js +1 -1
- package/dist/testimonials-stats-header.cjs +528 -87
- package/dist/testimonials-stats-header.d.cts +39 -3
- package/dist/testimonials-stats-header.d.ts +39 -3
- package/dist/testimonials-stats-header.js +523 -82
- package/dist/testimonials-twitter-cards.cjs +20 -12
- package/dist/testimonials-twitter-cards.js +20 -12
- package/package.json +11 -1
|
@@ -20,6 +20,67 @@ var DynamicIcon = React.memo(function DynamicIcon2({
|
|
|
20
20
|
return /* @__PURE__ */ jsx(Icon, { ...props, apiKey: apiKey ?? DEFAULT_ICON_API_KEY });
|
|
21
21
|
});
|
|
22
22
|
DynamicIcon.displayName = "DynamicIcon";
|
|
23
|
+
var DIRECTION_STYLES = {
|
|
24
|
+
"bottom-to-top": "bg-linear-to-t",
|
|
25
|
+
"top-to-bottom": "bg-linear-to-b",
|
|
26
|
+
"left-to-right": "bg-linear-to-r",
|
|
27
|
+
"right-to-left": "bg-linear-to-l",
|
|
28
|
+
"bottom-left-to-top-right": "bg-linear-to-tr",
|
|
29
|
+
"bottom-right-to-top-left": "bg-linear-to-tl",
|
|
30
|
+
"top-left-to-bottom-right": "bg-linear-to-br",
|
|
31
|
+
"top-right-to-bottom-left": "bg-linear-to-bl"
|
|
32
|
+
};
|
|
33
|
+
var INTENSITY_STOPS = {
|
|
34
|
+
low: "from-black/40 via-black/20 to-transparent",
|
|
35
|
+
default: "from-black/70 via-black/35 to-transparent",
|
|
36
|
+
high: "from-black/85 via-black/50 to-transparent",
|
|
37
|
+
"very-high": "from-black/95 via-black/60 to-black/20"
|
|
38
|
+
};
|
|
39
|
+
var RADIAL_INTENSITY = {
|
|
40
|
+
low: {
|
|
41
|
+
background: "radial-gradient(ellipse at center, rgba(0,0,0,0.40) 0%, rgba(0,0,0,0.20) 50%, transparent 100%)"
|
|
42
|
+
},
|
|
43
|
+
default: {
|
|
44
|
+
background: "radial-gradient(ellipse at center, rgba(0,0,0,0.70) 0%, rgba(0,0,0,0.35) 50%, transparent 100%)"
|
|
45
|
+
},
|
|
46
|
+
high: {
|
|
47
|
+
background: "radial-gradient(ellipse at center, rgba(0,0,0,0.85) 0%, rgba(0,0,0,0.50) 50%, transparent 100%)"
|
|
48
|
+
},
|
|
49
|
+
"very-high": {
|
|
50
|
+
background: "radial-gradient(ellipse at center, rgba(0,0,0,0.95) 0%, rgba(0,0,0,0.60) 50%, rgba(0,0,0,0.20) 100%)"
|
|
51
|
+
}
|
|
52
|
+
};
|
|
53
|
+
function GradientOverlay({
|
|
54
|
+
direction = "bottom-to-top",
|
|
55
|
+
intensity = "default",
|
|
56
|
+
className,
|
|
57
|
+
style,
|
|
58
|
+
...props
|
|
59
|
+
}) {
|
|
60
|
+
if (direction === "radial-center") {
|
|
61
|
+
return /* @__PURE__ */ jsx(
|
|
62
|
+
"div",
|
|
63
|
+
{
|
|
64
|
+
className: cn("absolute inset-0", className),
|
|
65
|
+
style: { ...RADIAL_INTENSITY[intensity], ...style },
|
|
66
|
+
...props
|
|
67
|
+
}
|
|
68
|
+
);
|
|
69
|
+
}
|
|
70
|
+
return /* @__PURE__ */ jsx(
|
|
71
|
+
"div",
|
|
72
|
+
{
|
|
73
|
+
className: cn(
|
|
74
|
+
"absolute inset-0",
|
|
75
|
+
DIRECTION_STYLES[direction],
|
|
76
|
+
INTENSITY_STOPS[intensity],
|
|
77
|
+
className
|
|
78
|
+
),
|
|
79
|
+
style,
|
|
80
|
+
...props
|
|
81
|
+
}
|
|
82
|
+
);
|
|
83
|
+
}
|
|
23
84
|
var maxWidthStyles = {
|
|
24
85
|
sm: "max-w-screen-sm",
|
|
25
86
|
md: "max-w-screen-md",
|
|
@@ -462,7 +523,7 @@ function TestimonialsScrollingColumns({
|
|
|
462
523
|
motion.div,
|
|
463
524
|
{
|
|
464
525
|
className: cn(
|
|
465
|
-
"relative overflow-hidden rounded-
|
|
526
|
+
"relative overflow-hidden rounded-2xl shadow-sm",
|
|
466
527
|
cardClassName
|
|
467
528
|
),
|
|
468
529
|
variants: itemVariants,
|
|
@@ -477,35 +538,40 @@ function TestimonialsScrollingColumns({
|
|
|
477
538
|
optixFlowConfig
|
|
478
539
|
}
|
|
479
540
|
),
|
|
480
|
-
/* @__PURE__ */ jsx(
|
|
541
|
+
/* @__PURE__ */ jsx(GradientOverlay, {})
|
|
481
542
|
] }),
|
|
482
|
-
/* @__PURE__ */ jsxs("div", { className: "absolute bottom-0 left-0 right-0 p-6 text-left
|
|
483
|
-
/* @__PURE__ */ jsx(
|
|
543
|
+
/* @__PURE__ */ jsxs("div", { className: "absolute bottom-0 left-0 right-0 p-6 text-left", children: [
|
|
544
|
+
testimonial?.logoSrc ? /* @__PURE__ */ jsx(
|
|
545
|
+
Img,
|
|
546
|
+
{
|
|
547
|
+
src: testimonial.logoSrc,
|
|
548
|
+
alt: typeof testimonial.company === "string" ? `${testimonial.company} logo` : typeof testimonial.author === "string" ? `${testimonial.author} company logo` : "Company logo",
|
|
549
|
+
className: cn(
|
|
550
|
+
"flex justify-start items-start mb-6 max-h-10 max-w-32 object-contain md:max-h-10 md:max-w-48"
|
|
551
|
+
),
|
|
552
|
+
optixFlowConfig
|
|
553
|
+
}
|
|
554
|
+
) : /* @__PURE__ */ jsx(
|
|
484
555
|
DynamicIcon,
|
|
485
556
|
{
|
|
486
|
-
name: "
|
|
487
|
-
size:
|
|
488
|
-
className: "
|
|
557
|
+
name: "mdi/comment-quote-outline",
|
|
558
|
+
size: 42,
|
|
559
|
+
className: cn("opacity-50")
|
|
489
560
|
}
|
|
490
561
|
),
|
|
491
562
|
testimonial.quote && (typeof testimonial.quote === "string" ? /* @__PURE__ */ jsx(
|
|
492
563
|
"blockquote",
|
|
493
564
|
{
|
|
494
565
|
className: cn(
|
|
495
|
-
"text-base font-
|
|
566
|
+
"text-base font-base leading-relaxed",
|
|
496
567
|
quoteClassName
|
|
497
568
|
),
|
|
498
569
|
children: testimonial.quote
|
|
499
570
|
}
|
|
500
|
-
) :
|
|
501
|
-
/* @__PURE__ */ jsx("figcaption", { className: cn("mt-4", authorClassName), children: /* @__PURE__ */ jsxs("
|
|
502
|
-
"
|
|
503
|
-
" ",
|
|
504
|
-
testimonial.author && (typeof testimonial.author === "string" ? testimonial.author : null),
|
|
505
|
-
testimonial.role && (typeof testimonial.role === "string" ? /* @__PURE__ */ jsxs("span", { className: "ml-1 text-background/60", children: [
|
|
506
|
-
", ",
|
|
507
|
-
testimonial.role
|
|
508
|
-
] }) : null)
|
|
571
|
+
) : testimonial.quote),
|
|
572
|
+
/* @__PURE__ */ jsx("figcaption", { className: cn("mt-4", authorClassName), children: /* @__PURE__ */ jsxs("div", { className: "space-y-1", children: [
|
|
573
|
+
testimonial.author && (typeof testimonial.author === "string" ? /* @__PURE__ */ jsx("div", { className: "uppercase text-base font-semibold", children: testimonial.author }) : null),
|
|
574
|
+
testimonial.role && (typeof testimonial.role === "string" ? /* @__PURE__ */ jsx("div", { className: "text-sm font-thin", children: testimonial.role }) : null)
|
|
509
575
|
] }) })
|
|
510
576
|
] })
|
|
511
577
|
]
|
|
@@ -538,19 +604,32 @@ function TestimonialsScrollingColumns({
|
|
|
538
604
|
/* @__PURE__ */ jsxs(
|
|
539
605
|
"div",
|
|
540
606
|
{
|
|
541
|
-
className: cn(
|
|
607
|
+
className: cn(
|
|
608
|
+
"mx-auto mb-12 max-w-full md:max-w-2xl space-y-4 text-center",
|
|
609
|
+
headerClassName
|
|
610
|
+
),
|
|
542
611
|
children: [
|
|
543
612
|
heading && (typeof heading === "string" ? /* @__PURE__ */ jsx(
|
|
544
613
|
"h2",
|
|
545
614
|
{
|
|
546
615
|
className: cn(
|
|
547
|
-
"text-
|
|
616
|
+
"text-pretty text-3xl md:text-4xl lg:text-6xl",
|
|
617
|
+
"font-semibold tracking-tight",
|
|
548
618
|
headingClassName
|
|
549
619
|
),
|
|
550
620
|
children: heading
|
|
551
621
|
}
|
|
552
|
-
) :
|
|
553
|
-
description && (typeof description === "string" ? /* @__PURE__ */ jsx(
|
|
622
|
+
) : heading),
|
|
623
|
+
description && (typeof description === "string" ? /* @__PURE__ */ jsx(
|
|
624
|
+
"p",
|
|
625
|
+
{
|
|
626
|
+
className: cn(
|
|
627
|
+
"text-base md:text-lg text-balance",
|
|
628
|
+
descriptionClassName
|
|
629
|
+
),
|
|
630
|
+
children: description
|
|
631
|
+
}
|
|
632
|
+
) : description)
|
|
554
633
|
]
|
|
555
634
|
}
|
|
556
635
|
),
|
|
@@ -936,7 +936,7 @@ function TestimonialsSimpleGrid({
|
|
|
936
936
|
"bg-card text-card-foreground",
|
|
937
937
|
"flex flex-col gap-6",
|
|
938
938
|
testimonial.linkConfig?.href ? "cursor-pointer hover:bg-black hover:text-white transition-all duration-500" : "",
|
|
939
|
-
"rounded-2xl py-
|
|
939
|
+
"rounded-2xl py-0 shadow-xl group",
|
|
940
940
|
"ring-4 ring-ring",
|
|
941
941
|
cardClassName
|
|
942
942
|
),
|
|
@@ -944,7 +944,7 @@ function TestimonialsSimpleGrid({
|
|
|
944
944
|
CardContent,
|
|
945
945
|
{
|
|
946
946
|
className: cn(
|
|
947
|
-
"px-
|
|
947
|
+
"px-0 h-full flex flex-col-reverse items-stretch justify-between gap-12",
|
|
948
948
|
cardContentClassName
|
|
949
949
|
),
|
|
950
950
|
children: [
|
|
@@ -956,7 +956,7 @@ function TestimonialsSimpleGrid({
|
|
|
956
956
|
authorClassName
|
|
957
957
|
),
|
|
958
958
|
children: /* @__PURE__ */ jsxRuntime.jsxs("div", { className: "flex items-center gap-4", children: [
|
|
959
|
-
/* @__PURE__ */ jsxRuntime.jsxs(Avatar, { className: "relative flex shrink-0
|
|
959
|
+
/* @__PURE__ */ jsxRuntime.jsxs(Avatar, { className: "relative flex shrink-0 size-24 border-t-4 border-r-4 border-primary rounded-tr-xl rounded-tl-none rounded-br-none rounded-bl-none shadow-xl", children: [
|
|
960
960
|
/* @__PURE__ */ jsxRuntime.jsx(
|
|
961
961
|
AvatarImage,
|
|
962
962
|
{
|
|
@@ -966,11 +966,28 @@ function TestimonialsSimpleGrid({
|
|
|
966
966
|
),
|
|
967
967
|
/* @__PURE__ */ jsxRuntime.jsx(AvatarFallback, { children: getInitials(authorName) })
|
|
968
968
|
] }),
|
|
969
|
-
/* @__PURE__ */ jsxRuntime.
|
|
969
|
+
/* @__PURE__ */ jsxRuntime.jsxs("div", { className: "space-y-1 pt-2 pr-6 pb-2", children: [
|
|
970
|
+
/* @__PURE__ */ jsxRuntime.jsxs("div", { className: "space-y-0", children: [
|
|
971
|
+
testimonial.author && (typeof testimonial.author === "string" ? /* @__PURE__ */ jsxRuntime.jsx("p", { className: "text-lg font-semibold leading-relaxed", children: testimonial.author }) : testimonial.author),
|
|
972
|
+
testimonial.role && (typeof testimonial.role === "string" ? /* @__PURE__ */ jsxRuntime.jsx("p", { className: "text-base", children: testimonial.role }) : testimonial.role)
|
|
973
|
+
] }),
|
|
974
|
+
testimonial.linkConfig?.href && /* @__PURE__ */ jsxRuntime.jsx(
|
|
975
|
+
Pressable,
|
|
976
|
+
{
|
|
977
|
+
href: testimonial.linkConfig.href,
|
|
978
|
+
className: cn(
|
|
979
|
+
"text-base transition-all duration-300",
|
|
980
|
+
"underline underline-offset-4",
|
|
981
|
+
testimonial.linkConfig.className
|
|
982
|
+
),
|
|
983
|
+
children: testimonial.linkConfig.label
|
|
984
|
+
}
|
|
985
|
+
)
|
|
986
|
+
] })
|
|
970
987
|
] })
|
|
971
988
|
}
|
|
972
989
|
),
|
|
973
|
-
testimonial.quote && (typeof testimonial.quote === "string" ? /* @__PURE__ */ jsxRuntime.jsx("p", { className: "text-sm leading-relaxed", children: testimonial.quote }) : testimonial.quote)
|
|
990
|
+
/* @__PURE__ */ jsxRuntime.jsx("div", { className: "pt-6 md: pt-8 px-6 md:px-8", children: testimonial.quote && (typeof testimonial.quote === "string" ? /* @__PURE__ */ jsxRuntime.jsx("p", { className: "text-sm leading-relaxed", children: testimonial.quote }) : testimonial.quote) })
|
|
974
991
|
]
|
|
975
992
|
}
|
|
976
993
|
)
|
|
@@ -914,7 +914,7 @@ function TestimonialsSimpleGrid({
|
|
|
914
914
|
"bg-card text-card-foreground",
|
|
915
915
|
"flex flex-col gap-6",
|
|
916
916
|
testimonial.linkConfig?.href ? "cursor-pointer hover:bg-black hover:text-white transition-all duration-500" : "",
|
|
917
|
-
"rounded-2xl py-
|
|
917
|
+
"rounded-2xl py-0 shadow-xl group",
|
|
918
918
|
"ring-4 ring-ring",
|
|
919
919
|
cardClassName
|
|
920
920
|
),
|
|
@@ -922,7 +922,7 @@ function TestimonialsSimpleGrid({
|
|
|
922
922
|
CardContent,
|
|
923
923
|
{
|
|
924
924
|
className: cn(
|
|
925
|
-
"px-
|
|
925
|
+
"px-0 h-full flex flex-col-reverse items-stretch justify-between gap-12",
|
|
926
926
|
cardContentClassName
|
|
927
927
|
),
|
|
928
928
|
children: [
|
|
@@ -934,7 +934,7 @@ function TestimonialsSimpleGrid({
|
|
|
934
934
|
authorClassName
|
|
935
935
|
),
|
|
936
936
|
children: /* @__PURE__ */ jsxs("div", { className: "flex items-center gap-4", children: [
|
|
937
|
-
/* @__PURE__ */ jsxs(Avatar, { className: "relative flex shrink-0
|
|
937
|
+
/* @__PURE__ */ jsxs(Avatar, { className: "relative flex shrink-0 size-24 border-t-4 border-r-4 border-primary rounded-tr-xl rounded-tl-none rounded-br-none rounded-bl-none shadow-xl", children: [
|
|
938
938
|
/* @__PURE__ */ jsx(
|
|
939
939
|
AvatarImage,
|
|
940
940
|
{
|
|
@@ -944,11 +944,28 @@ function TestimonialsSimpleGrid({
|
|
|
944
944
|
),
|
|
945
945
|
/* @__PURE__ */ jsx(AvatarFallback, { children: getInitials(authorName) })
|
|
946
946
|
] }),
|
|
947
|
-
/* @__PURE__ */
|
|
947
|
+
/* @__PURE__ */ jsxs("div", { className: "space-y-1 pt-2 pr-6 pb-2", children: [
|
|
948
|
+
/* @__PURE__ */ jsxs("div", { className: "space-y-0", children: [
|
|
949
|
+
testimonial.author && (typeof testimonial.author === "string" ? /* @__PURE__ */ jsx("p", { className: "text-lg font-semibold leading-relaxed", children: testimonial.author }) : testimonial.author),
|
|
950
|
+
testimonial.role && (typeof testimonial.role === "string" ? /* @__PURE__ */ jsx("p", { className: "text-base", children: testimonial.role }) : testimonial.role)
|
|
951
|
+
] }),
|
|
952
|
+
testimonial.linkConfig?.href && /* @__PURE__ */ jsx(
|
|
953
|
+
Pressable,
|
|
954
|
+
{
|
|
955
|
+
href: testimonial.linkConfig.href,
|
|
956
|
+
className: cn(
|
|
957
|
+
"text-base transition-all duration-300",
|
|
958
|
+
"underline underline-offset-4",
|
|
959
|
+
testimonial.linkConfig.className
|
|
960
|
+
),
|
|
961
|
+
children: testimonial.linkConfig.label
|
|
962
|
+
}
|
|
963
|
+
)
|
|
964
|
+
] })
|
|
948
965
|
] })
|
|
949
966
|
}
|
|
950
967
|
),
|
|
951
|
-
testimonial.quote && (typeof testimonial.quote === "string" ? /* @__PURE__ */ jsx("p", { className: "text-sm leading-relaxed", children: testimonial.quote }) : testimonial.quote)
|
|
968
|
+
/* @__PURE__ */ jsx("div", { className: "pt-6 md: pt-8 px-6 md:px-8", children: testimonial.quote && (typeof testimonial.quote === "string" ? /* @__PURE__ */ jsx("p", { className: "text-sm leading-relaxed", children: testimonial.quote }) : testimonial.quote) })
|
|
952
969
|
]
|
|
953
970
|
}
|
|
954
971
|
)
|
|
@@ -989,7 +989,7 @@ function TestimonialsSliderMinimal({
|
|
|
989
989
|
Avatar,
|
|
990
990
|
{
|
|
991
991
|
className: cn(
|
|
992
|
-
"relative flex shrink-0 overflow-hidden rounded-
|
|
992
|
+
"relative flex shrink-0 overflow-hidden rounded-full ring-4 ring-primary shadow-xl size-12",
|
|
993
993
|
avatarClassName
|
|
994
994
|
),
|
|
995
995
|
children: [
|
|
@@ -967,7 +967,7 @@ function TestimonialsSliderMinimal({
|
|
|
967
967
|
Avatar,
|
|
968
968
|
{
|
|
969
969
|
className: cn(
|
|
970
|
-
"relative flex shrink-0 overflow-hidden rounded-
|
|
970
|
+
"relative flex shrink-0 overflow-hidden rounded-full ring-4 ring-primary shadow-xl size-12",
|
|
971
971
|
avatarClassName
|
|
972
972
|
),
|
|
973
973
|
children: [
|