@opensite/ui 1.2.1 → 1.2.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.
@@ -1103,10 +1103,8 @@ function AutoScrollCarousel({
1103
1103
  return /* @__PURE__ */ jsxRuntime.jsx("div", { className: "flex text-left", children: /* @__PURE__ */ jsxRuntime.jsx(
1104
1104
  Pressable,
1105
1105
  {
1106
- variant: "link",
1107
- asButton: true,
1108
1106
  className: cn(
1109
- "font-medium flex items-center text-xl",
1107
+ "font-medium flex items-center text-lg px-0",
1110
1108
  actionClass,
1111
1109
  actionClassName
1112
1110
  ),
@@ -1118,7 +1116,7 @@ function AutoScrollCarousel({
1118
1116
  DynamicIcon,
1119
1117
  {
1120
1118
  name: "lucide/move-right",
1121
- size: 20,
1119
+ size: 24,
1122
1120
  className: "ml-2 inline"
1123
1121
  }
1124
1122
  )
@@ -1159,7 +1157,7 @@ function AutoScrollCarousel({
1159
1157
  "div",
1160
1158
  {
1161
1159
  className: cn(
1162
- "mb-12 grid grid-cols-1 gap-x-12 gap-y-6 md:mb-16 md:grid-cols-2 md:gap-x-24",
1160
+ "mb-12 grid grid-cols-1 gap-x-12 gap-y-6 md:mb-16 md:grid-cols-2 md:gap-x-24 px-6 md:px-0",
1163
1161
  headerClassName
1164
1162
  ),
1165
1163
  children: [
@@ -1167,7 +1165,7 @@ function AutoScrollCarousel({
1167
1165
  "h2",
1168
1166
  {
1169
1167
  className: cn(
1170
- "text-3xl font-bold md:text-4xl",
1168
+ "text-3xl font-bold md:text-4xl text-balance",
1171
1169
  headingClassName
1172
1170
  ),
1173
1171
  children: heading
@@ -1078,10 +1078,8 @@ function AutoScrollCarousel({
1078
1078
  return /* @__PURE__ */ jsx("div", { className: "flex text-left", children: /* @__PURE__ */ jsx(
1079
1079
  Pressable,
1080
1080
  {
1081
- variant: "link",
1082
- asButton: true,
1083
1081
  className: cn(
1084
- "font-medium flex items-center text-xl",
1082
+ "font-medium flex items-center text-lg px-0",
1085
1083
  actionClass,
1086
1084
  actionClassName
1087
1085
  ),
@@ -1093,7 +1091,7 @@ function AutoScrollCarousel({
1093
1091
  DynamicIcon,
1094
1092
  {
1095
1093
  name: "lucide/move-right",
1096
- size: 20,
1094
+ size: 24,
1097
1095
  className: "ml-2 inline"
1098
1096
  }
1099
1097
  )
@@ -1134,7 +1132,7 @@ function AutoScrollCarousel({
1134
1132
  "div",
1135
1133
  {
1136
1134
  className: cn(
1137
- "mb-12 grid grid-cols-1 gap-x-12 gap-y-6 md:mb-16 md:grid-cols-2 md:gap-x-24",
1135
+ "mb-12 grid grid-cols-1 gap-x-12 gap-y-6 md:mb-16 md:grid-cols-2 md:gap-x-24 px-6 md:px-0",
1138
1136
  headerClassName
1139
1137
  ),
1140
1138
  children: [
@@ -1142,7 +1140,7 @@ function AutoScrollCarousel({
1142
1140
  "h2",
1143
1141
  {
1144
1142
  className: cn(
1145
- "text-3xl font-bold md:text-4xl",
1143
+ "text-3xl font-bold md:text-4xl text-balance",
1146
1144
  headingClassName
1147
1145
  ),
1148
1146
  children: heading
@@ -1166,8 +1166,9 @@ function CarouselGradientText({
1166
1166
  if (itemsSlot) return itemsSlot;
1167
1167
  if (!items || items.length === 0) return null;
1168
1168
  return items.map((item, idx) => /* @__PURE__ */ jsxRuntime.jsx(CarouselItem, { className: cn("w-fit", itemClassName), children: /* @__PURE__ */ jsxRuntime.jsxs(
1169
- "div",
1169
+ Pressable,
1170
1170
  {
1171
+ href: item.href,
1171
1172
  className: cn(
1172
1173
  "relative aspect-4/5 max-h-[500px] rounded-2xl",
1173
1174
  item.className,
@@ -1196,12 +1197,12 @@ function CarouselGradientText({
1196
1197
  optixFlowConfig
1197
1198
  }
1198
1199
  ),
1199
- /* @__PURE__ */ jsxRuntime.jsx("div", { className: "absolute inset-0 p-8", children: /* @__PURE__ */ jsxRuntime.jsxs("p", { className: "text-sm font-semibold text-background/50 dark:text-foreground/50", children: [
1200
- /* @__PURE__ */ jsxRuntime.jsxs("span", { className: "mr-1 text-background dark:text-foreground", children: [
1200
+ /* @__PURE__ */ jsxRuntime.jsx("div", { className: "absolute inset-0 p-8", children: /* @__PURE__ */ jsxRuntime.jsxs("div", { className: "text-sm font-semibold text-white/70", children: [
1201
+ /* @__PURE__ */ jsxRuntime.jsxs("div", { className: "mr-1 text-white", children: [
1201
1202
  item.title,
1202
1203
  "."
1203
1204
  ] }),
1204
- item.description
1205
+ /* @__PURE__ */ jsxRuntime.jsx("div", { children: item.description })
1205
1206
  ] }) })
1206
1207
  ]
1207
1208
  }
@@ -1250,19 +1251,7 @@ function CarouselGradientText({
1250
1251
  ]
1251
1252
  }
1252
1253
  ),
1253
- tagline ? typeof tagline === "string" ? /* @__PURE__ */ jsxRuntime.jsx(
1254
- "p",
1255
- {
1256
- className: cn("mt-8 text-xl text-primary", taglineClassName),
1257
- children: tagline
1258
- }
1259
- ) : /* @__PURE__ */ jsxRuntime.jsx(
1260
- "div",
1261
- {
1262
- className: cn("mt-8 text-xl text-primary", taglineClassName),
1263
- children: tagline
1264
- }
1265
- ) : null,
1254
+ tagline ? typeof tagline === "string" ? /* @__PURE__ */ jsxRuntime.jsx("p", { className: cn("mt-2 md:mt-8 text-xl", taglineClassName), children: tagline }) : /* @__PURE__ */ jsxRuntime.jsx("div", { className: cn("mt-2 md:mt-8 text-xl", taglineClassName), children: tagline }) : null,
1266
1255
  /* @__PURE__ */ jsxRuntime.jsxs(
1267
1256
  "div",
1268
1257
  {
@@ -30,6 +30,10 @@ interface CarouselGradientTextItem {
30
30
  * Additional CSS classes for the card
31
31
  */
32
32
  className?: string;
33
+ /**
34
+ * href for the card
35
+ */
36
+ href?: string;
33
37
  }
34
38
  interface CarouselGradientTextProps {
35
39
  /**
@@ -30,6 +30,10 @@ interface CarouselGradientTextItem {
30
30
  * Additional CSS classes for the card
31
31
  */
32
32
  className?: string;
33
+ /**
34
+ * href for the card
35
+ */
36
+ href?: string;
33
37
  }
34
38
  interface CarouselGradientTextProps {
35
39
  /**
@@ -1142,8 +1142,9 @@ function CarouselGradientText({
1142
1142
  if (itemsSlot) return itemsSlot;
1143
1143
  if (!items || items.length === 0) return null;
1144
1144
  return items.map((item, idx) => /* @__PURE__ */ jsx(CarouselItem, { className: cn("w-fit", itemClassName), children: /* @__PURE__ */ jsxs(
1145
- "div",
1145
+ Pressable,
1146
1146
  {
1147
+ href: item.href,
1147
1148
  className: cn(
1148
1149
  "relative aspect-4/5 max-h-[500px] rounded-2xl",
1149
1150
  item.className,
@@ -1172,12 +1173,12 @@ function CarouselGradientText({
1172
1173
  optixFlowConfig
1173
1174
  }
1174
1175
  ),
1175
- /* @__PURE__ */ jsx("div", { className: "absolute inset-0 p-8", children: /* @__PURE__ */ jsxs("p", { className: "text-sm font-semibold text-background/50 dark:text-foreground/50", children: [
1176
- /* @__PURE__ */ jsxs("span", { className: "mr-1 text-background dark:text-foreground", children: [
1176
+ /* @__PURE__ */ jsx("div", { className: "absolute inset-0 p-8", children: /* @__PURE__ */ jsxs("div", { className: "text-sm font-semibold text-white/70", children: [
1177
+ /* @__PURE__ */ jsxs("div", { className: "mr-1 text-white", children: [
1177
1178
  item.title,
1178
1179
  "."
1179
1180
  ] }),
1180
- item.description
1181
+ /* @__PURE__ */ jsx("div", { children: item.description })
1181
1182
  ] }) })
1182
1183
  ]
1183
1184
  }
@@ -1226,19 +1227,7 @@ function CarouselGradientText({
1226
1227
  ]
1227
1228
  }
1228
1229
  ),
1229
- tagline ? typeof tagline === "string" ? /* @__PURE__ */ jsx(
1230
- "p",
1231
- {
1232
- className: cn("mt-8 text-xl text-primary", taglineClassName),
1233
- children: tagline
1234
- }
1235
- ) : /* @__PURE__ */ jsx(
1236
- "div",
1237
- {
1238
- className: cn("mt-8 text-xl text-primary", taglineClassName),
1239
- children: tagline
1240
- }
1241
- ) : null,
1230
+ tagline ? typeof tagline === "string" ? /* @__PURE__ */ jsx("p", { className: cn("mt-2 md:mt-8 text-xl", taglineClassName), children: tagline }) : /* @__PURE__ */ jsx("div", { className: cn("mt-2 md:mt-8 text-xl", taglineClassName), children: tagline }) : null,
1242
1231
  /* @__PURE__ */ jsxs(
1243
1232
  "div",
1244
1233
  {
@@ -1220,7 +1220,7 @@ function CarouselIconSidebar({
1220
1220
  "div",
1221
1221
  {
1222
1222
  className: cn(
1223
- "flex h-full flex-col gap-8 rounded-lg px-8 py-16",
1223
+ "flex h-full flex-col gap-8 rounded-lg p-8",
1224
1224
  getNestedCardBg(background),
1225
1225
  getNestedCardTextColor(background),
1226
1226
  sidebarClassName
@@ -1318,7 +1318,7 @@ function CarouselIconSidebar({
1318
1318
  patternClassName,
1319
1319
  className,
1320
1320
  children: [
1321
- title || description ? /* @__PURE__ */ jsxRuntime.jsxs("div", { className: "flex flex-col gap-4 mb-16", children: [
1321
+ title || description ? /* @__PURE__ */ jsxRuntime.jsxs("div", { className: "flex flex-col gap-4 mb-6 md:mb-16", children: [
1322
1322
  title && (typeof title === "string" ? /* @__PURE__ */ jsxRuntime.jsx(
1323
1323
  "h2",
1324
1324
  {
@@ -1329,17 +1329,30 @@ function CarouselIconSidebar({
1329
1329
  children: title
1330
1330
  }
1331
1331
  ) : /* @__PURE__ */ jsxRuntime.jsx("div", { className: sectionTitleClassName, children: title })),
1332
- description && (typeof description === "string" ? /* @__PURE__ */ jsxRuntime.jsx("p", { className: cn("max-w-lg text-balance", sectionDescriptionClassName), children: description }) : /* @__PURE__ */ jsxRuntime.jsx(
1332
+ description && (typeof description === "string" ? /* @__PURE__ */ jsxRuntime.jsx(
1333
+ "p",
1334
+ {
1335
+ className: cn(
1336
+ "max-w-lg text-balance",
1337
+ sectionDescriptionClassName
1338
+ ),
1339
+ children: description
1340
+ }
1341
+ ) : /* @__PURE__ */ jsxRuntime.jsx(
1333
1342
  "div",
1334
1343
  {
1335
- className: cn("max-w-lg text-balance", sectionDescriptionClassName),
1344
+ className: cn(
1345
+ "max-w-lg text-balance",
1346
+ sectionDescriptionClassName
1347
+ ),
1336
1348
  children: description
1337
1349
  }
1338
1350
  ))
1339
1351
  ] }) : null,
1340
1352
  /* @__PURE__ */ jsxRuntime.jsx(Carousel, { setApi, className: cn("w-full", carouselClassName), children: /* @__PURE__ */ jsxRuntime.jsxs("div", { className: "grid grid-cols-1 gap-6 md:grid-cols-5", children: [
1341
- /* @__PURE__ */ jsxRuntime.jsx("div", { className: "md:col-span-2", children: sidebarContent }),
1342
- /* @__PURE__ */ jsxRuntime.jsx("div", { className: "h-full md:col-span-3", children: /* @__PURE__ */ jsxRuntime.jsx(CarouselContent, { className: carouselContentClassName, children: itemsContent }) })
1353
+ /* @__PURE__ */ jsxRuntime.jsx("div", { className: "hidden md:visible md:col-span-2", children: sidebarContent }),
1354
+ /* @__PURE__ */ jsxRuntime.jsx("div", { className: "h-full md:col-span-3", children: /* @__PURE__ */ jsxRuntime.jsx(CarouselContent, { className: carouselContentClassName, children: itemsContent }) }),
1355
+ /* @__PURE__ */ jsxRuntime.jsx("div", { className: "visible md:hidden md:col-span-2", children: sidebarContent })
1343
1356
  ] }) }),
1344
1357
  lightboxOpen && /* @__PURE__ */ jsxRuntime.jsx(
1345
1358
  lightbox.Lightbox,
@@ -1196,7 +1196,7 @@ function CarouselIconSidebar({
1196
1196
  "div",
1197
1197
  {
1198
1198
  className: cn(
1199
- "flex h-full flex-col gap-8 rounded-lg px-8 py-16",
1199
+ "flex h-full flex-col gap-8 rounded-lg p-8",
1200
1200
  getNestedCardBg(background),
1201
1201
  getNestedCardTextColor(background),
1202
1202
  sidebarClassName
@@ -1294,7 +1294,7 @@ function CarouselIconSidebar({
1294
1294
  patternClassName,
1295
1295
  className,
1296
1296
  children: [
1297
- title || description ? /* @__PURE__ */ jsxs("div", { className: "flex flex-col gap-4 mb-16", children: [
1297
+ title || description ? /* @__PURE__ */ jsxs("div", { className: "flex flex-col gap-4 mb-6 md:mb-16", children: [
1298
1298
  title && (typeof title === "string" ? /* @__PURE__ */ jsx(
1299
1299
  "h2",
1300
1300
  {
@@ -1305,17 +1305,30 @@ function CarouselIconSidebar({
1305
1305
  children: title
1306
1306
  }
1307
1307
  ) : /* @__PURE__ */ jsx("div", { className: sectionTitleClassName, children: title })),
1308
- description && (typeof description === "string" ? /* @__PURE__ */ jsx("p", { className: cn("max-w-lg text-balance", sectionDescriptionClassName), children: description }) : /* @__PURE__ */ jsx(
1308
+ description && (typeof description === "string" ? /* @__PURE__ */ jsx(
1309
+ "p",
1310
+ {
1311
+ className: cn(
1312
+ "max-w-lg text-balance",
1313
+ sectionDescriptionClassName
1314
+ ),
1315
+ children: description
1316
+ }
1317
+ ) : /* @__PURE__ */ jsx(
1309
1318
  "div",
1310
1319
  {
1311
- className: cn("max-w-lg text-balance", sectionDescriptionClassName),
1320
+ className: cn(
1321
+ "max-w-lg text-balance",
1322
+ sectionDescriptionClassName
1323
+ ),
1312
1324
  children: description
1313
1325
  }
1314
1326
  ))
1315
1327
  ] }) : null,
1316
1328
  /* @__PURE__ */ jsx(Carousel, { setApi, className: cn("w-full", carouselClassName), children: /* @__PURE__ */ jsxs("div", { className: "grid grid-cols-1 gap-6 md:grid-cols-5", children: [
1317
- /* @__PURE__ */ jsx("div", { className: "md:col-span-2", children: sidebarContent }),
1318
- /* @__PURE__ */ jsx("div", { className: "h-full md:col-span-3", children: /* @__PURE__ */ jsx(CarouselContent, { className: carouselContentClassName, children: itemsContent }) })
1329
+ /* @__PURE__ */ jsx("div", { className: "hidden md:visible md:col-span-2", children: sidebarContent }),
1330
+ /* @__PURE__ */ jsx("div", { className: "h-full md:col-span-3", children: /* @__PURE__ */ jsx(CarouselContent, { className: carouselContentClassName, children: itemsContent }) }),
1331
+ /* @__PURE__ */ jsx("div", { className: "visible md:hidden md:col-span-2", children: sidebarContent })
1319
1332
  ] }) }),
1320
1333
  lightboxOpen && /* @__PURE__ */ jsx(
1321
1334
  Lightbox,
@@ -1342,7 +1342,7 @@ function CarouselIconTabs({
1342
1342
  Carousel,
1343
1343
  {
1344
1344
  setApi,
1345
- className: cn("flex flex-col gap-10", carouselClassName),
1345
+ className: cn("flex flex-col gap-4 md:gap-10", carouselClassName),
1346
1346
  children: [
1347
1347
  /* @__PURE__ */ jsxRuntime.jsx(CarouselContent, { className: carouselContentClassName, children: sectionsContent }),
1348
1348
  tabsContent,
@@ -1318,7 +1318,7 @@ function CarouselIconTabs({
1318
1318
  Carousel,
1319
1319
  {
1320
1320
  setApi,
1321
- className: cn("flex flex-col gap-10", carouselClassName),
1321
+ className: cn("flex flex-col gap-4 md:gap-10", carouselClassName),
1322
1322
  children: [
1323
1323
  /* @__PURE__ */ jsx(CarouselContent, { className: carouselContentClassName, children: sectionsContent }),
1324
1324
  tabsContent,
@@ -1237,7 +1237,7 @@ function CarouselScaleFocus({
1237
1237
  className: cn("overflow-hidden", className),
1238
1238
  children: [
1239
1239
  /* @__PURE__ */ jsxRuntime.jsxs("div", { className: "md:px-45", children: [
1240
- title || description ? /* @__PURE__ */ jsxRuntime.jsxs("div", { className: "flex flex-col gap-4 mb-16", children: [
1240
+ title || description ? /* @__PURE__ */ jsxRuntime.jsxs("div", { className: "flex flex-col gap-4 mb-6 md:mb-16 text-center", children: [
1241
1241
  title && (typeof title === "string" ? /* @__PURE__ */ jsxRuntime.jsx(
1242
1242
  "h2",
1243
1243
  {
@@ -1213,7 +1213,7 @@ function CarouselScaleFocus({
1213
1213
  className: cn("overflow-hidden", className),
1214
1214
  children: [
1215
1215
  /* @__PURE__ */ jsxs("div", { className: "md:px-45", children: [
1216
- title || description ? /* @__PURE__ */ jsxs("div", { className: "flex flex-col gap-4 mb-16", children: [
1216
+ title || description ? /* @__PURE__ */ jsxs("div", { className: "flex flex-col gap-4 mb-6 md:mb-16 text-center", children: [
1217
1217
  title && (typeof title === "string" ? /* @__PURE__ */ jsx(
1218
1218
  "h2",
1219
1219
  {
@@ -1202,7 +1202,7 @@ function CarouselTabsContent({
1202
1202
  }, []);
1203
1203
  const tabsContent = React4.useMemo(() => {
1204
1204
  if (tabsSlot) return tabsSlot;
1205
- return /* @__PURE__ */ jsxRuntime.jsx("div", { className: cn("relative flex", tabsClassName), children: /* @__PURE__ */ jsxRuntime.jsxs("div", { className: "relative flex h-auto gap-2 md:gap-4", children: [
1205
+ return /* @__PURE__ */ jsxRuntime.jsx("div", { className: cn("relative flex min-w-0 flex-1 overflow-x-auto scrollbar-hide", tabsClassName), children: /* @__PURE__ */ jsxRuntime.jsxs("div", { className: "relative flex h-auto flex-nowrap gap-2 md:gap-4", children: [
1206
1206
  items?.map((item, idx) => /* @__PURE__ */ jsxRuntime.jsx(
1207
1207
  "button",
1208
1208
  {
@@ -1211,7 +1211,7 @@ function CarouselTabsContent({
1211
1211
  },
1212
1212
  onClick: () => setCurrent(item.category),
1213
1213
  className: cn(
1214
- "text-base transition-all duration-700 ease-out px-3 py-1.5 rounded-sm",
1214
+ "text-base transition-all duration-700 ease-out px-3 py-1.5 rounded-sm whitespace-nowrap flex-shrink-0",
1215
1215
  current === item.category ? "text-foreground" : "text-muted-foreground hover:text-foreground",
1216
1216
  tabClassName
1217
1217
  ),
@@ -1317,7 +1317,7 @@ function CarouselTabsContent({
1317
1317
  patternClassName,
1318
1318
  className: cn("overflow-hidden", className),
1319
1319
  children: [
1320
- title || description ? /* @__PURE__ */ jsxRuntime.jsxs("div", { className: "flex flex-col gap-4 mb-16", children: [
1320
+ title || description ? /* @__PURE__ */ jsxRuntime.jsxs("div", { className: "flex flex-col gap-4 mb-6 md:mb-16", children: [
1321
1321
  title && (typeof title === "string" ? /* @__PURE__ */ jsxRuntime.jsx(
1322
1322
  "h2",
1323
1323
  {
@@ -1178,7 +1178,7 @@ function CarouselTabsContent({
1178
1178
  }, []);
1179
1179
  const tabsContent = useMemo(() => {
1180
1180
  if (tabsSlot) return tabsSlot;
1181
- return /* @__PURE__ */ jsx("div", { className: cn("relative flex", tabsClassName), children: /* @__PURE__ */ jsxs("div", { className: "relative flex h-auto gap-2 md:gap-4", children: [
1181
+ return /* @__PURE__ */ jsx("div", { className: cn("relative flex min-w-0 flex-1 overflow-x-auto scrollbar-hide", tabsClassName), children: /* @__PURE__ */ jsxs("div", { className: "relative flex h-auto flex-nowrap gap-2 md:gap-4", children: [
1182
1182
  items?.map((item, idx) => /* @__PURE__ */ jsx(
1183
1183
  "button",
1184
1184
  {
@@ -1187,7 +1187,7 @@ function CarouselTabsContent({
1187
1187
  },
1188
1188
  onClick: () => setCurrent(item.category),
1189
1189
  className: cn(
1190
- "text-base transition-all duration-700 ease-out px-3 py-1.5 rounded-sm",
1190
+ "text-base transition-all duration-700 ease-out px-3 py-1.5 rounded-sm whitespace-nowrap flex-shrink-0",
1191
1191
  current === item.category ? "text-foreground" : "text-muted-foreground hover:text-foreground",
1192
1192
  tabClassName
1193
1193
  ),
@@ -1293,7 +1293,7 @@ function CarouselTabsContent({
1293
1293
  patternClassName,
1294
1294
  className: cn("overflow-hidden", className),
1295
1295
  children: [
1296
- title || description ? /* @__PURE__ */ jsxs("div", { className: "flex flex-col gap-4 mb-16", children: [
1296
+ title || description ? /* @__PURE__ */ jsxs("div", { className: "flex flex-col gap-4 mb-6 md:mb-16", children: [
1297
1297
  title && (typeof title === "string" ? /* @__PURE__ */ jsx(
1298
1298
  "h2",
1299
1299
  {
@@ -573,7 +573,7 @@ function ExpandableCaseStudyCards({
573
573
  {
574
574
  "data-state": selection === item.id ? "open" : "closed",
575
575
  className: cn(
576
- 'group max-lg:w-full max-lg:flex-1 max-md:h-[200px] md:max-lg:aspect-1336/420 lg:transform-gpu lg:transition-all lg:data-[state="closed"]:w-[20%] lg:data-[state="closed"]:duration-500 lg:data-[state="open"]:w-[60%] lg:data-[state="open"]:duration-400',
576
+ "group h-[280px] w-full lg:h-auto lg:w-auto lg:transform-gpu lg:transition-all lg:data-[state=closed]:w-[20%] lg:data-[state=closed]:duration-500 lg:data-[state=open]:w-[60%] lg:data-[state=open]:duration-400",
577
577
  item.className,
578
578
  cardClassName
579
579
  ),
@@ -586,7 +586,7 @@ function ExpandableCaseStudyCards({
586
586
  href: item.href,
587
587
  className: "relative block h-full w-full overflow-hidden rounded-xl",
588
588
  children: [
589
- /* @__PURE__ */ jsxRuntime.jsx("div", { className: 'absolute inset-0 lg:group-data-[state="closed"]:blur-sm lg:transition-[filter] lg:duration-500', children: /* @__PURE__ */ jsxRuntime.jsx(
589
+ /* @__PURE__ */ jsxRuntime.jsx("div", { className: "absolute inset-0 lg:group-data-[state=closed]:blur-xs lg:transition-[filter] lg:duration-500", children: /* @__PURE__ */ jsxRuntime.jsx(
590
590
  img.Img,
591
591
  {
592
592
  src: item.image,
@@ -600,7 +600,7 @@ function ExpandableCaseStudyCards({
600
600
  }
601
601
  ) }),
602
602
  /* @__PURE__ */ jsxRuntime.jsx("div", { className: "absolute inset-x-0 bottom-0 h-[70%] bg-linear-to-t from-black/90 from-30% to-transparent" }),
603
- /* @__PURE__ */ jsxRuntime.jsxs("div", { className: 'absolute inset-0 flex flex-col justify-end p-4 pb-5 transition-opacity delay-200 duration-500 lg:group-data-[state="closed"]:opacity-0', children: [
603
+ /* @__PURE__ */ jsxRuntime.jsxs("div", { className: "absolute inset-0 flex flex-col justify-end p-4 pb-5 lg:transition-opacity lg:delay-200 lg:duration-500 lg:group-data-[state=closed]:opacity-0", children: [
604
604
  item.badges && item.badges.length > 0 && /* @__PURE__ */ jsxRuntime.jsx(
605
605
  "div",
606
606
  {
@@ -608,7 +608,15 @@ function ExpandableCaseStudyCards({
608
608
  "mb-3 flex flex-wrap items-center gap-2",
609
609
  badgesClassName
610
610
  ),
611
- children: item.badges.map((badge, idx) => /* @__PURE__ */ jsxRuntime.jsx(Badge, { variant: "secondary", className: badgeClassName, children: badge }, idx))
611
+ children: item.badges.map((badge, idx) => /* @__PURE__ */ jsxRuntime.jsx(
612
+ Badge,
613
+ {
614
+ variant: "secondary",
615
+ className: badgeClassName,
616
+ children: badge
617
+ },
618
+ idx
619
+ ))
612
620
  }
613
621
  ),
614
622
  /* @__PURE__ */ jsxRuntime.jsxs("div", { className: "flex items-end justify-between gap-3", children: [
@@ -618,7 +626,10 @@ function ExpandableCaseStudyCards({
618
626
  {
619
627
  src: item.logo,
620
628
  alt: item.logoAlt || item.company || "Logo",
621
- className: cn("h-6 max-w-[120px] object-contain object-left invert lg:h-8 lg:max-w-[150px]", logoClassName),
629
+ className: cn(
630
+ "h-6 max-w-[120px] object-contain object-left invert lg:h-8 lg:max-w-[150px]",
631
+ logoClassName
632
+ ),
622
633
  loading: "lazy",
623
634
  optixFlowConfig
624
635
  }
@@ -626,13 +637,7 @@ function ExpandableCaseStudyCards({
626
637
  /* @__PURE__ */ jsxRuntime.jsx("div", { className: "text-base font-medium text-white lg:text-lg", children: item.title }),
627
638
  item.description && /* @__PURE__ */ jsxRuntime.jsx("div", { className: "text-sm text-white/80", children: item.description })
628
639
  ] }),
629
- /* @__PURE__ */ jsxRuntime.jsx(
630
- "div",
631
- {
632
- className: "flex size-8 shrink-0 items-center justify-center rounded-full bg-white/20 text-white backdrop-blur-sm transition-transform group-hover:translate-x-1 group-hover:-translate-y-1 lg:size-10",
633
- children: /* @__PURE__ */ jsxRuntime.jsx(DynamicIcon, { name: "lucide/arrow-up-right", size: 20 })
634
- }
635
- )
640
+ /* @__PURE__ */ jsxRuntime.jsx("div", { className: "flex size-8 shrink-0 items-center justify-center rounded-full bg-white/20 text-white backdrop-blur-sm transition-transform group-hover:translate-x-1 group-hover:-translate-y-1 lg:size-10", children: /* @__PURE__ */ jsxRuntime.jsx(DynamicIcon, { name: "lucide/arrow-up-right", size: 20 }) })
636
641
  ] })
637
642
  ] })
638
643
  ]
@@ -552,7 +552,7 @@ function ExpandableCaseStudyCards({
552
552
  {
553
553
  "data-state": selection === item.id ? "open" : "closed",
554
554
  className: cn(
555
- 'group max-lg:w-full max-lg:flex-1 max-md:h-[200px] md:max-lg:aspect-1336/420 lg:transform-gpu lg:transition-all lg:data-[state="closed"]:w-[20%] lg:data-[state="closed"]:duration-500 lg:data-[state="open"]:w-[60%] lg:data-[state="open"]:duration-400',
555
+ "group h-[280px] w-full lg:h-auto lg:w-auto lg:transform-gpu lg:transition-all lg:data-[state=closed]:w-[20%] lg:data-[state=closed]:duration-500 lg:data-[state=open]:w-[60%] lg:data-[state=open]:duration-400",
556
556
  item.className,
557
557
  cardClassName
558
558
  ),
@@ -565,7 +565,7 @@ function ExpandableCaseStudyCards({
565
565
  href: item.href,
566
566
  className: "relative block h-full w-full overflow-hidden rounded-xl",
567
567
  children: [
568
- /* @__PURE__ */ jsx("div", { className: 'absolute inset-0 lg:group-data-[state="closed"]:blur-sm lg:transition-[filter] lg:duration-500', children: /* @__PURE__ */ jsx(
568
+ /* @__PURE__ */ jsx("div", { className: "absolute inset-0 lg:group-data-[state=closed]:blur-xs lg:transition-[filter] lg:duration-500", children: /* @__PURE__ */ jsx(
569
569
  Img,
570
570
  {
571
571
  src: item.image,
@@ -579,7 +579,7 @@ function ExpandableCaseStudyCards({
579
579
  }
580
580
  ) }),
581
581
  /* @__PURE__ */ jsx("div", { className: "absolute inset-x-0 bottom-0 h-[70%] bg-linear-to-t from-black/90 from-30% to-transparent" }),
582
- /* @__PURE__ */ jsxs("div", { className: 'absolute inset-0 flex flex-col justify-end p-4 pb-5 transition-opacity delay-200 duration-500 lg:group-data-[state="closed"]:opacity-0', children: [
582
+ /* @__PURE__ */ jsxs("div", { className: "absolute inset-0 flex flex-col justify-end p-4 pb-5 lg:transition-opacity lg:delay-200 lg:duration-500 lg:group-data-[state=closed]:opacity-0", children: [
583
583
  item.badges && item.badges.length > 0 && /* @__PURE__ */ jsx(
584
584
  "div",
585
585
  {
@@ -587,7 +587,15 @@ function ExpandableCaseStudyCards({
587
587
  "mb-3 flex flex-wrap items-center gap-2",
588
588
  badgesClassName
589
589
  ),
590
- children: item.badges.map((badge, idx) => /* @__PURE__ */ jsx(Badge, { variant: "secondary", className: badgeClassName, children: badge }, idx))
590
+ children: item.badges.map((badge, idx) => /* @__PURE__ */ jsx(
591
+ Badge,
592
+ {
593
+ variant: "secondary",
594
+ className: badgeClassName,
595
+ children: badge
596
+ },
597
+ idx
598
+ ))
591
599
  }
592
600
  ),
593
601
  /* @__PURE__ */ jsxs("div", { className: "flex items-end justify-between gap-3", children: [
@@ -597,7 +605,10 @@ function ExpandableCaseStudyCards({
597
605
  {
598
606
  src: item.logo,
599
607
  alt: item.logoAlt || item.company || "Logo",
600
- className: cn("h-6 max-w-[120px] object-contain object-left invert lg:h-8 lg:max-w-[150px]", logoClassName),
608
+ className: cn(
609
+ "h-6 max-w-[120px] object-contain object-left invert lg:h-8 lg:max-w-[150px]",
610
+ logoClassName
611
+ ),
601
612
  loading: "lazy",
602
613
  optixFlowConfig
603
614
  }
@@ -605,13 +616,7 @@ function ExpandableCaseStudyCards({
605
616
  /* @__PURE__ */ jsx("div", { className: "text-base font-medium text-white lg:text-lg", children: item.title }),
606
617
  item.description && /* @__PURE__ */ jsx("div", { className: "text-sm text-white/80", children: item.description })
607
618
  ] }),
608
- /* @__PURE__ */ jsx(
609
- "div",
610
- {
611
- className: "flex size-8 shrink-0 items-center justify-center rounded-full bg-white/20 text-white backdrop-blur-sm transition-transform group-hover:translate-x-1 group-hover:-translate-y-1 lg:size-10",
612
- children: /* @__PURE__ */ jsx(DynamicIcon, { name: "lucide/arrow-up-right", size: 20 })
613
- }
614
- )
619
+ /* @__PURE__ */ jsx("div", { className: "flex size-8 shrink-0 items-center justify-center rounded-full bg-white/20 text-white backdrop-blur-sm transition-transform group-hover:translate-x-1 group-hover:-translate-y-1 lg:size-10", children: /* @__PURE__ */ jsx(DynamicIcon, { name: "lucide/arrow-up-right", size: 20 }) })
615
620
  ] })
616
621
  ] })
617
622
  ]
@@ -1240,7 +1240,7 @@ function InteriorCarousel({
1240
1240
  patternClassName,
1241
1241
  className,
1242
1242
  children: [
1243
- heading || description ? /* @__PURE__ */ jsxRuntime.jsxs("div", { className: "flex flex-col gap-4 mb-16", children: [
1243
+ heading || description ? /* @__PURE__ */ jsxRuntime.jsxs("div", { className: "flex flex-col gap-4 mb-6 md:mb-16 px-6 md:px-8", children: [
1244
1244
  heading && (typeof heading === "string" ? /* @__PURE__ */ jsxRuntime.jsx(
1245
1245
  "h2",
1246
1246
  {
@@ -1259,7 +1259,7 @@ function InteriorCarousel({
1259
1259
  }
1260
1260
  ))
1261
1261
  ] }) : null,
1262
- /* @__PURE__ */ jsxRuntime.jsx("div", { className: "relative", children: /* @__PURE__ */ jsxRuntime.jsxs(
1262
+ /* @__PURE__ */ jsxRuntime.jsx("div", { className: "px-6 md:px-0", children: /* @__PURE__ */ jsxRuntime.jsxs(
1263
1263
  Carousel,
1264
1264
  {
1265
1265
  opts: {
@@ -1216,7 +1216,7 @@ function InteriorCarousel({
1216
1216
  patternClassName,
1217
1217
  className,
1218
1218
  children: [
1219
- heading || description ? /* @__PURE__ */ jsxs("div", { className: "flex flex-col gap-4 mb-16", children: [
1219
+ heading || description ? /* @__PURE__ */ jsxs("div", { className: "flex flex-col gap-4 mb-6 md:mb-16 px-6 md:px-8", children: [
1220
1220
  heading && (typeof heading === "string" ? /* @__PURE__ */ jsx(
1221
1221
  "h2",
1222
1222
  {
@@ -1235,7 +1235,7 @@ function InteriorCarousel({
1235
1235
  }
1236
1236
  ))
1237
1237
  ] }) : null,
1238
- /* @__PURE__ */ jsx("div", { className: "relative", children: /* @__PURE__ */ jsxs(
1238
+ /* @__PURE__ */ jsx("div", { className: "px-6 md:px-0", children: /* @__PURE__ */ jsxs(
1239
1239
  Carousel,
1240
1240
  {
1241
1241
  opts: {
@@ -628,8 +628,9 @@ function MasonryMotionGrid({
628
628
  patternOpacity,
629
629
  patternClassName,
630
630
  className,
631
+ containerClassName: "px-4",
631
632
  children: [
632
- title || description ? /* @__PURE__ */ jsxRuntime.jsxs("div", { className: "flex flex-col gap-4 mb-16", children: [
633
+ title || description ? /* @__PURE__ */ jsxRuntime.jsxs("div", { className: "flex flex-col gap-4 mb-6 md:mb-16", children: [
633
634
  title && (typeof title === "string" ? /* @__PURE__ */ jsxRuntime.jsx(
634
635
  "h2",
635
636
  {
@@ -622,8 +622,9 @@ function MasonryMotionGrid({
622
622
  patternOpacity,
623
623
  patternClassName,
624
624
  className,
625
+ containerClassName: "px-4",
625
626
  children: [
626
- title || description ? /* @__PURE__ */ jsxs("div", { className: "flex flex-col gap-4 mb-16", children: [
627
+ title || description ? /* @__PURE__ */ jsxs("div", { className: "flex flex-col gap-4 mb-6 md:mb-16", children: [
627
628
  title && (typeof title === "string" ? /* @__PURE__ */ jsx(
628
629
  "h2",
629
630
  {