@opensite/ui 0.9.7 → 0.9.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/navbar-enterprise-mega.cjs +120 -127
- package/dist/navbar-enterprise-mega.js +120 -127
- package/dist/registry.cjs +120 -127
- package/dist/registry.js +120 -127
- package/package.json +1 -1
package/dist/registry.js
CHANGED
|
@@ -58353,7 +58353,7 @@ var DesktopMenuItem2 = ({
|
|
|
58353
58353
|
if (hasDropdown) {
|
|
58354
58354
|
return /* @__PURE__ */ jsxs(NavigationMenuItem, { value: `${index}`, children: [
|
|
58355
58355
|
/* @__PURE__ */ jsx(NavigationMenuTrigger, { className: "h-auto bg-transparent px-3 py-2 font-normal hover:bg-muted focus:bg-muted data-[state=open]:bg-muted/50", children: item.label }),
|
|
58356
|
-
/* @__PURE__ */ jsx(NavigationMenuContent, { className: "!rounded-xl !border-0 !p-0
|
|
58356
|
+
/* @__PURE__ */ jsx(NavigationMenuContent, { className: "!rounded-xl !border-0 !p-0", children: /* @__PURE__ */ jsx("div", { className: "w-screen", children: /* @__PURE__ */ jsx("div", { className: "mx-auto max-w-7xl px-6 py-8", children: renderDropdownContent(
|
|
58357
58357
|
{ ...item, layout: effectiveLayout },
|
|
58358
58358
|
optixFlowConfig
|
|
58359
58359
|
) }) }) })
|
|
@@ -58426,50 +58426,50 @@ var SolutionsMenu = ({
|
|
|
58426
58426
|
platformItems,
|
|
58427
58427
|
featuredHeroCard,
|
|
58428
58428
|
optixFlowConfig
|
|
58429
|
-
}) => /* @__PURE__ */ jsxs("div", { className: "grid
|
|
58429
|
+
}) => /* @__PURE__ */ jsxs("div", { className: "grid gap-6 sm:grid-cols-2", children: [
|
|
58430
58430
|
featuredHeroCard && /* @__PURE__ */ jsx(
|
|
58431
58431
|
Pressable,
|
|
58432
58432
|
{
|
|
58433
58433
|
href: featuredHeroCard.href,
|
|
58434
58434
|
className: cn(
|
|
58435
|
-
"group relative flex h-full
|
|
58435
|
+
"group relative flex h-full overflow-hidden rounded-lg text-primary-foreground",
|
|
58436
58436
|
featuredHeroCard.variant === "accent" ? "bg-accent text-accent-foreground" : "bg-primary"
|
|
58437
58437
|
),
|
|
58438
|
-
children: /* @__PURE__ */ jsxs("div", { className: "
|
|
58439
|
-
/* @__PURE__ */ jsxs("div", { className: "
|
|
58440
|
-
featuredHeroCard.subtitle && /* @__PURE__ */ jsx("span", { className: "mb-
|
|
58441
|
-
/* @__PURE__ */ jsxs("div", { className: "
|
|
58438
|
+
children: /* @__PURE__ */ jsxs("div", { className: "flex w-full flex-col items-start gap-4 p-6 lg:flex-row lg:items-center lg:gap-6", children: [
|
|
58439
|
+
/* @__PURE__ */ jsxs("div", { className: "flex flex-1 flex-col justify-center", children: [
|
|
58440
|
+
featuredHeroCard.subtitle && /* @__PURE__ */ jsx("span", { className: "mb-3 text-xs font-medium tracking-wider uppercase", children: featuredHeroCard.subtitle }),
|
|
58441
|
+
/* @__PURE__ */ jsxs("div", { className: "flex items-center gap-2 text-base font-semibold", children: [
|
|
58442
58442
|
featuredHeroCard.title,
|
|
58443
58443
|
/* @__PURE__ */ jsx(
|
|
58444
58444
|
DynamicIcon,
|
|
58445
58445
|
{
|
|
58446
58446
|
name: "lucide/arrow-right",
|
|
58447
58447
|
size: 18,
|
|
58448
|
-
className: "
|
|
58448
|
+
className: "transition-transform group-hover:translate-x-1"
|
|
58449
58449
|
}
|
|
58450
58450
|
)
|
|
58451
58451
|
] }),
|
|
58452
|
-
/* @__PURE__ */ jsx("p", { className: "mt-
|
|
58452
|
+
/* @__PURE__ */ jsx("p", { className: "mt-2 text-sm leading-relaxed text-primary-foreground/85", children: featuredHeroCard.description })
|
|
58453
58453
|
] }),
|
|
58454
|
-
/* @__PURE__ */ jsx("div", { className: "relative
|
|
58454
|
+
/* @__PURE__ */ jsx("div", { className: "relative w-full shrink-0 overflow-hidden rounded lg:w-48 xl:w-56", children: /* @__PURE__ */ jsx(
|
|
58455
58455
|
Img,
|
|
58456
58456
|
{
|
|
58457
58457
|
src: featuredHeroCard.image,
|
|
58458
58458
|
alt: featuredHeroCard.title,
|
|
58459
|
-
className: "aspect-
|
|
58459
|
+
className: "aspect-video w-full object-cover",
|
|
58460
58460
|
optixFlowConfig
|
|
58461
58461
|
}
|
|
58462
58462
|
) })
|
|
58463
58463
|
] })
|
|
58464
58464
|
}
|
|
58465
58465
|
),
|
|
58466
|
-
platformItems.length > 0 && /* @__PURE__ */ jsxs("div", {
|
|
58467
|
-
/* @__PURE__ */ jsx("div", { className: "mb-4 text-left
|
|
58468
|
-
/* @__PURE__ */ jsx("div", { className: "grid
|
|
58466
|
+
platformItems.length > 0 && /* @__PURE__ */ jsxs("div", { children: [
|
|
58467
|
+
/* @__PURE__ */ jsx("div", { className: "mb-4 text-left", children: /* @__PURE__ */ jsx("strong", { className: "text-xs font-medium tracking-wider text-muted-foreground uppercase", children: "Developer Platform" }) }),
|
|
58468
|
+
/* @__PURE__ */ jsx("div", { className: "grid gap-3 lg:grid-cols-2", children: platformItems.map((technology) => /* @__PURE__ */ jsxs(
|
|
58469
58469
|
NavigationMenuLink,
|
|
58470
58470
|
{
|
|
58471
58471
|
href: technology.href,
|
|
58472
|
-
className: "group
|
|
58472
|
+
className: "group -ml-2 flex items-center gap-3 rounded-lg p-2 hover:bg-muted",
|
|
58473
58473
|
children: [
|
|
58474
58474
|
/* @__PURE__ */ jsx(DynamicIcon, { name: technology.icon, size: 16 }),
|
|
58475
58475
|
/* @__PURE__ */ jsx("div", { className: "flex-1 text-sm font-medium", children: technology.title }),
|
|
@@ -58486,25 +58486,25 @@ var SolutionsMenu = ({
|
|
|
58486
58486
|
technology.id
|
|
58487
58487
|
)) })
|
|
58488
58488
|
] }),
|
|
58489
|
-
solutionCards.length > 0 && /* @__PURE__ */ jsx("div", { className: "col-span-full
|
|
58489
|
+
solutionCards.length > 0 && /* @__PURE__ */ jsx("div", { className: "col-span-full mt-2 grid gap-4 md:grid-cols-2 lg:grid-cols-4", children: solutionCards.map((solution) => /* @__PURE__ */ jsxs(
|
|
58490
58490
|
"div",
|
|
58491
58491
|
{
|
|
58492
|
-
className: "flex flex-col rounded-
|
|
58492
|
+
className: "flex flex-col rounded-lg border border-border p-4",
|
|
58493
58493
|
children: [
|
|
58494
|
-
/* @__PURE__ */ jsx("div", { className: "border-b border-border pb-
|
|
58494
|
+
/* @__PURE__ */ jsx("div", { className: "border-b border-border pb-3", children: /* @__PURE__ */ jsxs(
|
|
58495
58495
|
Pressable,
|
|
58496
58496
|
{
|
|
58497
58497
|
href: solution.href,
|
|
58498
58498
|
className: "group flex flex-col text-left",
|
|
58499
58499
|
children: [
|
|
58500
|
-
/* @__PURE__ */ jsxs("div", { className: "flex items-center", children: [
|
|
58500
|
+
/* @__PURE__ */ jsxs("div", { className: "flex items-center gap-1", children: [
|
|
58501
58501
|
/* @__PURE__ */ jsx("strong", { className: "text-sm font-medium", children: solution.title }),
|
|
58502
58502
|
/* @__PURE__ */ jsx(
|
|
58503
58503
|
DynamicIcon,
|
|
58504
58504
|
{
|
|
58505
58505
|
name: "lucide/arrow-right",
|
|
58506
58506
|
size: 16,
|
|
58507
|
-
className: "
|
|
58507
|
+
className: "transition-transform group-hover:translate-x-1"
|
|
58508
58508
|
}
|
|
58509
58509
|
)
|
|
58510
58510
|
] }),
|
|
@@ -58512,11 +58512,11 @@ var SolutionsMenu = ({
|
|
|
58512
58512
|
]
|
|
58513
58513
|
}
|
|
58514
58514
|
) }),
|
|
58515
|
-
/* @__PURE__ */ jsx("menu", { className: "mt-
|
|
58515
|
+
/* @__PURE__ */ jsx("menu", { className: "mt-4 grid gap-3", children: solution.subpages.map((subpage) => /* @__PURE__ */ jsxs(
|
|
58516
58516
|
NavigationMenuLink,
|
|
58517
58517
|
{
|
|
58518
58518
|
href: subpage.href,
|
|
58519
|
-
className: "group
|
|
58519
|
+
className: "group -ml-2 flex items-center gap-3 rounded-lg p-2 text-left hover:bg-muted",
|
|
58520
58520
|
children: [
|
|
58521
58521
|
/* @__PURE__ */ jsx(DynamicIcon, { name: subpage.icon, size: 16 }),
|
|
58522
58522
|
/* @__PURE__ */ jsx("div", { className: "flex-1 text-sm font-medium", children: subpage.title }),
|
|
@@ -58541,51 +58541,51 @@ var ProductsMenu = ({
|
|
|
58541
58541
|
productCategories,
|
|
58542
58542
|
featuredHeroCard,
|
|
58543
58543
|
optixFlowConfig
|
|
58544
|
-
}) => /* @__PURE__ */ jsxs("div", { className: "
|
|
58545
|
-
featuredHeroCard && /* @__PURE__ */ jsx("div", { className: "w-full shrink-0 lg:
|
|
58544
|
+
}) => /* @__PURE__ */ jsxs("div", { className: "flex flex-col gap-8 lg:flex-row", children: [
|
|
58545
|
+
featuredHeroCard && /* @__PURE__ */ jsx("div", { className: "w-full shrink-0 lg:w-80", children: /* @__PURE__ */ jsxs(
|
|
58546
58546
|
Pressable,
|
|
58547
58547
|
{
|
|
58548
58548
|
href: featuredHeroCard.href,
|
|
58549
58549
|
className: cn(
|
|
58550
|
-
"group relative flex h-full flex-
|
|
58550
|
+
"group relative flex h-full flex-col overflow-hidden rounded-lg text-primary-foreground",
|
|
58551
58551
|
featuredHeroCard.variant === "accent" ? "bg-accent text-accent-foreground" : "bg-primary"
|
|
58552
58552
|
),
|
|
58553
|
-
children:
|
|
58554
|
-
/* @__PURE__ */ jsx("div", { className: "relative
|
|
58553
|
+
children: [
|
|
58554
|
+
/* @__PURE__ */ jsx("div", { className: "relative aspect-video w-full overflow-hidden", children: /* @__PURE__ */ jsx(
|
|
58555
58555
|
Img,
|
|
58556
58556
|
{
|
|
58557
58557
|
src: featuredHeroCard.image,
|
|
58558
58558
|
alt: featuredHeroCard.title,
|
|
58559
|
-
className: "h-full w-full object-cover
|
|
58559
|
+
className: "h-full w-full object-cover",
|
|
58560
58560
|
optixFlowConfig
|
|
58561
58561
|
}
|
|
58562
58562
|
) }),
|
|
58563
|
-
/* @__PURE__ */ jsxs("div", { className: "
|
|
58564
|
-
/* @__PURE__ */ jsxs("div", { className: "flex items-center
|
|
58563
|
+
/* @__PURE__ */ jsxs("div", { className: "flex flex-col p-6", children: [
|
|
58564
|
+
/* @__PURE__ */ jsxs("div", { className: "flex items-center gap-2 text-base font-semibold", children: [
|
|
58565
58565
|
featuredHeroCard.title,
|
|
58566
58566
|
/* @__PURE__ */ jsx(
|
|
58567
58567
|
DynamicIcon,
|
|
58568
58568
|
{
|
|
58569
58569
|
name: "lucide/arrow-right",
|
|
58570
58570
|
size: 18,
|
|
58571
|
-
className: "
|
|
58571
|
+
className: "transition-transform group-hover:translate-x-1"
|
|
58572
58572
|
}
|
|
58573
58573
|
)
|
|
58574
58574
|
] }),
|
|
58575
|
-
/* @__PURE__ */ jsx("p", { className: "mt-
|
|
58575
|
+
/* @__PURE__ */ jsx("p", { className: "mt-2 text-sm leading-relaxed text-primary-foreground/85", children: featuredHeroCard.description })
|
|
58576
58576
|
] })
|
|
58577
|
-
]
|
|
58577
|
+
]
|
|
58578
58578
|
}
|
|
58579
58579
|
) }),
|
|
58580
|
-
productCategories.length > 0 && /* @__PURE__ */ jsx("div", { className: "
|
|
58581
|
-
/* @__PURE__ */ jsx("div", { className: "border-border
|
|
58582
|
-
/* @__PURE__ */ jsx("menu", { className: "grid
|
|
58580
|
+
productCategories.length > 0 && /* @__PURE__ */ jsx("div", { className: "flex flex-1 flex-col gap-8", children: productCategories.map((category) => /* @__PURE__ */ jsxs("div", { className: "flex flex-col gap-4", children: [
|
|
58581
|
+
/* @__PURE__ */ jsx("div", { className: "border-b border-border pb-2 text-left", children: /* @__PURE__ */ jsx("strong", { className: "text-xs font-medium tracking-wider text-muted-foreground uppercase", children: category.title }) }),
|
|
58582
|
+
/* @__PURE__ */ jsx("menu", { className: "grid gap-4 md:grid-cols-2 lg:grid-cols-3", children: category.products.map((product) => /* @__PURE__ */ jsxs(
|
|
58583
58583
|
NavigationMenuLink,
|
|
58584
58584
|
{
|
|
58585
58585
|
href: product.href,
|
|
58586
|
-
className: "group
|
|
58586
|
+
className: "group -ml-2 flex items-center gap-4 rounded-lg p-2 text-left hover:bg-muted",
|
|
58587
58587
|
children: [
|
|
58588
|
-
/* @__PURE__ */ jsx("div", { className: "relative flex
|
|
58588
|
+
/* @__PURE__ */ jsx("div", { className: "relative flex size-14 shrink-0 items-center justify-center overflow-hidden rounded", children: /* @__PURE__ */ jsx(
|
|
58589
58589
|
Img,
|
|
58590
58590
|
{
|
|
58591
58591
|
src: product.image,
|
|
@@ -58596,7 +58596,7 @@ var ProductsMenu = ({
|
|
|
58596
58596
|
) }),
|
|
58597
58597
|
/* @__PURE__ */ jsxs("div", { className: "flex-1 min-w-0", children: [
|
|
58598
58598
|
/* @__PURE__ */ jsx("div", { className: "text-sm font-medium", children: product.title }),
|
|
58599
|
-
/* @__PURE__ */ jsx("p", { className: "mt-
|
|
58599
|
+
/* @__PURE__ */ jsx("p", { className: "mt-0.5 text-xs text-muted-foreground", children: product.description })
|
|
58600
58600
|
] }),
|
|
58601
58601
|
/* @__PURE__ */ jsx(
|
|
58602
58602
|
DynamicIcon,
|
|
@@ -58617,55 +58617,55 @@ var GlobalMenu = ({
|
|
|
58617
58617
|
regions,
|
|
58618
58618
|
featuredHeroCard,
|
|
58619
58619
|
optixFlowConfig
|
|
58620
|
-
}) => /* @__PURE__ */ jsxs("div", {
|
|
58621
|
-
/* @__PURE__ */ jsxs("div", { className: "
|
|
58622
|
-
featuredHeroCard && /* @__PURE__ */ jsx("div", { className: "w-full shrink-0 lg:
|
|
58620
|
+
}) => /* @__PURE__ */ jsxs("div", { children: [
|
|
58621
|
+
/* @__PURE__ */ jsxs("div", { className: "flex flex-col gap-6 lg:flex-row", children: [
|
|
58622
|
+
featuredHeroCard && /* @__PURE__ */ jsx("div", { className: "w-full shrink-0 lg:w-72", children: /* @__PURE__ */ jsxs(
|
|
58623
58623
|
Pressable,
|
|
58624
58624
|
{
|
|
58625
58625
|
href: featuredHeroCard.href,
|
|
58626
58626
|
className: cn(
|
|
58627
|
-
"group relative flex h-full flex-
|
|
58627
|
+
"group relative flex h-full flex-col overflow-hidden rounded-lg text-primary-foreground",
|
|
58628
58628
|
featuredHeroCard.variant === "accent" ? "bg-accent text-accent-foreground" : "bg-primary"
|
|
58629
58629
|
),
|
|
58630
|
-
children:
|
|
58631
|
-
/* @__PURE__ */ jsx("div", { className: "relative
|
|
58630
|
+
children: [
|
|
58631
|
+
/* @__PURE__ */ jsx("div", { className: "relative aspect-[4/3] w-full overflow-hidden", children: /* @__PURE__ */ jsx(
|
|
58632
58632
|
Img,
|
|
58633
58633
|
{
|
|
58634
58634
|
src: featuredHeroCard.image,
|
|
58635
58635
|
alt: featuredHeroCard.title,
|
|
58636
|
-
className: "h-full w-full object-cover
|
|
58636
|
+
className: "h-full w-full object-cover",
|
|
58637
58637
|
optixFlowConfig
|
|
58638
58638
|
}
|
|
58639
58639
|
) }),
|
|
58640
|
-
/* @__PURE__ */ jsxs("div", { className: "
|
|
58641
|
-
/* @__PURE__ */ jsxs("div", { className: "flex items-center
|
|
58640
|
+
/* @__PURE__ */ jsxs("div", { className: "flex flex-col p-6", children: [
|
|
58641
|
+
/* @__PURE__ */ jsxs("div", { className: "flex items-center gap-2 text-base font-semibold", children: [
|
|
58642
58642
|
featuredHeroCard.title,
|
|
58643
58643
|
/* @__PURE__ */ jsx(
|
|
58644
58644
|
DynamicIcon,
|
|
58645
58645
|
{
|
|
58646
58646
|
name: "lucide/arrow-right",
|
|
58647
58647
|
size: 18,
|
|
58648
|
-
className: "
|
|
58648
|
+
className: "transition-transform group-hover:translate-x-1"
|
|
58649
58649
|
}
|
|
58650
58650
|
)
|
|
58651
58651
|
] }),
|
|
58652
|
-
/* @__PURE__ */ jsx("p", { className: "mt-
|
|
58652
|
+
/* @__PURE__ */ jsx("p", { className: "mt-2 text-sm leading-relaxed text-primary-foreground/85", children: featuredHeroCard.description })
|
|
58653
58653
|
] })
|
|
58654
|
-
]
|
|
58654
|
+
]
|
|
58655
58655
|
}
|
|
58656
58656
|
) }),
|
|
58657
|
-
featureCategories.length > 0 && /* @__PURE__ */ jsx("div", { className: "
|
|
58658
|
-
/* @__PURE__ */ jsx("div", { className: "border-border
|
|
58659
|
-
/* @__PURE__ */ jsx("menu", { className: "grid
|
|
58657
|
+
featureCategories.length > 0 && /* @__PURE__ */ jsx("div", { className: "flex flex-1 flex-col gap-8", children: featureCategories.map((category) => /* @__PURE__ */ jsxs("div", { className: "flex flex-col gap-4", children: [
|
|
58658
|
+
/* @__PURE__ */ jsx("div", { className: "border-b border-border pb-2 text-left", children: /* @__PURE__ */ jsx("strong", { className: "text-xs font-medium tracking-wider text-muted-foreground uppercase", children: category.title }) }),
|
|
58659
|
+
/* @__PURE__ */ jsx("menu", { className: "grid gap-4 md:grid-cols-2 lg:grid-cols-3", children: category.features.map((feature) => /* @__PURE__ */ jsxs(
|
|
58660
58660
|
NavigationMenuLink,
|
|
58661
58661
|
{
|
|
58662
58662
|
href: feature.href,
|
|
58663
|
-
className: "group
|
|
58663
|
+
className: "group -ml-2 flex items-center gap-3 rounded-lg p-2 text-left hover:bg-muted",
|
|
58664
58664
|
children: [
|
|
58665
|
-
/* @__PURE__ */ jsx("div", { className: "flex
|
|
58665
|
+
/* @__PURE__ */ jsx("div", { className: "flex size-9 shrink-0 items-center justify-center", children: /* @__PURE__ */ jsx(DynamicIcon, { name: feature.icon, size: 20 }) }),
|
|
58666
58666
|
/* @__PURE__ */ jsxs("div", { className: "flex-1 min-w-0", children: [
|
|
58667
58667
|
/* @__PURE__ */ jsx("div", { className: "text-sm font-medium", children: feature.title }),
|
|
58668
|
-
/* @__PURE__ */ jsx("p", { className: "mt-
|
|
58668
|
+
/* @__PURE__ */ jsx("p", { className: "mt-0.5 text-xs text-muted-foreground", children: feature.description })
|
|
58669
58669
|
] }),
|
|
58670
58670
|
/* @__PURE__ */ jsx(
|
|
58671
58671
|
DynamicIcon,
|
|
@@ -58682,18 +58682,18 @@ var GlobalMenu = ({
|
|
|
58682
58682
|
] }, category.title)) })
|
|
58683
58683
|
] }),
|
|
58684
58684
|
regions.length > 0 && /* @__PURE__ */ jsxs("div", { className: "mt-8", children: [
|
|
58685
|
-
/* @__PURE__ */ jsx("div", { className: "mb-
|
|
58686
|
-
/* @__PURE__ */ jsx("div", { className: "grid
|
|
58685
|
+
/* @__PURE__ */ jsx("div", { className: "mb-4 border-b border-border pb-2 text-left", children: /* @__PURE__ */ jsx("strong", { className: "text-xs font-medium tracking-wider text-muted-foreground uppercase", children: "Popular Locations" }) }),
|
|
58686
|
+
/* @__PURE__ */ jsx("div", { className: "grid gap-6 md:grid-cols-3 lg:grid-cols-4", children: regions.map((region) => /* @__PURE__ */ jsxs(
|
|
58687
58687
|
"div",
|
|
58688
58688
|
{
|
|
58689
|
-
className: "flex
|
|
58689
|
+
className: "flex flex-col gap-4",
|
|
58690
58690
|
children: [
|
|
58691
|
-
/* @__PURE__ */ jsx("div", { className: "text-left text-xs text-muted-foreground", children: region.title }),
|
|
58692
|
-
/* @__PURE__ */ jsx("menu", { className: "grid
|
|
58691
|
+
/* @__PURE__ */ jsx("div", { className: "text-left text-xs font-medium text-muted-foreground", children: region.title }),
|
|
58692
|
+
/* @__PURE__ */ jsx("menu", { className: "grid gap-2", children: region.locations.map((location) => /* @__PURE__ */ jsxs(
|
|
58693
58693
|
NavigationMenuLink,
|
|
58694
58694
|
{
|
|
58695
58695
|
href: location.href,
|
|
58696
|
-
className: "group
|
|
58696
|
+
className: "group -ml-2 flex items-center gap-3 rounded-lg p-2 text-left hover:bg-muted",
|
|
58697
58697
|
children: [
|
|
58698
58698
|
/* @__PURE__ */ jsx("div", { className: "flex size-4 shrink-0 items-center justify-center", children: location.icon }),
|
|
58699
58699
|
/* @__PURE__ */ jsx("div", { className: "flex-1 min-w-0 text-sm font-medium", children: location.title }),
|
|
@@ -58719,63 +58719,57 @@ var PartnersMenu = ({
|
|
|
58719
58719
|
partnerCards,
|
|
58720
58720
|
featuredHeroCard,
|
|
58721
58721
|
optixFlowConfig
|
|
58722
|
-
}) => /* @__PURE__ */ jsxs("div", { className: "grid
|
|
58723
|
-
featuredHeroCard && /* @__PURE__ */ jsx("div", {
|
|
58722
|
+
}) => /* @__PURE__ */ jsxs("div", { className: "grid gap-6 md:grid-cols-2 lg:grid-cols-[2fr_1fr]", children: [
|
|
58723
|
+
featuredHeroCard && /* @__PURE__ */ jsx("div", { children: /* @__PURE__ */ jsxs(
|
|
58724
58724
|
Pressable,
|
|
58725
58725
|
{
|
|
58726
58726
|
href: featuredHeroCard.href,
|
|
58727
58727
|
className: cn(
|
|
58728
|
-
"group relative flex h-full flex-
|
|
58728
|
+
"group relative flex h-full flex-col overflow-hidden rounded-lg text-primary-foreground",
|
|
58729
58729
|
featuredHeroCard.variant === "accent" ? "bg-accent text-accent-foreground" : "bg-primary"
|
|
58730
58730
|
),
|
|
58731
|
-
children:
|
|
58732
|
-
/* @__PURE__ */
|
|
58733
|
-
|
|
58731
|
+
children: [
|
|
58732
|
+
/* @__PURE__ */ jsx("div", { className: "relative aspect-video w-full overflow-hidden", children: /* @__PURE__ */ jsx(
|
|
58733
|
+
Img,
|
|
58734
|
+
{
|
|
58735
|
+
src: featuredHeroCard.image,
|
|
58736
|
+
alt: featuredHeroCard.title,
|
|
58737
|
+
className: cn(
|
|
58738
|
+
"h-full w-full object-cover",
|
|
58739
|
+
featuredHeroCard.imagePosition === "background" && "invert"
|
|
58740
|
+
),
|
|
58741
|
+
optixFlowConfig
|
|
58742
|
+
}
|
|
58743
|
+
) }),
|
|
58744
|
+
/* @__PURE__ */ jsxs("div", { className: "flex flex-col p-6", children: [
|
|
58745
|
+
/* @__PURE__ */ jsxs("div", { className: "flex items-center gap-2 text-base font-semibold", children: [
|
|
58734
58746
|
featuredHeroCard.title,
|
|
58735
58747
|
/* @__PURE__ */ jsx(
|
|
58736
58748
|
DynamicIcon,
|
|
58737
58749
|
{
|
|
58738
58750
|
name: "lucide/arrow-right",
|
|
58739
58751
|
size: 18,
|
|
58740
|
-
className: "
|
|
58752
|
+
className: "transition-transform group-hover:translate-x-1"
|
|
58741
58753
|
}
|
|
58742
58754
|
)
|
|
58743
58755
|
] }),
|
|
58744
|
-
/* @__PURE__ */ jsx("p", { className: "mt-
|
|
58745
|
-
] })
|
|
58746
|
-
|
|
58747
|
-
"div",
|
|
58748
|
-
{
|
|
58749
|
-
className: cn(
|
|
58750
|
-
"absolute inset-0 top-[32%] md:top-0",
|
|
58751
|
-
featuredHeroCard.imagePosition === "background" && "bg-accent invert"
|
|
58752
|
-
),
|
|
58753
|
-
children: /* @__PURE__ */ jsx(
|
|
58754
|
-
Img,
|
|
58755
|
-
{
|
|
58756
|
-
src: featuredHeroCard.image,
|
|
58757
|
-
alt: featuredHeroCard.title,
|
|
58758
|
-
className: "object-fit h-full w-full object-top-right opacity-100 md:h-2/3 md:object-top",
|
|
58759
|
-
optixFlowConfig
|
|
58760
|
-
}
|
|
58761
|
-
)
|
|
58762
|
-
}
|
|
58763
|
-
)
|
|
58764
|
-
] })
|
|
58756
|
+
/* @__PURE__ */ jsx("p", { className: "mt-2 text-sm leading-relaxed", children: featuredHeroCard.description })
|
|
58757
|
+
] })
|
|
58758
|
+
]
|
|
58765
58759
|
}
|
|
58766
58760
|
) }),
|
|
58767
|
-
partnerCards.length > 0 && /* @__PURE__ */ jsx("div", { className: "
|
|
58761
|
+
partnerCards.length > 0 && /* @__PURE__ */ jsx("div", { className: "flex flex-col gap-4", children: partnerCards.map((card) => /* @__PURE__ */ jsxs(
|
|
58768
58762
|
NavigationMenuLink,
|
|
58769
58763
|
{
|
|
58770
58764
|
href: card.href,
|
|
58771
|
-
className: "group flex
|
|
58772
|
-
children:
|
|
58765
|
+
className: "group flex items-start gap-4 rounded-lg border border-border p-4 hover:bg-muted",
|
|
58766
|
+
children: [
|
|
58773
58767
|
/* @__PURE__ */ jsx(DynamicIcon, { name: card.icon, size: 32, className: "shrink-0" }),
|
|
58774
|
-
/* @__PURE__ */ jsxs("div", { className: "
|
|
58775
|
-
/* @__PURE__ */ jsx("div", { className: "
|
|
58776
|
-
/* @__PURE__ */ jsx("p", { className: "text-xs text-muted-foreground", children: card.description })
|
|
58768
|
+
/* @__PURE__ */ jsxs("div", { className: "flex-1 min-w-0", children: [
|
|
58769
|
+
/* @__PURE__ */ jsx("div", { className: "text-sm font-bold", children: card.title }),
|
|
58770
|
+
/* @__PURE__ */ jsx("p", { className: "mt-0.5 text-xs text-muted-foreground", children: card.description })
|
|
58777
58771
|
] })
|
|
58778
|
-
]
|
|
58772
|
+
]
|
|
58779
58773
|
},
|
|
58780
58774
|
card.title
|
|
58781
58775
|
)) })
|
|
@@ -58784,74 +58778,73 @@ var ResourcesMenu = ({
|
|
|
58784
58778
|
resourceItems,
|
|
58785
58779
|
topicGroups,
|
|
58786
58780
|
featuredHeroCard
|
|
58787
|
-
}) => /* @__PURE__ */ jsxs("div", { className: "grid
|
|
58788
|
-
featuredHeroCard && /* @__PURE__ */ jsx("div", {
|
|
58781
|
+
}) => /* @__PURE__ */ jsxs("div", { className: "grid gap-6 lg:grid-cols-[280px_1fr_200px]", children: [
|
|
58782
|
+
featuredHeroCard && /* @__PURE__ */ jsx("div", { children: /* @__PURE__ */ jsxs(
|
|
58789
58783
|
Pressable,
|
|
58790
58784
|
{
|
|
58791
58785
|
href: featuredHeroCard.href,
|
|
58792
58786
|
className: cn(
|
|
58793
|
-
"group relative flex h-full flex-
|
|
58787
|
+
"group relative flex h-full flex-col overflow-hidden rounded-lg text-primary-foreground",
|
|
58794
58788
|
featuredHeroCard.variant === "accent" ? "bg-accent text-accent-foreground" : "bg-primary"
|
|
58795
58789
|
),
|
|
58796
|
-
children:
|
|
58797
|
-
/* @__PURE__ */
|
|
58798
|
-
|
|
58790
|
+
children: [
|
|
58791
|
+
/* @__PURE__ */ jsx("div", { className: "relative aspect-[4/3] w-full overflow-hidden", children: /* @__PURE__ */ jsx(
|
|
58792
|
+
Img,
|
|
58793
|
+
{
|
|
58794
|
+
src: featuredHeroCard.image,
|
|
58795
|
+
alt: featuredHeroCard.title,
|
|
58796
|
+
className: "h-full w-full object-cover invert"
|
|
58797
|
+
}
|
|
58798
|
+
) }),
|
|
58799
|
+
/* @__PURE__ */ jsxs("div", { className: "flex flex-col p-6", children: [
|
|
58800
|
+
/* @__PURE__ */ jsxs("div", { className: "flex items-center gap-2 text-base font-semibold", children: [
|
|
58799
58801
|
featuredHeroCard.title,
|
|
58800
58802
|
/* @__PURE__ */ jsx(
|
|
58801
58803
|
DynamicIcon,
|
|
58802
58804
|
{
|
|
58803
58805
|
name: "lucide/arrow-right",
|
|
58804
58806
|
size: 18,
|
|
58805
|
-
className: "
|
|
58807
|
+
className: "transition-transform group-hover:translate-x-1"
|
|
58806
58808
|
}
|
|
58807
58809
|
)
|
|
58808
58810
|
] }),
|
|
58809
|
-
/* @__PURE__ */ jsx("p", { className: "mt-
|
|
58810
|
-
] })
|
|
58811
|
-
|
|
58812
|
-
Img,
|
|
58813
|
-
{
|
|
58814
|
-
src: featuredHeroCard.image,
|
|
58815
|
-
alt: featuredHeroCard.title,
|
|
58816
|
-
className: "h-full w-full object-cover object-center invert"
|
|
58817
|
-
}
|
|
58818
|
-
) }),
|
|
58819
|
-
/* @__PURE__ */ jsx("div", { className: "absolute inset-x-0 top-0 z-10 h-[60%] bg-[linear-gradient(hsl(var(--color-primary))_50%,transparent)] md:top-auto md:bottom-[-10%] md:h-[50%] md:bg-[linear-gradient(transparent,hsl(var(--color-primary))_50%)]" })
|
|
58820
|
-
] })
|
|
58811
|
+
/* @__PURE__ */ jsx("p", { className: "mt-2 text-sm leading-relaxed", children: featuredHeroCard.description })
|
|
58812
|
+
] })
|
|
58813
|
+
]
|
|
58821
58814
|
}
|
|
58822
58815
|
) }),
|
|
58823
|
-
resourceItems.length > 0 && /* @__PURE__ */ jsxs("div", {
|
|
58824
|
-
/* @__PURE__ */ jsx("div", { className: "mb-
|
|
58825
|
-
/* @__PURE__ */ jsx("div", { className: "grid
|
|
58816
|
+
resourceItems.length > 0 && /* @__PURE__ */ jsxs("div", { children: [
|
|
58817
|
+
/* @__PURE__ */ jsx("div", { className: "mb-4 text-left", children: /* @__PURE__ */ jsx("strong", { className: "text-xs font-medium tracking-wider text-muted-foreground uppercase", children: "Resources" }) }),
|
|
58818
|
+
/* @__PURE__ */ jsx("div", { className: "grid gap-3 md:grid-cols-2", children: resourceItems.map((resource) => /* @__PURE__ */ jsxs(
|
|
58826
58819
|
NavigationMenuLink,
|
|
58827
58820
|
{
|
|
58828
58821
|
href: resource.href,
|
|
58829
|
-
className: "group
|
|
58822
|
+
className: "group -ml-2 flex items-start gap-3 rounded-lg border border-border p-3 hover:bg-muted",
|
|
58830
58823
|
children: [
|
|
58831
58824
|
/* @__PURE__ */ jsx(
|
|
58832
58825
|
DynamicIcon,
|
|
58833
58826
|
{
|
|
58834
58827
|
name: resource.icon,
|
|
58835
58828
|
size: 20,
|
|
58836
|
-
className: "mt-
|
|
58829
|
+
className: "mt-0.5 shrink-0"
|
|
58837
58830
|
}
|
|
58838
58831
|
),
|
|
58839
58832
|
/* @__PURE__ */ jsxs("div", { className: "flex-1 min-w-0", children: [
|
|
58840
58833
|
/* @__PURE__ */ jsx("div", { className: "text-sm font-medium", children: resource.title }),
|
|
58841
|
-
/* @__PURE__ */ jsx("p", { className: "mt-
|
|
58834
|
+
/* @__PURE__ */ jsx("p", { className: "mt-0.5 text-xs text-muted-foreground", children: resource.description })
|
|
58842
58835
|
] })
|
|
58843
58836
|
]
|
|
58844
58837
|
},
|
|
58845
58838
|
resource.id
|
|
58846
58839
|
)) })
|
|
58847
58840
|
] }),
|
|
58848
|
-
topicGroups.length > 0 && /* @__PURE__ */ jsx("div", {
|
|
58849
|
-
/* @__PURE__ */ jsx("div", { className: "mb-
|
|
58850
|
-
/* @__PURE__ */ jsx("div", { className: "space-y-
|
|
58841
|
+
topicGroups.length > 0 && /* @__PURE__ */ jsx("div", { children: topicGroups.map((group) => /* @__PURE__ */ jsxs("div", { className: "mb-6 last:mb-0", children: [
|
|
58842
|
+
/* @__PURE__ */ jsx("div", { className: "mb-3 text-left", children: /* @__PURE__ */ jsx("strong", { className: "text-xs font-medium tracking-wider text-muted-foreground uppercase", children: group.title }) }),
|
|
58843
|
+
/* @__PURE__ */ jsx("div", { className: "space-y-2", children: group.topics.map((topic) => /* @__PURE__ */ jsxs(
|
|
58851
58844
|
NavigationMenuLink,
|
|
58852
58845
|
{
|
|
58853
58846
|
href: topic.href,
|
|
58854
|
-
className: "group
|
|
58847
|
+
className: "group -ml-2 flex items-center gap-2 rounded-lg p-2 hover:bg-muted",
|
|
58855
58848
|
children: [
|
|
58856
58849
|
/* @__PURE__ */ jsx(DynamicIcon, { name: topic.icon, size: 16, className: "shrink-0" }),
|
|
58857
58850
|
/* @__PURE__ */ jsx("span", { className: "flex-1 text-sm font-medium", children: topic.title })
|