@opensite/ui 0.6.2 → 0.6.3
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-mission-dual-image.cjs +89 -34
- package/dist/about-mission-dual-image.js +89 -34
- package/dist/about-mission-principles.cjs +86 -23
- package/dist/about-mission-principles.js +86 -23
- package/dist/about-startup-team.cjs +119 -17
- package/dist/about-startup-team.d.cts +5 -1
- package/dist/about-startup-team.d.ts +5 -1
- package/dist/about-startup-team.js +121 -19
- package/dist/components.cjs +86 -23
- package/dist/components.js +86 -23
- package/dist/index.cjs +86 -23
- package/dist/index.js +86 -23
- package/dist/registry.cjs +294 -74
- package/dist/registry.js +294 -74
- package/package.json +1 -1
package/dist/registry.js
CHANGED
|
@@ -2388,6 +2388,7 @@ function AboutDeveloperProfile({
|
|
|
2388
2388
|
}
|
|
2389
2389
|
);
|
|
2390
2390
|
}
|
|
2391
|
+
var ALL_TAB_VALUE = "__all__";
|
|
2391
2392
|
function AboutStartupTeam({
|
|
2392
2393
|
className,
|
|
2393
2394
|
containerClassName,
|
|
@@ -2409,19 +2410,48 @@ function AboutStartupTeam({
|
|
|
2409
2410
|
pattern,
|
|
2410
2411
|
patternOpacity,
|
|
2411
2412
|
defaultActiveTab,
|
|
2412
|
-
onTabChange
|
|
2413
|
+
onTabChange,
|
|
2414
|
+
allTabLabel = "All"
|
|
2413
2415
|
}) {
|
|
2416
|
+
const effectiveTabs = useMemo$1(() => {
|
|
2417
|
+
if (!sidebarLinks || sidebarLinks.length === 0 || !teamMembers || teamMembers.length === 0) {
|
|
2418
|
+
return sidebarLinks || [];
|
|
2419
|
+
}
|
|
2420
|
+
const allTab = {
|
|
2421
|
+
label: allTabLabel,
|
|
2422
|
+
value: ALL_TAB_VALUE
|
|
2423
|
+
};
|
|
2424
|
+
return [allTab, ...sidebarLinks];
|
|
2425
|
+
}, [sidebarLinks, teamMembers, allTabLabel]);
|
|
2414
2426
|
const [activeTab, setActiveTab] = useState(
|
|
2415
|
-
defaultActiveTab || (
|
|
2427
|
+
defaultActiveTab || (effectiveTabs.length > 0 ? effectiveTabs[0].value : "")
|
|
2416
2428
|
);
|
|
2417
2429
|
const handleTabChange = (value) => {
|
|
2418
2430
|
setActiveTab(value);
|
|
2419
2431
|
onTabChange?.(value);
|
|
2420
2432
|
};
|
|
2421
|
-
const
|
|
2433
|
+
const activeTabLabel = useMemo$1(() => {
|
|
2434
|
+
if (!effectiveTabs || effectiveTabs.length === 0) return null;
|
|
2435
|
+
const currentTab = effectiveTabs.find((tab) => tab.value === activeTab);
|
|
2436
|
+
return currentTab?.label || null;
|
|
2437
|
+
}, [effectiveTabs, activeTab]);
|
|
2438
|
+
const dynamicTeamTitle = useMemo$1(() => {
|
|
2439
|
+
if (teamTitle) return teamTitle;
|
|
2440
|
+
if (activeTabLabel) {
|
|
2441
|
+
if (typeof activeTabLabel === "string") {
|
|
2442
|
+
return `${activeTabLabel} Team`;
|
|
2443
|
+
}
|
|
2444
|
+
return /* @__PURE__ */ jsxs(Fragment$1, { children: [
|
|
2445
|
+
activeTabLabel,
|
|
2446
|
+
" Team"
|
|
2447
|
+
] });
|
|
2448
|
+
}
|
|
2449
|
+
return null;
|
|
2450
|
+
}, [teamTitle, activeTabLabel]);
|
|
2451
|
+
const renderTabsNav = useMemo$1(() => {
|
|
2422
2452
|
if (sidebarSlot) return sidebarSlot;
|
|
2423
|
-
if (!
|
|
2424
|
-
return /* @__PURE__ */ jsx("nav", { className: "space-y-1", children:
|
|
2453
|
+
if (!effectiveTabs || effectiveTabs.length === 0) return null;
|
|
2454
|
+
return /* @__PURE__ */ jsx("nav", { className: "space-y-1", children: effectiveTabs.map((link, idx) => /* @__PURE__ */ jsx(
|
|
2425
2455
|
Pressable,
|
|
2426
2456
|
{
|
|
2427
2457
|
componentType: "button",
|
|
@@ -2434,10 +2464,10 @@ function AboutStartupTeam({
|
|
|
2434
2464
|
},
|
|
2435
2465
|
idx
|
|
2436
2466
|
)) });
|
|
2437
|
-
}, [sidebarSlot,
|
|
2467
|
+
}, [sidebarSlot, effectiveTabs, activeTab]);
|
|
2438
2468
|
const filteredTeamMembers = useMemo$1(() => {
|
|
2439
2469
|
if (!teamMembers || teamMembers.length === 0) return [];
|
|
2440
|
-
if (!activeTab) return teamMembers;
|
|
2470
|
+
if (!activeTab || activeTab === ALL_TAB_VALUE) return teamMembers;
|
|
2441
2471
|
return teamMembers.filter(
|
|
2442
2472
|
(member) => !member.tab || member.tab === activeTab
|
|
2443
2473
|
);
|
|
@@ -2445,11 +2475,14 @@ function AboutStartupTeam({
|
|
|
2445
2475
|
const teamMembersContent = useMemo$1(() => {
|
|
2446
2476
|
if (teamMembersSlot) return teamMembersSlot;
|
|
2447
2477
|
if (filteredTeamMembers.length === 0) return null;
|
|
2448
|
-
return /* @__PURE__ */ jsx(
|
|
2478
|
+
return /* @__PURE__ */ jsx(
|
|
2449
2479
|
"div",
|
|
2450
2480
|
{
|
|
2451
|
-
className:
|
|
2452
|
-
|
|
2481
|
+
className: cn(
|
|
2482
|
+
"mt-8 grid gap-8 sm:grid-cols-2 lg:grid-cols-3",
|
|
2483
|
+
teamMembersClassName
|
|
2484
|
+
),
|
|
2485
|
+
children: filteredTeamMembers.map((member, idx) => /* @__PURE__ */ jsxs("div", { className: "rounded-xl border bg-card p-6 text-center", children: [
|
|
2453
2486
|
member.avatar ? /* @__PURE__ */ jsx(
|
|
2454
2487
|
Img,
|
|
2455
2488
|
{
|
|
@@ -2478,11 +2511,33 @@ function AboutStartupTeam({
|
|
|
2478
2511
|
},
|
|
2479
2512
|
linkIdx
|
|
2480
2513
|
)) })
|
|
2481
|
-
]
|
|
2514
|
+
] }, idx))
|
|
2515
|
+
}
|
|
2516
|
+
);
|
|
2517
|
+
}, [
|
|
2518
|
+
teamMembersSlot,
|
|
2519
|
+
filteredTeamMembers,
|
|
2520
|
+
teamMembersClassName,
|
|
2521
|
+
optixFlowConfig
|
|
2522
|
+
]);
|
|
2523
|
+
const mobileTabsNav = useMemo$1(() => {
|
|
2524
|
+
if (sidebarSlot) return null;
|
|
2525
|
+
if (!effectiveTabs || effectiveTabs.length === 0) return null;
|
|
2526
|
+
if (!teamMembers || teamMembers.length === 0) return null;
|
|
2527
|
+
return /* @__PURE__ */ jsx("nav", { className: "flex gap-2 overflow-x-auto pb-2 lg:hidden", children: effectiveTabs.map((link, idx) => /* @__PURE__ */ jsx(
|
|
2528
|
+
Pressable,
|
|
2529
|
+
{
|
|
2530
|
+
componentType: "button",
|
|
2531
|
+
onClick: () => handleTabChange(link.value),
|
|
2532
|
+
className: cn(
|
|
2533
|
+
"shrink-0 rounded-lg px-4 py-2 text-sm font-medium transition-colors",
|
|
2534
|
+
activeTab === link.value ? "bg-primary text-primary-foreground" : "bg-muted text-muted-foreground hover:bg-muted/80 hover:text-foreground"
|
|
2535
|
+
),
|
|
2536
|
+
children: link.label
|
|
2482
2537
|
},
|
|
2483
2538
|
idx
|
|
2484
2539
|
)) });
|
|
2485
|
-
}, [
|
|
2540
|
+
}, [sidebarSlot, effectiveTabs, activeTab]);
|
|
2486
2541
|
return /* @__PURE__ */ jsx(
|
|
2487
2542
|
Section,
|
|
2488
2543
|
{
|
|
@@ -2492,12 +2547,59 @@ function AboutStartupTeam({
|
|
|
2492
2547
|
patternOpacity,
|
|
2493
2548
|
className: cn(className),
|
|
2494
2549
|
children: /* @__PURE__ */ jsx("div", { className: cn(containerClassName), children: /* @__PURE__ */ jsxs("div", { className: "grid gap-12 lg:grid-cols-4", children: [
|
|
2495
|
-
/* @__PURE__ */ jsx(
|
|
2550
|
+
/* @__PURE__ */ jsx(
|
|
2551
|
+
"aside",
|
|
2552
|
+
{
|
|
2553
|
+
className: cn(
|
|
2554
|
+
"hidden lg:block lg:sticky lg:top-24 lg:self-start",
|
|
2555
|
+
sidebarClassName
|
|
2556
|
+
),
|
|
2557
|
+
children: renderTabsNav
|
|
2558
|
+
}
|
|
2559
|
+
),
|
|
2496
2560
|
/* @__PURE__ */ jsxs("div", { className: "lg:col-span-3", children: [
|
|
2497
|
-
title && (typeof title === "string" ? /* @__PURE__ */ jsx(
|
|
2498
|
-
|
|
2499
|
-
|
|
2500
|
-
|
|
2561
|
+
title && (typeof title === "string" ? /* @__PURE__ */ jsx(
|
|
2562
|
+
"h1",
|
|
2563
|
+
{
|
|
2564
|
+
className: cn(
|
|
2565
|
+
"text-4xl font-bold tracking-tight md:text-5xl",
|
|
2566
|
+
titleClassName
|
|
2567
|
+
),
|
|
2568
|
+
children: title
|
|
2569
|
+
}
|
|
2570
|
+
) : /* @__PURE__ */ jsx("div", { className: titleClassName, children: title })),
|
|
2571
|
+
description && (typeof description === "string" ? /* @__PURE__ */ jsx(
|
|
2572
|
+
"p",
|
|
2573
|
+
{
|
|
2574
|
+
className: cn(
|
|
2575
|
+
"mt-6 text-lg text-muted-foreground whitespace-pre-line",
|
|
2576
|
+
descriptionClassName
|
|
2577
|
+
),
|
|
2578
|
+
children: description
|
|
2579
|
+
}
|
|
2580
|
+
) : /* @__PURE__ */ jsx("div", { className: cn("mt-6", descriptionClassName), children: description })),
|
|
2581
|
+
/* @__PURE__ */ jsxs("div", { className: "mt-8 md:mt-16", children: [
|
|
2582
|
+
mobileTabsNav,
|
|
2583
|
+
dynamicTeamTitle && (typeof dynamicTeamTitle === "string" ? /* @__PURE__ */ jsx(
|
|
2584
|
+
"h2",
|
|
2585
|
+
{
|
|
2586
|
+
className: cn(
|
|
2587
|
+
"text-2xl font-bold",
|
|
2588
|
+
mobileTabsNav ? "mt-6" : "",
|
|
2589
|
+
teamTitleClassName
|
|
2590
|
+
),
|
|
2591
|
+
children: dynamicTeamTitle
|
|
2592
|
+
}
|
|
2593
|
+
) : /* @__PURE__ */ jsx(
|
|
2594
|
+
"div",
|
|
2595
|
+
{
|
|
2596
|
+
className: cn(
|
|
2597
|
+
mobileTabsNav ? "mt-6" : "",
|
|
2598
|
+
teamTitleClassName
|
|
2599
|
+
),
|
|
2600
|
+
children: dynamicTeamTitle
|
|
2601
|
+
}
|
|
2602
|
+
)),
|
|
2501
2603
|
teamMembersContent
|
|
2502
2604
|
] })
|
|
2503
2605
|
] })
|
|
@@ -2941,7 +3043,14 @@ function AboutMissionDualImage({
|
|
|
2941
3043
|
if (actionsSlot) return actionsSlot;
|
|
2942
3044
|
if (!actions || actions.length === 0) return null;
|
|
2943
3045
|
return actions.map((action, index) => {
|
|
2944
|
-
const {
|
|
3046
|
+
const {
|
|
3047
|
+
label,
|
|
3048
|
+
icon,
|
|
3049
|
+
iconAfter,
|
|
3050
|
+
children,
|
|
3051
|
+
className: actionClassName,
|
|
3052
|
+
...pressableProps
|
|
3053
|
+
} = action;
|
|
2945
3054
|
return /* @__PURE__ */ jsx(
|
|
2946
3055
|
Pressable,
|
|
2947
3056
|
{
|
|
@@ -2967,39 +3076,87 @@ function AboutMissionDualImage({
|
|
|
2967
3076
|
patternOpacity,
|
|
2968
3077
|
className: cn(className),
|
|
2969
3078
|
containerClassName,
|
|
2970
|
-
children: /* @__PURE__ */ jsxs(
|
|
2971
|
-
|
|
2972
|
-
|
|
2973
|
-
|
|
2974
|
-
|
|
2975
|
-
|
|
2976
|
-
|
|
2977
|
-
|
|
2978
|
-
|
|
2979
|
-
|
|
2980
|
-
|
|
2981
|
-
|
|
2982
|
-
|
|
2983
|
-
|
|
2984
|
-
|
|
2985
|
-
|
|
2986
|
-
|
|
2987
|
-
|
|
2988
|
-
|
|
2989
|
-
|
|
2990
|
-
|
|
2991
|
-
|
|
2992
|
-
|
|
2993
|
-
|
|
2994
|
-
|
|
2995
|
-
|
|
2996
|
-
|
|
2997
|
-
|
|
2998
|
-
|
|
2999
|
-
|
|
3000
|
-
|
|
3001
|
-
|
|
3002
|
-
|
|
3079
|
+
children: /* @__PURE__ */ jsxs(
|
|
3080
|
+
"div",
|
|
3081
|
+
{
|
|
3082
|
+
className: cn("grid gap-8 md:gap-16 lg:grid-cols-2", contentClassName),
|
|
3083
|
+
children: [
|
|
3084
|
+
/* @__PURE__ */ jsxs("div", { className: "flex flex-col justify-center", children: [
|
|
3085
|
+
/* @__PURE__ */ jsxs("div", { className: "mb-8 md:mb-12", children: [
|
|
3086
|
+
missionTitle && (typeof missionTitle === "string" ? /* @__PURE__ */ jsx(
|
|
3087
|
+
"h2",
|
|
3088
|
+
{
|
|
3089
|
+
className: cn(
|
|
3090
|
+
"text-3xl font-bold tracking-tight md:text-4xl",
|
|
3091
|
+
missionTitleClassName
|
|
3092
|
+
),
|
|
3093
|
+
children: missionTitle
|
|
3094
|
+
}
|
|
3095
|
+
) : /* @__PURE__ */ jsx("div", { className: missionTitleClassName, children: missionTitle })),
|
|
3096
|
+
missionContent && (typeof missionContent === "string" ? /* @__PURE__ */ jsx(
|
|
3097
|
+
"p",
|
|
3098
|
+
{
|
|
3099
|
+
className: cn(
|
|
3100
|
+
"mt-4 text-lg text-muted-foreground",
|
|
3101
|
+
missionContentClassName
|
|
3102
|
+
),
|
|
3103
|
+
children: missionContent
|
|
3104
|
+
}
|
|
3105
|
+
) : /* @__PURE__ */ jsx("div", { className: cn("mt-4", missionContentClassName), children: missionContent }))
|
|
3106
|
+
] }),
|
|
3107
|
+
/* @__PURE__ */ jsxs("div", { children: [
|
|
3108
|
+
visionTitle && (typeof visionTitle === "string" ? /* @__PURE__ */ jsx(
|
|
3109
|
+
"h2",
|
|
3110
|
+
{
|
|
3111
|
+
className: cn(
|
|
3112
|
+
"text-3xl font-bold tracking-tight md:text-4xl",
|
|
3113
|
+
visionTitleClassName
|
|
3114
|
+
),
|
|
3115
|
+
children: visionTitle
|
|
3116
|
+
}
|
|
3117
|
+
) : /* @__PURE__ */ jsx("div", { className: visionTitleClassName, children: visionTitle })),
|
|
3118
|
+
visionContent && (typeof visionContent === "string" ? /* @__PURE__ */ jsx(
|
|
3119
|
+
"p",
|
|
3120
|
+
{
|
|
3121
|
+
className: cn(
|
|
3122
|
+
"mt-4 text-lg text-muted-foreground",
|
|
3123
|
+
visionContentClassName
|
|
3124
|
+
),
|
|
3125
|
+
children: visionContent
|
|
3126
|
+
}
|
|
3127
|
+
) : /* @__PURE__ */ jsx("div", { className: cn("mt-4", visionContentClassName), children: visionContent }))
|
|
3128
|
+
] }),
|
|
3129
|
+
(actionsSlot || actions && actions.length > 0) && /* @__PURE__ */ jsx("div", { className: cn("mt-8 flex flex-wrap gap-4", actionsClassName), children: actionsContent })
|
|
3130
|
+
] }),
|
|
3131
|
+
/* @__PURE__ */ jsxs("div", { className: "relative flex flex-col gap-4 sm:grid sm:grid-cols-2", children: [
|
|
3132
|
+
primaryImage && /* @__PURE__ */ jsx(
|
|
3133
|
+
Img,
|
|
3134
|
+
{
|
|
3135
|
+
src: primaryImage.src,
|
|
3136
|
+
alt: primaryImage.alt,
|
|
3137
|
+
className: cn(
|
|
3138
|
+
"w-full h-auto rounded-2xl object-cover sm:h-full",
|
|
3139
|
+
primaryImageClassName
|
|
3140
|
+
),
|
|
3141
|
+
optixFlowConfig
|
|
3142
|
+
}
|
|
3143
|
+
),
|
|
3144
|
+
secondaryImage && /* @__PURE__ */ jsx(
|
|
3145
|
+
Img,
|
|
3146
|
+
{
|
|
3147
|
+
src: secondaryImage.src,
|
|
3148
|
+
alt: secondaryImage.alt,
|
|
3149
|
+
className: cn(
|
|
3150
|
+
"w-full h-auto rounded-2xl object-cover sm:h-full sm:mt-12",
|
|
3151
|
+
secondaryImageClassName
|
|
3152
|
+
),
|
|
3153
|
+
optixFlowConfig
|
|
3154
|
+
}
|
|
3155
|
+
)
|
|
3156
|
+
] })
|
|
3157
|
+
]
|
|
3158
|
+
}
|
|
3159
|
+
)
|
|
3003
3160
|
}
|
|
3004
3161
|
);
|
|
3005
3162
|
}
|
|
@@ -37214,20 +37371,29 @@ function AboutMissionPrinciples({
|
|
|
37214
37371
|
const principlesContent = useMemo$1(() => {
|
|
37215
37372
|
if (principlesSlot) return principlesSlot;
|
|
37216
37373
|
if (!principles || principles.length === 0) return null;
|
|
37217
|
-
return /* @__PURE__ */ jsx(
|
|
37374
|
+
return /* @__PURE__ */ jsx(
|
|
37218
37375
|
"div",
|
|
37219
37376
|
{
|
|
37220
|
-
className:
|
|
37221
|
-
|
|
37222
|
-
|
|
37223
|
-
|
|
37224
|
-
|
|
37225
|
-
|
|
37226
|
-
|
|
37227
|
-
|
|
37228
|
-
|
|
37229
|
-
|
|
37230
|
-
|
|
37377
|
+
className: cn(
|
|
37378
|
+
"grid grid-cols-1 gap-6 sm:grid-cols-2",
|
|
37379
|
+
principlesClassName
|
|
37380
|
+
),
|
|
37381
|
+
children: principles.map((principle, idx) => /* @__PURE__ */ jsxs(
|
|
37382
|
+
"div",
|
|
37383
|
+
{
|
|
37384
|
+
className: "relative rounded-lg border p-6 transition-colors hover:bg-muted",
|
|
37385
|
+
children: [
|
|
37386
|
+
principle.number && /* @__PURE__ */ jsx("div", { className: "absolute right-4 top-4 text-3xl font-bold text-primary/20", children: principle.number }),
|
|
37387
|
+
/* @__PURE__ */ jsxs("div", { className: "space-y-3", children: [
|
|
37388
|
+
principle.title && (typeof principle.title === "string" ? /* @__PURE__ */ jsx("h3", { className: "text-xl font-bold", children: principle.title }) : principle.title),
|
|
37389
|
+
principle.description && (typeof principle.description === "string" ? /* @__PURE__ */ jsx("p", { className: "text-muted-foreground", children: principle.description }) : principle.description)
|
|
37390
|
+
] })
|
|
37391
|
+
]
|
|
37392
|
+
},
|
|
37393
|
+
idx
|
|
37394
|
+
))
|
|
37395
|
+
}
|
|
37396
|
+
);
|
|
37231
37397
|
}, [principlesSlot, principles, principlesClassName]);
|
|
37232
37398
|
const visionActionContent = useMemo$1(() => {
|
|
37233
37399
|
if (visionActionSlot) return visionActionSlot;
|
|
@@ -37266,21 +37432,75 @@ function AboutMissionPrinciples({
|
|
|
37266
37432
|
containerClassName,
|
|
37267
37433
|
children: [
|
|
37268
37434
|
/* @__PURE__ */ jsxs("div", { className: "grid grid-cols-1 items-center gap-12 lg:grid-cols-2 lg:gap-24", children: [
|
|
37269
|
-
/* @__PURE__ */ jsxs("div", { className: "space-y-8", children: [
|
|
37270
|
-
badgeText && (typeof badgeText === "string" ? /* @__PURE__ */ jsx(
|
|
37271
|
-
|
|
37272
|
-
|
|
37435
|
+
/* @__PURE__ */ jsxs("div", { className: "space-y-4 md:space-y-8", children: [
|
|
37436
|
+
badgeText && (typeof badgeText === "string" ? /* @__PURE__ */ jsx(
|
|
37437
|
+
"div",
|
|
37438
|
+
{
|
|
37439
|
+
className: cn(
|
|
37440
|
+
"inline-block rounded-lg bg-primary/10 px-3 py-1 text-sm text-primary",
|
|
37441
|
+
badgeClassName
|
|
37442
|
+
),
|
|
37443
|
+
children: badgeText
|
|
37444
|
+
}
|
|
37445
|
+
) : /* @__PURE__ */ jsx("div", { className: badgeClassName, children: badgeText })),
|
|
37446
|
+
missionHeading && (typeof missionHeading === "string" ? /* @__PURE__ */ jsx(
|
|
37447
|
+
"h2",
|
|
37448
|
+
{
|
|
37449
|
+
className: cn(
|
|
37450
|
+
"text-4xl font-bold leading-tight tracking-tight lg:text-5xl",
|
|
37451
|
+
missionHeadingClassName
|
|
37452
|
+
),
|
|
37453
|
+
children: missionHeading
|
|
37454
|
+
}
|
|
37455
|
+
) : /* @__PURE__ */ jsx("div", { className: missionHeadingClassName, children: missionHeading })),
|
|
37456
|
+
missionDescription && (typeof missionDescription === "string" ? /* @__PURE__ */ jsx(
|
|
37457
|
+
"p",
|
|
37458
|
+
{
|
|
37459
|
+
className: cn(
|
|
37460
|
+
"text-xl text-muted-foreground",
|
|
37461
|
+
missionDescriptionClassName
|
|
37462
|
+
),
|
|
37463
|
+
children: missionDescription
|
|
37464
|
+
}
|
|
37465
|
+
) : /* @__PURE__ */ jsx("div", { className: missionDescriptionClassName, children: missionDescription })),
|
|
37273
37466
|
missionActionContent
|
|
37274
37467
|
] }),
|
|
37275
37468
|
principlesContent
|
|
37276
37469
|
] }),
|
|
37277
|
-
/* @__PURE__ */ jsx(
|
|
37278
|
-
|
|
37279
|
-
|
|
37280
|
-
|
|
37281
|
-
|
|
37282
|
-
|
|
37283
|
-
|
|
37470
|
+
/* @__PURE__ */ jsx(
|
|
37471
|
+
"div",
|
|
37472
|
+
{
|
|
37473
|
+
className: cn(
|
|
37474
|
+
"mt-6 md:mt-24 rounded-lg bg-muted p-8 lg:p-12",
|
|
37475
|
+
visionClassName
|
|
37476
|
+
),
|
|
37477
|
+
children: /* @__PURE__ */ jsxs("div", { className: "grid grid-cols-1 items-center gap-8 lg:grid-cols-3", children: [
|
|
37478
|
+
/* @__PURE__ */ jsxs("div", { className: "lg:col-span-2", children: [
|
|
37479
|
+
visionHeading && (typeof visionHeading === "string" ? /* @__PURE__ */ jsx(
|
|
37480
|
+
"h3",
|
|
37481
|
+
{
|
|
37482
|
+
className: cn(
|
|
37483
|
+
"mb-4 text-2xl font-bold",
|
|
37484
|
+
visionHeadingClassName
|
|
37485
|
+
),
|
|
37486
|
+
children: visionHeading
|
|
37487
|
+
}
|
|
37488
|
+
) : /* @__PURE__ */ jsx("div", { className: cn("mb-4", visionHeadingClassName), children: visionHeading })),
|
|
37489
|
+
visionDescription && (typeof visionDescription === "string" ? /* @__PURE__ */ jsx(
|
|
37490
|
+
"p",
|
|
37491
|
+
{
|
|
37492
|
+
className: cn(
|
|
37493
|
+
"mb-4 text-foreground/80",
|
|
37494
|
+
visionDescriptionClassName
|
|
37495
|
+
),
|
|
37496
|
+
children: visionDescription
|
|
37497
|
+
}
|
|
37498
|
+
) : /* @__PURE__ */ jsx("div", { className: cn("mb-4", visionDescriptionClassName), children: visionDescription }))
|
|
37499
|
+
] }),
|
|
37500
|
+
/* @__PURE__ */ jsx("div", { className: "flex justify-center lg:col-span-1 lg:justify-end", children: visionActionContent })
|
|
37501
|
+
] })
|
|
37502
|
+
}
|
|
37503
|
+
)
|
|
37284
37504
|
]
|
|
37285
37505
|
}
|
|
37286
37506
|
);
|