@opensite/ui 1.6.9 → 1.7.0
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/hero-billing-platform-logos.cjs +77 -52
- package/dist/hero-billing-platform-logos.js +77 -51
- package/dist/hero-conversion-video-play.cjs +240 -78
- package/dist/hero-conversion-video-play.js +233 -75
- package/dist/hero-customer-support-layered.cjs +1 -1
- package/dist/hero-customer-support-layered.js +1 -1
- package/dist/hero-dashed-border-features.cjs +33 -24
- package/dist/hero-dashed-border-features.js +33 -24
- package/dist/hero-design-showcase-logos.cjs +102 -38
- package/dist/hero-design-showcase-logos.js +102 -38
- package/dist/hero-grid-pattern-solutions.cjs +187 -49
- package/dist/hero-grid-pattern-solutions.d.cts +1 -4
- package/dist/hero-grid-pattern-solutions.d.ts +1 -4
- package/dist/hero-grid-pattern-solutions.js +188 -50
- package/dist/hero-marketplace-scattered-images.cjs +120 -79
- package/dist/hero-marketplace-scattered-images.js +120 -79
- package/dist/hero-mentorship-video-split.cjs +32 -13
- package/dist/hero-mentorship-video-split.js +32 -13
- package/dist/hero-premium-split-avatars.cjs +2 -2
- package/dist/hero-premium-split-avatars.js +2 -2
- package/dist/hero-productivity-launcher-video.cjs +45 -143
- package/dist/hero-productivity-launcher-video.d.cts +5 -23
- package/dist/hero-productivity-launcher-video.d.ts +5 -23
- package/dist/hero-productivity-launcher-video.js +45 -143
- package/dist/hero-split-spiral-shapes.cjs +47 -38
- package/dist/hero-split-spiral-shapes.js +47 -38
- package/dist/hero-task-timer-animated.cjs +59 -59
- package/dist/hero-task-timer-animated.js +59 -59
- package/dist/registry.cjs +772 -439
- package/dist/registry.js +772 -439
- package/package.json +1 -1
|
@@ -12,32 +12,6 @@ import { Img } from '@page-speed/img';
|
|
|
12
12
|
function cn(...inputs) {
|
|
13
13
|
return twMerge(clsx(inputs));
|
|
14
14
|
}
|
|
15
|
-
function getNestedCardBg(parentBg, variant = "muted", options) {
|
|
16
|
-
const isDark = parentBg === "dark" || parentBg === "secondary" || parentBg === "primary";
|
|
17
|
-
if (isDark) {
|
|
18
|
-
switch (variant) {
|
|
19
|
-
case "muted":
|
|
20
|
-
return "bg-background";
|
|
21
|
-
case "card":
|
|
22
|
-
return "bg-card";
|
|
23
|
-
case "accent":
|
|
24
|
-
return "bg-accent";
|
|
25
|
-
case "subtle":
|
|
26
|
-
return "bg-background/50";
|
|
27
|
-
}
|
|
28
|
-
} else {
|
|
29
|
-
switch (variant) {
|
|
30
|
-
case "muted":
|
|
31
|
-
return "bg-muted";
|
|
32
|
-
case "card":
|
|
33
|
-
return "bg-card";
|
|
34
|
-
case "accent":
|
|
35
|
-
return "bg-accent";
|
|
36
|
-
case "subtle":
|
|
37
|
-
return "bg-muted/50";
|
|
38
|
-
}
|
|
39
|
-
}
|
|
40
|
-
}
|
|
41
15
|
function normalizePhoneNumber(input) {
|
|
42
16
|
const trimmed = input.trim();
|
|
43
17
|
if (trimmed.toLowerCase().startsWith("tel:")) {
|
|
@@ -942,7 +916,7 @@ function HeroMarketplaceScatteredImages({
|
|
|
942
916
|
action,
|
|
943
917
|
actionSlot,
|
|
944
918
|
tagline,
|
|
945
|
-
taglineIcon
|
|
919
|
+
taglineIcon,
|
|
946
920
|
taglineSlot,
|
|
947
921
|
images,
|
|
948
922
|
imagesSlot,
|
|
@@ -962,7 +936,14 @@ function HeroMarketplaceScatteredImages({
|
|
|
962
936
|
const renderAction = useMemo(() => {
|
|
963
937
|
if (actionSlot) return actionSlot;
|
|
964
938
|
if (!action) return null;
|
|
965
|
-
const {
|
|
939
|
+
const {
|
|
940
|
+
label,
|
|
941
|
+
icon,
|
|
942
|
+
iconAfter,
|
|
943
|
+
children,
|
|
944
|
+
className: actionClassName,
|
|
945
|
+
...pressableProps
|
|
946
|
+
} = action;
|
|
966
947
|
return /* @__PURE__ */ jsx(Pressable, { asButton: true, className: actionClassName, ...pressableProps, children: children ?? /* @__PURE__ */ jsxs(Fragment, { children: [
|
|
967
948
|
icon,
|
|
968
949
|
label,
|
|
@@ -971,6 +952,7 @@ function HeroMarketplaceScatteredImages({
|
|
|
971
952
|
}, [actionSlot, action]);
|
|
972
953
|
const renderTagline = useMemo(() => {
|
|
973
954
|
if (taglineSlot) return taglineSlot;
|
|
955
|
+
if (!tagline || !taglineIcon) return null;
|
|
974
956
|
return /* @__PURE__ */ jsxs("div", { className: "mt-7 flex items-start justify-center gap-2 font-medium md:text-xl", children: [
|
|
975
957
|
/* @__PURE__ */ jsx(DynamicIcon, { name: taglineIcon, size: 20, className: "mt-0.5" }),
|
|
976
958
|
tagline
|
|
@@ -995,50 +977,74 @@ function HeroMarketplaceScatteredImages({
|
|
|
995
977
|
const renderImages = useMemo(() => {
|
|
996
978
|
if (imagesSlot) return imagesSlot;
|
|
997
979
|
if (!images || images.length === 0) return null;
|
|
998
|
-
return /* @__PURE__ */ jsx(
|
|
999
|
-
|
|
1000
|
-
|
|
1001
|
-
|
|
1002
|
-
|
|
1003
|
-
|
|
1004
|
-
|
|
1005
|
-
|
|
1006
|
-
|
|
1007
|
-
|
|
1008
|
-
|
|
1009
|
-
|
|
1010
|
-
|
|
1011
|
-
|
|
1012
|
-
|
|
1013
|
-
|
|
1014
|
-
|
|
1015
|
-
|
|
1016
|
-
|
|
980
|
+
return /* @__PURE__ */ jsx(
|
|
981
|
+
"div",
|
|
982
|
+
{
|
|
983
|
+
className: cn(
|
|
984
|
+
"mx-auto max-w-7xl overflow-hidden py-8",
|
|
985
|
+
imagesClassName
|
|
986
|
+
),
|
|
987
|
+
children: /* @__PURE__ */ jsx("div", { className: "grid grid-cols-2 gap-3 md:grid-cols-3", children: columns.map((colImages, colIndex) => /* @__PURE__ */ jsx(
|
|
988
|
+
"div",
|
|
989
|
+
{
|
|
990
|
+
className: cn(
|
|
991
|
+
"grid gap-3",
|
|
992
|
+
colIndex === 2 && "hidden md:grid"
|
|
993
|
+
),
|
|
994
|
+
children: colImages.map((image, imgIndex) => {
|
|
995
|
+
const height = heightPatterns[colIndex][imgIndex % heightPatterns[colIndex].length];
|
|
996
|
+
const direction = colIndex % 2 === 0 ? "up" : "down";
|
|
997
|
+
return /* @__PURE__ */ jsx(
|
|
998
|
+
motion.div,
|
|
999
|
+
{
|
|
1000
|
+
initial: {
|
|
1001
|
+
opacity: 0,
|
|
1002
|
+
scale: 0.9,
|
|
1003
|
+
y: direction === "up" ? 50 : -50
|
|
1004
|
+
},
|
|
1005
|
+
whileInView: {
|
|
1006
|
+
opacity: 1,
|
|
1007
|
+
scale: 1,
|
|
1008
|
+
y: 0
|
|
1009
|
+
},
|
|
1010
|
+
transition: {
|
|
1011
|
+
duration: 0.5,
|
|
1012
|
+
delay: imgIndex * 0.1
|
|
1013
|
+
},
|
|
1014
|
+
viewport: { once: true },
|
|
1015
|
+
className: cn("w-full overflow-hidden rounded-2xl"),
|
|
1016
|
+
style: { height },
|
|
1017
|
+
children: /* @__PURE__ */ jsx(
|
|
1018
|
+
Img,
|
|
1019
|
+
{
|
|
1020
|
+
src: image.src,
|
|
1021
|
+
alt: image.alt,
|
|
1022
|
+
className: cn(
|
|
1023
|
+
"h-full w-full rounded-2xl object-cover",
|
|
1024
|
+
image.className
|
|
1025
|
+
),
|
|
1026
|
+
loading: "lazy",
|
|
1027
|
+
optixFlowConfig
|
|
1028
|
+
}
|
|
1029
|
+
)
|
|
1030
|
+
},
|
|
1031
|
+
imgIndex
|
|
1032
|
+
);
|
|
1033
|
+
})
|
|
1017
1034
|
},
|
|
1018
|
-
|
|
1019
|
-
|
|
1020
|
-
|
|
1021
|
-
|
|
1022
|
-
|
|
1023
|
-
|
|
1024
|
-
|
|
1025
|
-
|
|
1026
|
-
|
|
1027
|
-
|
|
1028
|
-
|
|
1029
|
-
|
|
1030
|
-
|
|
1031
|
-
image.className
|
|
1032
|
-
),
|
|
1033
|
-
loading: "lazy",
|
|
1034
|
-
optixFlowConfig
|
|
1035
|
-
}
|
|
1036
|
-
)
|
|
1037
|
-
},
|
|
1038
|
-
imgIndex
|
|
1039
|
-
);
|
|
1040
|
-
}) }, colIndex)) }) });
|
|
1041
|
-
}, [imagesSlot, images, imagesClassName, optixFlowConfig, columns, heightPatterns, background]);
|
|
1035
|
+
colIndex
|
|
1036
|
+
)) })
|
|
1037
|
+
}
|
|
1038
|
+
);
|
|
1039
|
+
}, [
|
|
1040
|
+
imagesSlot,
|
|
1041
|
+
images,
|
|
1042
|
+
imagesClassName,
|
|
1043
|
+
optixFlowConfig,
|
|
1044
|
+
columns,
|
|
1045
|
+
heightPatterns,
|
|
1046
|
+
background
|
|
1047
|
+
]);
|
|
1042
1048
|
return /* @__PURE__ */ jsx(
|
|
1043
1049
|
Section,
|
|
1044
1050
|
{
|
|
@@ -1048,14 +1054,49 @@ function HeroMarketplaceScatteredImages({
|
|
|
1048
1054
|
patternOpacity,
|
|
1049
1055
|
className: cn("relative flex items-center justify-center", className),
|
|
1050
1056
|
containerClassName,
|
|
1051
|
-
children: /* @__PURE__ */ jsxs("div", { className: "
|
|
1052
|
-
/* @__PURE__ */ jsxs(
|
|
1053
|
-
|
|
1054
|
-
|
|
1055
|
-
|
|
1056
|
-
|
|
1057
|
-
|
|
1058
|
-
|
|
1057
|
+
children: /* @__PURE__ */ jsxs("div", { className: "flex flex-col gap-6 items-center", children: [
|
|
1058
|
+
/* @__PURE__ */ jsxs(
|
|
1059
|
+
"div",
|
|
1060
|
+
{
|
|
1061
|
+
className: cn(
|
|
1062
|
+
"relative mx-auto max-w-xl py-10 text-center flex flex-col gap-6 items-center",
|
|
1063
|
+
contentClassName
|
|
1064
|
+
),
|
|
1065
|
+
children: [
|
|
1066
|
+
heading && (typeof heading === "string" ? /* @__PURE__ */ jsx(
|
|
1067
|
+
"h1",
|
|
1068
|
+
{
|
|
1069
|
+
className: cn(
|
|
1070
|
+
"mb-3 text-4xl lg:text-7xl text-balance",
|
|
1071
|
+
headingClassName
|
|
1072
|
+
),
|
|
1073
|
+
children: heading
|
|
1074
|
+
}
|
|
1075
|
+
) : /* @__PURE__ */ jsx(
|
|
1076
|
+
"h1",
|
|
1077
|
+
{
|
|
1078
|
+
className: cn(
|
|
1079
|
+
"mb-3 text-4xl lg:text-7xl text-balance",
|
|
1080
|
+
headingClassName
|
|
1081
|
+
),
|
|
1082
|
+
children: heading
|
|
1083
|
+
}
|
|
1084
|
+
)),
|
|
1085
|
+
description && (typeof description === "string" ? /* @__PURE__ */ jsx(
|
|
1086
|
+
"p",
|
|
1087
|
+
{
|
|
1088
|
+
className: cn(
|
|
1089
|
+
"mb-5 text-sm md:text-base text-balance",
|
|
1090
|
+
descriptionClassName
|
|
1091
|
+
),
|
|
1092
|
+
children: description
|
|
1093
|
+
}
|
|
1094
|
+
) : /* @__PURE__ */ jsx("div", { className: descriptionClassName, children: description })),
|
|
1095
|
+
renderAction,
|
|
1096
|
+
renderTagline
|
|
1097
|
+
]
|
|
1098
|
+
}
|
|
1099
|
+
),
|
|
1059
1100
|
renderImages
|
|
1060
1101
|
] })
|
|
1061
1102
|
}
|
|
@@ -1071,7 +1071,7 @@ function HeroMentorshipVideoSplit({
|
|
|
1071
1071
|
if (!videoThumbnail) return null;
|
|
1072
1072
|
const aspectRatio = videoAspectRatio === "vertical" ? 9 / 16 : 16 / 9;
|
|
1073
1073
|
return /* @__PURE__ */ jsxRuntime.jsxs("div", { className: "flex flex-col gap-4", children: [
|
|
1074
|
-
videoLabel && (typeof videoLabel === "string" ? /* @__PURE__ */ jsxRuntime.jsx("p", { className: "text-
|
|
1074
|
+
videoLabel && (typeof videoLabel === "string" ? /* @__PURE__ */ jsxRuntime.jsx("p", { className: "text-xs font-semibold uppercase opacity-75", children: videoLabel }) : videoLabel),
|
|
1075
1075
|
/* @__PURE__ */ jsxRuntime.jsx(
|
|
1076
1076
|
Pressable,
|
|
1077
1077
|
{
|
|
@@ -1095,7 +1095,7 @@ function HeroMentorshipVideoSplit({
|
|
|
1095
1095
|
optixFlowConfig
|
|
1096
1096
|
}
|
|
1097
1097
|
),
|
|
1098
|
-
/* @__PURE__ */ jsxRuntime.jsx("div", { className: "m-auto aspect-square z-10", children: /* @__PURE__ */ jsxRuntime.jsx(
|
|
1098
|
+
/* @__PURE__ */ jsxRuntime.jsx("div", { className: "m-auto aspect-square z-10 bg-card text-card-foreground p-2 rounded-xl shadow-xl", children: /* @__PURE__ */ jsxRuntime.jsx(
|
|
1099
1099
|
DynamicIcon,
|
|
1100
1100
|
{
|
|
1101
1101
|
name: "lucide/play",
|
|
@@ -1107,7 +1107,14 @@ function HeroMentorshipVideoSplit({
|
|
|
1107
1107
|
}
|
|
1108
1108
|
)
|
|
1109
1109
|
] });
|
|
1110
|
-
}, [
|
|
1110
|
+
}, [
|
|
1111
|
+
videoSlot,
|
|
1112
|
+
videoThumbnail,
|
|
1113
|
+
videoLabel,
|
|
1114
|
+
videoAspectRatio,
|
|
1115
|
+
optixFlowConfig,
|
|
1116
|
+
setIsVideoOpen
|
|
1117
|
+
]);
|
|
1111
1118
|
const renderImage = React.useMemo(() => {
|
|
1112
1119
|
if (imageSlot) return imageSlot;
|
|
1113
1120
|
if (!image) return null;
|
|
@@ -1135,12 +1142,12 @@ function HeroMentorshipVideoSplit({
|
|
|
1135
1142
|
patternOpacity,
|
|
1136
1143
|
className: cn("relative flex items-center justify-center", className),
|
|
1137
1144
|
containerClassName,
|
|
1138
|
-
children: /* @__PURE__ */ jsxRuntime.jsx("div", { className: "relative", children: /* @__PURE__ */ jsxRuntime.jsxs("div", { className: "
|
|
1145
|
+
children: /* @__PURE__ */ jsxRuntime.jsx("div", { className: "relative", children: /* @__PURE__ */ jsxRuntime.jsxs("div", { className: "flex w-full flex-col-reverse md:flex-row gap-6 md:gap-20", children: [
|
|
1139
1146
|
/* @__PURE__ */ jsxRuntime.jsx("div", { children: /* @__PURE__ */ jsxRuntime.jsxs(
|
|
1140
1147
|
"div",
|
|
1141
1148
|
{
|
|
1142
1149
|
className: cn(
|
|
1143
|
-
"flex h-full flex-col justify-between gap-
|
|
1150
|
+
"flex h-full flex-col justify-between gap-8",
|
|
1144
1151
|
contentClassName
|
|
1145
1152
|
),
|
|
1146
1153
|
children: [
|
|
@@ -1149,7 +1156,7 @@ function HeroMentorshipVideoSplit({
|
|
|
1149
1156
|
"h1",
|
|
1150
1157
|
{
|
|
1151
1158
|
className: cn(
|
|
1152
|
-
"text-4xl font-semibold lg:text-8xl text-balance text-shadow-xl
|
|
1159
|
+
"text-4xl font-semibold lg:text-8xl text-balance text-shadow-xl",
|
|
1153
1160
|
headingClassName
|
|
1154
1161
|
),
|
|
1155
1162
|
children: heading
|
|
@@ -1158,7 +1165,7 @@ function HeroMentorshipVideoSplit({
|
|
|
1158
1165
|
"h1",
|
|
1159
1166
|
{
|
|
1160
1167
|
className: cn(
|
|
1161
|
-
"text-4xl font-semibold lg:text-8xl text-balance text-shadow-xl
|
|
1168
|
+
"text-4xl font-semibold lg:text-8xl text-balance text-shadow-xl",
|
|
1162
1169
|
headingClassName
|
|
1163
1170
|
),
|
|
1164
1171
|
children: heading
|
|
@@ -1184,12 +1191,24 @@ function HeroMentorshipVideoSplit({
|
|
|
1184
1191
|
] }) })
|
|
1185
1192
|
}
|
|
1186
1193
|
),
|
|
1187
|
-
/* @__PURE__ */ jsxRuntime.jsx(Dialog, { open: isVideoOpen, onOpenChange: setIsVideoOpen, children: /* @__PURE__ */ jsxRuntime.jsxs(
|
|
1188
|
-
|
|
1189
|
-
|
|
1190
|
-
|
|
1191
|
-
|
|
1192
|
-
|
|
1194
|
+
/* @__PURE__ */ jsxRuntime.jsx(Dialog, { open: isVideoOpen, onOpenChange: setIsVideoOpen, children: /* @__PURE__ */ jsxRuntime.jsxs(
|
|
1195
|
+
DialogContent,
|
|
1196
|
+
{
|
|
1197
|
+
className: cn(
|
|
1198
|
+
videoAspectRatio === "vertical" ? "sm:max-w-100" : "sm:max-w-200"
|
|
1199
|
+
),
|
|
1200
|
+
children: [
|
|
1201
|
+
/* @__PURE__ */ jsxRuntime.jsx(DialogHeader, { children: /* @__PURE__ */ jsxRuntime.jsx(DialogTitle, { children: videoTitle }) }),
|
|
1202
|
+
/* @__PURE__ */ jsxRuntime.jsx(
|
|
1203
|
+
"div",
|
|
1204
|
+
{
|
|
1205
|
+
className: videoAspectRatio === "vertical" ? "aspect-9/16" : "aspect-video",
|
|
1206
|
+
children: /* @__PURE__ */ jsxRuntime.jsx("video", { controls: true, autoPlay: true, className: "h-full w-full rounded-lg", children: /* @__PURE__ */ jsxRuntime.jsx("source", { src: videoUrl, type: "video/mp4" }) })
|
|
1207
|
+
}
|
|
1208
|
+
)
|
|
1209
|
+
]
|
|
1210
|
+
}
|
|
1211
|
+
) })
|
|
1193
1212
|
] });
|
|
1194
1213
|
}
|
|
1195
1214
|
|
|
@@ -1048,7 +1048,7 @@ function HeroMentorshipVideoSplit({
|
|
|
1048
1048
|
if (!videoThumbnail) return null;
|
|
1049
1049
|
const aspectRatio = videoAspectRatio === "vertical" ? 9 / 16 : 16 / 9;
|
|
1050
1050
|
return /* @__PURE__ */ jsxs("div", { className: "flex flex-col gap-4", children: [
|
|
1051
|
-
videoLabel && (typeof videoLabel === "string" ? /* @__PURE__ */ jsx("p", { className: "text-
|
|
1051
|
+
videoLabel && (typeof videoLabel === "string" ? /* @__PURE__ */ jsx("p", { className: "text-xs font-semibold uppercase opacity-75", children: videoLabel }) : videoLabel),
|
|
1052
1052
|
/* @__PURE__ */ jsx(
|
|
1053
1053
|
Pressable,
|
|
1054
1054
|
{
|
|
@@ -1072,7 +1072,7 @@ function HeroMentorshipVideoSplit({
|
|
|
1072
1072
|
optixFlowConfig
|
|
1073
1073
|
}
|
|
1074
1074
|
),
|
|
1075
|
-
/* @__PURE__ */ jsx("div", { className: "m-auto aspect-square z-10", children: /* @__PURE__ */ jsx(
|
|
1075
|
+
/* @__PURE__ */ jsx("div", { className: "m-auto aspect-square z-10 bg-card text-card-foreground p-2 rounded-xl shadow-xl", children: /* @__PURE__ */ jsx(
|
|
1076
1076
|
DynamicIcon,
|
|
1077
1077
|
{
|
|
1078
1078
|
name: "lucide/play",
|
|
@@ -1084,7 +1084,14 @@ function HeroMentorshipVideoSplit({
|
|
|
1084
1084
|
}
|
|
1085
1085
|
)
|
|
1086
1086
|
] });
|
|
1087
|
-
}, [
|
|
1087
|
+
}, [
|
|
1088
|
+
videoSlot,
|
|
1089
|
+
videoThumbnail,
|
|
1090
|
+
videoLabel,
|
|
1091
|
+
videoAspectRatio,
|
|
1092
|
+
optixFlowConfig,
|
|
1093
|
+
setIsVideoOpen
|
|
1094
|
+
]);
|
|
1088
1095
|
const renderImage = useMemo(() => {
|
|
1089
1096
|
if (imageSlot) return imageSlot;
|
|
1090
1097
|
if (!image) return null;
|
|
@@ -1112,12 +1119,12 @@ function HeroMentorshipVideoSplit({
|
|
|
1112
1119
|
patternOpacity,
|
|
1113
1120
|
className: cn("relative flex items-center justify-center", className),
|
|
1114
1121
|
containerClassName,
|
|
1115
|
-
children: /* @__PURE__ */ jsx("div", { className: "relative", children: /* @__PURE__ */ jsxs("div", { className: "
|
|
1122
|
+
children: /* @__PURE__ */ jsx("div", { className: "relative", children: /* @__PURE__ */ jsxs("div", { className: "flex w-full flex-col-reverse md:flex-row gap-6 md:gap-20", children: [
|
|
1116
1123
|
/* @__PURE__ */ jsx("div", { children: /* @__PURE__ */ jsxs(
|
|
1117
1124
|
"div",
|
|
1118
1125
|
{
|
|
1119
1126
|
className: cn(
|
|
1120
|
-
"flex h-full flex-col justify-between gap-
|
|
1127
|
+
"flex h-full flex-col justify-between gap-8",
|
|
1121
1128
|
contentClassName
|
|
1122
1129
|
),
|
|
1123
1130
|
children: [
|
|
@@ -1126,7 +1133,7 @@ function HeroMentorshipVideoSplit({
|
|
|
1126
1133
|
"h1",
|
|
1127
1134
|
{
|
|
1128
1135
|
className: cn(
|
|
1129
|
-
"text-4xl font-semibold lg:text-8xl text-balance text-shadow-xl
|
|
1136
|
+
"text-4xl font-semibold lg:text-8xl text-balance text-shadow-xl",
|
|
1130
1137
|
headingClassName
|
|
1131
1138
|
),
|
|
1132
1139
|
children: heading
|
|
@@ -1135,7 +1142,7 @@ function HeroMentorshipVideoSplit({
|
|
|
1135
1142
|
"h1",
|
|
1136
1143
|
{
|
|
1137
1144
|
className: cn(
|
|
1138
|
-
"text-4xl font-semibold lg:text-8xl text-balance text-shadow-xl
|
|
1145
|
+
"text-4xl font-semibold lg:text-8xl text-balance text-shadow-xl",
|
|
1139
1146
|
headingClassName
|
|
1140
1147
|
),
|
|
1141
1148
|
children: heading
|
|
@@ -1161,12 +1168,24 @@ function HeroMentorshipVideoSplit({
|
|
|
1161
1168
|
] }) })
|
|
1162
1169
|
}
|
|
1163
1170
|
),
|
|
1164
|
-
/* @__PURE__ */ jsx(Dialog, { open: isVideoOpen, onOpenChange: setIsVideoOpen, children: /* @__PURE__ */ jsxs(
|
|
1165
|
-
|
|
1166
|
-
|
|
1167
|
-
|
|
1168
|
-
|
|
1169
|
-
|
|
1171
|
+
/* @__PURE__ */ jsx(Dialog, { open: isVideoOpen, onOpenChange: setIsVideoOpen, children: /* @__PURE__ */ jsxs(
|
|
1172
|
+
DialogContent,
|
|
1173
|
+
{
|
|
1174
|
+
className: cn(
|
|
1175
|
+
videoAspectRatio === "vertical" ? "sm:max-w-100" : "sm:max-w-200"
|
|
1176
|
+
),
|
|
1177
|
+
children: [
|
|
1178
|
+
/* @__PURE__ */ jsx(DialogHeader, { children: /* @__PURE__ */ jsx(DialogTitle, { children: videoTitle }) }),
|
|
1179
|
+
/* @__PURE__ */ jsx(
|
|
1180
|
+
"div",
|
|
1181
|
+
{
|
|
1182
|
+
className: videoAspectRatio === "vertical" ? "aspect-9/16" : "aspect-video",
|
|
1183
|
+
children: /* @__PURE__ */ jsx("video", { controls: true, autoPlay: true, className: "h-full w-full rounded-lg", children: /* @__PURE__ */ jsx("source", { src: videoUrl, type: "video/mp4" }) })
|
|
1184
|
+
}
|
|
1185
|
+
)
|
|
1186
|
+
]
|
|
1187
|
+
}
|
|
1188
|
+
) })
|
|
1170
1189
|
] });
|
|
1171
1190
|
}
|
|
1172
1191
|
|
|
@@ -966,12 +966,12 @@ function HeroPremiumSplitAvatars({
|
|
|
966
966
|
patternOpacity,
|
|
967
967
|
className: cn("relative flex items-center justify-center", className),
|
|
968
968
|
containerClassName,
|
|
969
|
-
children: /* @__PURE__ */ jsxRuntime.jsxs("div", { className: "relative flex w-full flex-col md:flex-row", children: [
|
|
969
|
+
children: /* @__PURE__ */ jsxRuntime.jsxs("div", { className: "relative flex w-full flex-col md:flex-row gap-8 md:gap-20", children: [
|
|
970
970
|
/* @__PURE__ */ jsxRuntime.jsx("div", { className: "flex w-full items-center justify-center lg:w-1/2", children: /* @__PURE__ */ jsxRuntime.jsxs(
|
|
971
971
|
"div",
|
|
972
972
|
{
|
|
973
973
|
className: cn(
|
|
974
|
-
"my-10 flex w-
|
|
974
|
+
"my-10 flex w-full flex-col gap-6 md:gap-24",
|
|
975
975
|
contentClassName
|
|
976
976
|
),
|
|
977
977
|
children: [
|
|
@@ -944,12 +944,12 @@ function HeroPremiumSplitAvatars({
|
|
|
944
944
|
patternOpacity,
|
|
945
945
|
className: cn("relative flex items-center justify-center", className),
|
|
946
946
|
containerClassName,
|
|
947
|
-
children: /* @__PURE__ */ jsxs("div", { className: "relative flex w-full flex-col md:flex-row", children: [
|
|
947
|
+
children: /* @__PURE__ */ jsxs("div", { className: "relative flex w-full flex-col md:flex-row gap-8 md:gap-20", children: [
|
|
948
948
|
/* @__PURE__ */ jsx("div", { className: "flex w-full items-center justify-center lg:w-1/2", children: /* @__PURE__ */ jsxs(
|
|
949
949
|
"div",
|
|
950
950
|
{
|
|
951
951
|
className: cn(
|
|
952
|
-
"my-10 flex w-
|
|
952
|
+
"my-10 flex w-full flex-col gap-6 md:gap-24",
|
|
953
953
|
contentClassName
|
|
954
954
|
),
|
|
955
955
|
children: [
|