@opensite/ui 3.7.2 → 3.7.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/hero-ad-campaign-expert.cjs +46 -1
- package/dist/hero-ad-campaign-expert.d.cts +16 -1
- package/dist/hero-ad-campaign-expert.d.ts +16 -1
- package/dist/hero-ad-campaign-expert.js +46 -1
- package/dist/hero-adaptable-product-grid.cjs +46 -1
- package/dist/hero-adaptable-product-grid.d.cts +16 -1
- package/dist/hero-adaptable-product-grid.d.ts +16 -1
- package/dist/hero-adaptable-product-grid.js +46 -1
- package/dist/hero-agency-animated-images.cjs +46 -1
- package/dist/hero-agency-animated-images.d.cts +16 -1
- package/dist/hero-agency-animated-images.d.ts +16 -1
- package/dist/hero-agency-animated-images.js +46 -1
- package/dist/hero-ai-powered-carousel.cjs +46 -1
- package/dist/hero-ai-powered-carousel.d.cts +16 -1
- package/dist/hero-ai-powered-carousel.d.ts +16 -1
- package/dist/hero-ai-powered-carousel.js +46 -1
- package/dist/hero-announcement-badge.cjs +47 -1
- package/dist/hero-announcement-badge.d.cts +16 -1
- package/dist/hero-announcement-badge.d.ts +16 -1
- package/dist/hero-announcement-badge.js +47 -1
- package/dist/hero-architecture-fullscreen.cjs +46 -1
- package/dist/hero-architecture-fullscreen.d.cts +16 -1
- package/dist/hero-architecture-fullscreen.d.ts +16 -1
- package/dist/hero-architecture-fullscreen.js +46 -1
- package/dist/hero-badge-image-split.cjs +46 -1
- package/dist/hero-badge-image-split.d.cts +16 -1
- package/dist/hero-badge-image-split.d.ts +16 -1
- package/dist/hero-badge-image-split.js +46 -1
- package/dist/hero-badge-shadow-overlay.cjs +46 -1
- package/dist/hero-badge-shadow-overlay.d.cts +16 -1
- package/dist/hero-badge-shadow-overlay.d.ts +16 -1
- package/dist/hero-badge-shadow-overlay.js +46 -1
- package/dist/hero-business-carousel-dots.cjs +46 -1
- package/dist/hero-business-carousel-dots.d.cts +16 -1
- package/dist/hero-business-carousel-dots.d.ts +16 -1
- package/dist/hero-business-carousel-dots.js +46 -1
- package/dist/hero-business-operations-mosaic.cjs +46 -1
- package/dist/hero-business-operations-mosaic.d.cts +16 -1
- package/dist/hero-business-operations-mosaic.d.ts +16 -1
- package/dist/hero-business-operations-mosaic.js +46 -1
- package/dist/hero-centered-gradient-cta.cjs +47 -1
- package/dist/hero-centered-gradient-cta.d.cts +16 -1
- package/dist/hero-centered-gradient-cta.d.ts +16 -1
- package/dist/hero-centered-gradient-cta.js +47 -1
- package/dist/hero-centered-image-grid.cjs +46 -1
- package/dist/hero-centered-image-grid.d.cts +16 -1
- package/dist/hero-centered-image-grid.d.ts +16 -1
- package/dist/hero-centered-image-grid.js +46 -1
- package/dist/hero-centered-screenshot.cjs +46 -1
- package/dist/hero-centered-screenshot.d.cts +16 -1
- package/dist/hero-centered-screenshot.d.ts +16 -1
- package/dist/hero-centered-screenshot.js +46 -1
- package/dist/hero-coming-soon-countdown.cjs +47 -1
- package/dist/hero-coming-soon-countdown.d.cts +16 -1
- package/dist/hero-coming-soon-countdown.d.ts +16 -1
- package/dist/hero-coming-soon-countdown.js +47 -1
- package/dist/hero-community-survey-cta.cjs +46 -1
- package/dist/hero-community-survey-cta.d.cts +16 -1
- package/dist/hero-community-survey-cta.d.ts +16 -1
- package/dist/hero-community-survey-cta.js +46 -1
- package/dist/hero-conversation-intelligence.cjs +46 -1
- package/dist/hero-conversation-intelligence.d.cts +16 -1
- package/dist/hero-conversation-intelligence.d.ts +16 -1
- package/dist/hero-conversation-intelligence.js +46 -1
- package/dist/hero-creative-studio-stacked.cjs +46 -1
- package/dist/hero-creative-studio-stacked.d.cts +17 -2
- package/dist/hero-creative-studio-stacked.d.ts +17 -2
- package/dist/hero-creative-studio-stacked.js +46 -1
- package/dist/hero-crm-streamlined.cjs +46 -1
- package/dist/hero-crm-streamlined.d.cts +16 -1
- package/dist/hero-crm-streamlined.d.ts +16 -1
- package/dist/hero-crm-streamlined.js +46 -1
- package/dist/hero-customer-support-layered.cjs +46 -1
- package/dist/hero-customer-support-layered.d.cts +16 -1
- package/dist/hero-customer-support-layered.d.ts +16 -1
- package/dist/hero-customer-support-layered.js +46 -1
- package/dist/hero-design-system-3d.cjs +67 -20
- package/dist/hero-design-system-3d.d.cts +16 -1
- package/dist/hero-design-system-3d.d.ts +16 -1
- package/dist/hero-design-system-3d.js +67 -20
- package/dist/hero-developer-tools-code.cjs +47 -1
- package/dist/hero-developer-tools-code.d.cts +16 -1
- package/dist/hero-developer-tools-code.d.ts +16 -1
- package/dist/hero-developer-tools-code.js +47 -1
- package/dist/hero-digital-agency-fullscreen.cjs +46 -1
- package/dist/hero-digital-agency-fullscreen.d.cts +16 -1
- package/dist/hero-digital-agency-fullscreen.d.ts +16 -1
- package/dist/hero-digital-agency-fullscreen.js +46 -1
- package/dist/hero-ecommerce-product-showcase.cjs +46 -1
- package/dist/hero-ecommerce-product-showcase.d.cts +16 -1
- package/dist/hero-ecommerce-product-showcase.d.ts +16 -1
- package/dist/hero-ecommerce-product-showcase.js +46 -1
- package/dist/hero-enterprise-security.cjs +47 -1
- package/dist/hero-enterprise-security.d.cts +16 -1
- package/dist/hero-enterprise-security.d.ts +16 -1
- package/dist/hero-enterprise-security.js +47 -1
- package/dist/hero-feature-cards-grid.cjs +47 -1
- package/dist/hero-feature-cards-grid.d.cts +16 -1
- package/dist/hero-feature-cards-grid.d.ts +16 -1
- package/dist/hero-feature-cards-grid.js +47 -1
- package/dist/hero-fullscreen-background-image.cjs +46 -1
- package/dist/hero-fullscreen-background-image.d.cts +16 -1
- package/dist/hero-fullscreen-background-image.d.ts +16 -1
- package/dist/hero-fullscreen-background-image.js +46 -1
- package/dist/hero-gradient-avatars-rating.cjs +46 -1
- package/dist/hero-gradient-avatars-rating.d.cts +16 -1
- package/dist/hero-gradient-avatars-rating.d.ts +16 -1
- package/dist/hero-gradient-avatars-rating.js +46 -1
- package/dist/hero-gradient-client-focused.cjs +46 -1
- package/dist/hero-gradient-client-focused.d.cts +16 -1
- package/dist/hero-gradient-client-focused.d.ts +16 -1
- package/dist/hero-gradient-client-focused.js +46 -1
- package/dist/hero-grid-pattern-efficiency.cjs +47 -1
- package/dist/hero-grid-pattern-efficiency.d.cts +16 -1
- package/dist/hero-grid-pattern-efficiency.d.ts +16 -1
- package/dist/hero-grid-pattern-efficiency.js +47 -1
- package/dist/hero-grid-pattern-solutions.cjs +46 -1
- package/dist/hero-grid-pattern-solutions.d.cts +16 -1
- package/dist/hero-grid-pattern-solutions.d.ts +16 -1
- package/dist/hero-grid-pattern-solutions.js +46 -1
- package/dist/hero-hiring-animated-text.cjs +47 -1
- package/dist/hero-hiring-animated-text.d.cts +16 -1
- package/dist/hero-hiring-animated-text.d.ts +16 -1
- package/dist/hero-hiring-animated-text.js +47 -1
- package/dist/hero-image-left-content.cjs +46 -1
- package/dist/hero-image-left-content.d.cts +16 -1
- package/dist/hero-image-left-content.d.ts +16 -1
- package/dist/hero-image-left-content.js +46 -1
- package/dist/hero-image-slider.cjs +46 -1
- package/dist/hero-image-slider.d.cts +16 -1
- package/dist/hero-image-slider.d.ts +16 -1
- package/dist/hero-image-slider.js +46 -1
- package/dist/hero-innovation-image-grid.cjs +46 -1
- package/dist/hero-innovation-image-grid.d.cts +16 -1
- package/dist/hero-innovation-image-grid.d.ts +16 -1
- package/dist/hero-innovation-image-grid.js +46 -1
- package/dist/hero-marketplace-scattered-images.cjs +46 -1
- package/dist/hero-marketplace-scattered-images.d.cts +16 -1
- package/dist/hero-marketplace-scattered-images.d.ts +16 -1
- package/dist/hero-marketplace-scattered-images.js +46 -1
- package/dist/hero-minimal-centered-dark.cjs +47 -1
- package/dist/hero-minimal-centered-dark.d.cts +16 -1
- package/dist/hero-minimal-centered-dark.d.ts +16 -1
- package/dist/hero-minimal-centered-dark.js +47 -1
- package/dist/hero-mobile-app-download.cjs +46 -1
- package/dist/hero-mobile-app-download.d.cts +16 -1
- package/dist/hero-mobile-app-download.d.ts +16 -1
- package/dist/hero-mobile-app-download.js +46 -1
- package/dist/hero-newsletter-minimal.cjs +48 -1
- package/dist/hero-newsletter-minimal.d.cts +16 -1
- package/dist/hero-newsletter-minimal.d.ts +16 -1
- package/dist/hero-newsletter-minimal.js +48 -1
- package/dist/hero-overlay-cta-grid.cjs +46 -1
- package/dist/hero-overlay-cta-grid.d.cts +16 -1
- package/dist/hero-overlay-cta-grid.d.ts +16 -1
- package/dist/hero-overlay-cta-grid.js +46 -1
- package/dist/hero-portfolio-creative.cjs +46 -1
- package/dist/hero-portfolio-creative.d.cts +16 -1
- package/dist/hero-portfolio-creative.d.ts +16 -1
- package/dist/hero-portfolio-creative.js +46 -1
- package/dist/hero-premium-split-avatars.cjs +46 -1
- package/dist/hero-premium-split-avatars.d.cts +16 -1
- package/dist/hero-premium-split-avatars.d.ts +16 -1
- package/dist/hero-premium-split-avatars.js +46 -1
- package/dist/hero-presentation-platform-video.cjs +47 -1
- package/dist/hero-presentation-platform-video.d.cts +16 -1
- package/dist/hero-presentation-platform-video.d.ts +16 -1
- package/dist/hero-presentation-platform-video.js +47 -1
- package/dist/hero-pricing-comparison.cjs +47 -1
- package/dist/hero-pricing-comparison.d.cts +16 -1
- package/dist/hero-pricing-comparison.d.ts +16 -1
- package/dist/hero-pricing-comparison.js +47 -1
- package/dist/hero-product-showcase-floating.cjs +46 -1
- package/dist/hero-product-showcase-floating.d.cts +16 -1
- package/dist/hero-product-showcase-floating.d.ts +16 -1
- package/dist/hero-product-showcase-floating.js +46 -1
- package/dist/hero-productivity-launcher-video.cjs +68 -20
- package/dist/hero-productivity-launcher-video.d.cts +16 -1
- package/dist/hero-productivity-launcher-video.d.ts +16 -1
- package/dist/hero-productivity-launcher-video.js +68 -20
- package/dist/hero-saas-dashboard-preview.cjs +46 -1
- package/dist/hero-saas-dashboard-preview.d.cts +16 -1
- package/dist/hero-saas-dashboard-preview.d.ts +16 -1
- package/dist/hero-saas-dashboard-preview.js +46 -1
- package/dist/hero-shared-inbox-layered.cjs +46 -1
- package/dist/hero-shared-inbox-layered.d.cts +16 -1
- package/dist/hero-shared-inbox-layered.d.ts +16 -1
- package/dist/hero-shared-inbox-layered.js +46 -1
- package/dist/hero-simple-centered-image.cjs +46 -1
- package/dist/hero-simple-centered-image.d.cts +16 -1
- package/dist/hero-simple-centered-image.d.ts +16 -1
- package/dist/hero-simple-centered-image.js +46 -1
- package/dist/hero-software-growth-video-dialog.cjs +46 -1
- package/dist/hero-software-growth-video-dialog.d.cts +16 -1
- package/dist/hero-software-growth-video-dialog.d.ts +16 -1
- package/dist/hero-software-growth-video-dialog.js +46 -1
- package/dist/hero-spiral-pattern-cards.cjs +46 -1
- package/dist/hero-spiral-pattern-cards.d.cts +16 -1
- package/dist/hero-spiral-pattern-cards.d.ts +16 -1
- package/dist/hero-spiral-pattern-cards.js +46 -1
- package/dist/hero-split-geometric-shapes.cjs +46 -1
- package/dist/hero-split-geometric-shapes.d.cts +16 -1
- package/dist/hero-split-geometric-shapes.d.ts +16 -1
- package/dist/hero-split-geometric-shapes.js +46 -1
- package/dist/hero-split-icon-cards.cjs +47 -1
- package/dist/hero-split-icon-cards.d.cts +16 -1
- package/dist/hero-split-icon-cards.d.ts +16 -1
- package/dist/hero-split-icon-cards.js +47 -1
- package/dist/hero-split-image-newsletter.cjs +46 -1
- package/dist/hero-split-image-newsletter.d.cts +16 -1
- package/dist/hero-split-image-newsletter.d.ts +16 -1
- package/dist/hero-split-image-newsletter.js +47 -2
- package/dist/hero-split-spiral-shapes.cjs +46 -1
- package/dist/hero-split-spiral-shapes.d.cts +16 -1
- package/dist/hero-split-spiral-shapes.d.ts +16 -1
- package/dist/hero-split-spiral-shapes.js +46 -1
- package/dist/hero-startup-launch-cta.cjs +46 -1
- package/dist/hero-startup-launch-cta.d.cts +16 -1
- package/dist/hero-startup-launch-cta.d.ts +16 -1
- package/dist/hero-startup-launch-cta.js +46 -1
- package/dist/hero-stats-social-proof.cjs +46 -1
- package/dist/hero-stats-social-proof.d.cts +16 -1
- package/dist/hero-stats-social-proof.d.ts +16 -1
- package/dist/hero-stats-social-proof.js +46 -1
- package/dist/hero-task-timer-animated.cjs +46 -1
- package/dist/hero-task-timer-animated.d.cts +16 -1
- package/dist/hero-task-timer-animated.d.ts +16 -1
- package/dist/hero-task-timer-animated.js +46 -1
- package/dist/hero-testimonial-image-grid.cjs +46 -1
- package/dist/hero-testimonial-image-grid.d.cts +16 -1
- package/dist/hero-testimonial-image-grid.d.ts +16 -1
- package/dist/hero-testimonial-image-grid.js +46 -1
- package/dist/hero-therapy-testimonial-grid.cjs +46 -1
- package/dist/hero-therapy-testimonial-grid.d.cts +16 -1
- package/dist/hero-therapy-testimonial-grid.d.ts +16 -1
- package/dist/hero-therapy-testimonial-grid.js +46 -1
- package/dist/hero-ui-library-showcase.cjs +3 -2
- package/dist/hero-ui-library-showcase.d.cts +13 -5
- package/dist/hero-ui-library-showcase.d.ts +13 -5
- package/dist/hero-ui-library-showcase.js +3 -2
- package/dist/hero-video-background-dark.cjs +47 -1
- package/dist/hero-video-background-dark.d.cts +16 -1
- package/dist/hero-video-background-dark.d.ts +16 -1
- package/dist/hero-video-background-dark.js +47 -1
- package/dist/{hero-video-dialog-gradient-Cr96k01H.d.ts → hero-video-dialog-gradient-B6-kFIvZ.d.ts} +14 -1
- package/dist/{hero-video-dialog-gradient-Dc0wRYdW.d.cts → hero-video-dialog-gradient-DPnh6Vn-.d.cts} +14 -1
- package/dist/hero-video-dialog-gradient.cjs +46 -1
- package/dist/hero-video-dialog-gradient.d.cts +4 -1
- package/dist/hero-video-dialog-gradient.d.ts +4 -1
- package/dist/hero-video-dialog-gradient.js +46 -1
- package/dist/hero-welcome-asymmetric-images.cjs +46 -1
- package/dist/hero-welcome-asymmetric-images.d.cts +16 -1
- package/dist/hero-welcome-asymmetric-images.d.ts +16 -1
- package/dist/hero-welcome-asymmetric-images.js +46 -1
- package/dist/link-page-bento-layout.cjs +59 -3
- package/dist/link-page-bento-layout.d.cts +16 -1
- package/dist/link-page-bento-layout.d.ts +16 -1
- package/dist/link-page-bento-layout.js +59 -3
- package/dist/link-page-grid-cards.cjs +59 -3
- package/dist/link-page-grid-cards.d.cts +16 -1
- package/dist/link-page-grid-cards.d.ts +16 -1
- package/dist/link-page-grid-cards.js +59 -3
- package/dist/link-page-minimal-profile.cjs +59 -3
- package/dist/link-page-minimal-profile.d.cts +16 -1
- package/dist/link-page-minimal-profile.d.ts +16 -1
- package/dist/link-page-minimal-profile.js +59 -3
- package/dist/link-page-newsletter-social.cjs +59 -3
- package/dist/link-page-newsletter-social.d.cts +16 -1
- package/dist/link-page-newsletter-social.d.ts +16 -1
- package/dist/link-page-newsletter-social.js +59 -3
- package/dist/link-tree-block.cjs +58 -2
- package/dist/link-tree-block.d.cts +16 -1
- package/dist/link-tree-block.d.ts +16 -1
- package/dist/link-tree-block.js +58 -2
- package/dist/registry.cjs +704 -182
- package/dist/registry.js +704 -182
- package/dist/social-link-icon.d.cts +1 -1
- package/dist/social-link-icon.d.ts +1 -1
- package/package.json +1 -1
package/dist/{hero-video-dialog-gradient-Dc0wRYdW.d.cts → hero-video-dialog-gradient-DPnh6Vn-.d.cts}
RENAMED
|
@@ -1,5 +1,6 @@
|
|
|
1
1
|
import * as React from 'react';
|
|
2
2
|
import { S as SectionBackground, s as SectionSpacing, t as PatternName } from './community-initiatives-Cgd-IXlI.cjs';
|
|
3
|
+
import { L as LogoConfig } from './types-mWZcgKth.cjs';
|
|
3
4
|
import { A as ActionConfig, I as ImageItem, M as MediaItem, O as OptixFlowConfig } from './blocks-DyouPohq.cjs';
|
|
4
5
|
|
|
5
6
|
/**
|
|
@@ -104,7 +105,19 @@ interface HeroVideoDialogGradientProps {
|
|
|
104
105
|
* Additional CSS classes for the actions container
|
|
105
106
|
*/
|
|
106
107
|
actionsClassName?: string;
|
|
108
|
+
/**
|
|
109
|
+
* Brand logo configuration. LOGO MEDIA ONLY — do not use photos or hero images.
|
|
110
|
+
*/
|
|
111
|
+
logo?: LogoConfig;
|
|
112
|
+
/**
|
|
113
|
+
* Custom slot for logo (overrides logo prop)
|
|
114
|
+
*/
|
|
115
|
+
logoSlot?: React.ReactNode;
|
|
116
|
+
/**
|
|
117
|
+
* Additional CSS classes for the logo container
|
|
118
|
+
*/
|
|
119
|
+
logoClassName?: string;
|
|
107
120
|
}
|
|
108
|
-
declare function HeroVideoDialogGradient({ videoAspectRatio, heading, description, actions, videoAction, image, imageSlot, modalVideo, videoDialogTitle, videoDialog, background, containerClassName, spacing, pattern, onVideoClick, patternOpacity, actionsClassName, className, headingClassName, descriptionClassName, imageClassName, optixFlowConfig, }: HeroVideoDialogGradientProps): React.JSX.Element;
|
|
121
|
+
declare function HeroVideoDialogGradient({ videoAspectRatio, heading, description, actions, videoAction, image, imageSlot, modalVideo, videoDialogTitle, videoDialog, background, containerClassName, spacing, pattern, onVideoClick, patternOpacity, actionsClassName, className, headingClassName, descriptionClassName, imageClassName, optixFlowConfig, logo, logoSlot, logoClassName, }: HeroVideoDialogGradientProps): React.JSX.Element;
|
|
109
122
|
|
|
110
123
|
export { HeroVideoDialogGradient as H, type VideoDialogConfig as V, type HeroVideoDialogGradientProps as a };
|
|
@@ -558,6 +558,47 @@ function ActionComponent({ action }) {
|
|
|
558
558
|
}
|
|
559
559
|
);
|
|
560
560
|
}
|
|
561
|
+
var SIZE_CLASSES = {
|
|
562
|
+
sm: "max-h-6 sm:max-h-7",
|
|
563
|
+
md: "max-h-8 sm:max-h-9 lg:max-h-10",
|
|
564
|
+
lg: "max-h-10 sm:max-h-12 lg:max-h-14",
|
|
565
|
+
xl: "max-h-12 sm:max-h-14 lg:max-h-16"
|
|
566
|
+
};
|
|
567
|
+
var BrandLogo = ({
|
|
568
|
+
logo,
|
|
569
|
+
logoSlot,
|
|
570
|
+
logoClassName,
|
|
571
|
+
size = "md",
|
|
572
|
+
optixFlowConfig
|
|
573
|
+
}) => {
|
|
574
|
+
if (logoSlot) return /* @__PURE__ */ jsxRuntime.jsx(jsxRuntime.Fragment, { children: logoSlot });
|
|
575
|
+
if (!logo || !logo.src) return null;
|
|
576
|
+
const imgElement = /* @__PURE__ */ jsxRuntime.jsx(
|
|
577
|
+
img.Img,
|
|
578
|
+
{
|
|
579
|
+
src: logo.src,
|
|
580
|
+
className: cn(
|
|
581
|
+
"w-auto object-contain",
|
|
582
|
+
SIZE_CLASSES[size],
|
|
583
|
+
logo.className
|
|
584
|
+
),
|
|
585
|
+
alt: logo.alt || "Logo",
|
|
586
|
+
optixFlowConfig,
|
|
587
|
+
loading: "eager"
|
|
588
|
+
}
|
|
589
|
+
);
|
|
590
|
+
if (logo.url) {
|
|
591
|
+
return /* @__PURE__ */ jsxRuntime.jsx(
|
|
592
|
+
pressable.Pressable,
|
|
593
|
+
{
|
|
594
|
+
href: logo.url,
|
|
595
|
+
className: cn("flex items-center", logoClassName),
|
|
596
|
+
children: imgElement
|
|
597
|
+
}
|
|
598
|
+
);
|
|
599
|
+
}
|
|
600
|
+
return /* @__PURE__ */ jsxRuntime.jsx("div", { className: cn("flex items-center", logoClassName), children: imgElement });
|
|
601
|
+
};
|
|
561
602
|
function HeroVideoDialogGradient({
|
|
562
603
|
videoAspectRatio = "horizontal",
|
|
563
604
|
heading,
|
|
@@ -580,7 +621,10 @@ function HeroVideoDialogGradient({
|
|
|
580
621
|
headingClassName,
|
|
581
622
|
descriptionClassName,
|
|
582
623
|
imageClassName,
|
|
583
|
-
optixFlowConfig
|
|
624
|
+
optixFlowConfig,
|
|
625
|
+
logo,
|
|
626
|
+
logoSlot,
|
|
627
|
+
logoClassName
|
|
584
628
|
}) {
|
|
585
629
|
const [isVideoOpen, setIsVideoOpen] = React.useState(false);
|
|
586
630
|
const [skinClasses, setSkinClasses] = React.useState(null);
|
|
@@ -637,6 +681,7 @@ function HeroVideoDialogGradient({
|
|
|
637
681
|
children: /* @__PURE__ */ jsxRuntime.jsxs("div", { className: "relative z-20 pt-10 md:pt-", children: [
|
|
638
682
|
/* @__PURE__ */ jsxRuntime.jsxs("div", { className: "flex flex-col items-center gap-6 md:gap-8", children: [
|
|
639
683
|
/* @__PURE__ */ jsxRuntime.jsxs("div", { className: "flex flex-col items-center gap-6", children: [
|
|
684
|
+
(logo || logoSlot) && /* @__PURE__ */ jsxRuntime.jsx("div", { className: cn("mb-4 flex justify-center", logoClassName), children: /* @__PURE__ */ jsxRuntime.jsx(BrandLogo, { logo, logoSlot, size: "lg" }) }),
|
|
640
685
|
heading && (typeof heading === "string" ? /* @__PURE__ */ jsxRuntime.jsx(
|
|
641
686
|
"h1",
|
|
642
687
|
{
|
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
export { H as HeroVideoDialogGradient, a as HeroVideoDialogGradientProps } from './hero-video-dialog-gradient-
|
|
1
|
+
export { H as HeroVideoDialogGradient, a as HeroVideoDialogGradientProps } from './hero-video-dialog-gradient-DPnh6Vn-.cjs';
|
|
2
2
|
import 'react';
|
|
3
3
|
import './community-initiatives-Cgd-IXlI.cjs';
|
|
4
4
|
import './blocks-DyouPohq.cjs';
|
|
@@ -6,3 +6,6 @@ import 'class-variance-authority';
|
|
|
6
6
|
import '@page-speed/pressable';
|
|
7
7
|
import '@opensite/hooks/usePlatformFromUrl';
|
|
8
8
|
import 'react/jsx-runtime';
|
|
9
|
+
import './types-mWZcgKth.cjs';
|
|
10
|
+
import './dynamic-icon.cjs';
|
|
11
|
+
import '@page-speed/icon';
|
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
export { H as HeroVideoDialogGradient, a as HeroVideoDialogGradientProps } from './hero-video-dialog-gradient-
|
|
1
|
+
export { H as HeroVideoDialogGradient, a as HeroVideoDialogGradientProps } from './hero-video-dialog-gradient-B6-kFIvZ.js';
|
|
2
2
|
import 'react';
|
|
3
3
|
import './community-initiatives-Dud0DKXB.js';
|
|
4
4
|
import './blocks-DyouPohq.js';
|
|
@@ -6,3 +6,6 @@ import 'class-variance-authority';
|
|
|
6
6
|
import '@page-speed/pressable';
|
|
7
7
|
import '@opensite/hooks/usePlatformFromUrl';
|
|
8
8
|
import 'react/jsx-runtime';
|
|
9
|
+
import './types-hJ2R0GoH.js';
|
|
10
|
+
import './dynamic-icon.js';
|
|
11
|
+
import '@page-speed/icon';
|
|
@@ -535,6 +535,47 @@ function ActionComponent({ action }) {
|
|
|
535
535
|
}
|
|
536
536
|
);
|
|
537
537
|
}
|
|
538
|
+
var SIZE_CLASSES = {
|
|
539
|
+
sm: "max-h-6 sm:max-h-7",
|
|
540
|
+
md: "max-h-8 sm:max-h-9 lg:max-h-10",
|
|
541
|
+
lg: "max-h-10 sm:max-h-12 lg:max-h-14",
|
|
542
|
+
xl: "max-h-12 sm:max-h-14 lg:max-h-16"
|
|
543
|
+
};
|
|
544
|
+
var BrandLogo = ({
|
|
545
|
+
logo,
|
|
546
|
+
logoSlot,
|
|
547
|
+
logoClassName,
|
|
548
|
+
size = "md",
|
|
549
|
+
optixFlowConfig
|
|
550
|
+
}) => {
|
|
551
|
+
if (logoSlot) return /* @__PURE__ */ jsx(Fragment, { children: logoSlot });
|
|
552
|
+
if (!logo || !logo.src) return null;
|
|
553
|
+
const imgElement = /* @__PURE__ */ jsx(
|
|
554
|
+
Img,
|
|
555
|
+
{
|
|
556
|
+
src: logo.src,
|
|
557
|
+
className: cn(
|
|
558
|
+
"w-auto object-contain",
|
|
559
|
+
SIZE_CLASSES[size],
|
|
560
|
+
logo.className
|
|
561
|
+
),
|
|
562
|
+
alt: logo.alt || "Logo",
|
|
563
|
+
optixFlowConfig,
|
|
564
|
+
loading: "eager"
|
|
565
|
+
}
|
|
566
|
+
);
|
|
567
|
+
if (logo.url) {
|
|
568
|
+
return /* @__PURE__ */ jsx(
|
|
569
|
+
Pressable,
|
|
570
|
+
{
|
|
571
|
+
href: logo.url,
|
|
572
|
+
className: cn("flex items-center", logoClassName),
|
|
573
|
+
children: imgElement
|
|
574
|
+
}
|
|
575
|
+
);
|
|
576
|
+
}
|
|
577
|
+
return /* @__PURE__ */ jsx("div", { className: cn("flex items-center", logoClassName), children: imgElement });
|
|
578
|
+
};
|
|
538
579
|
function HeroVideoDialogGradient({
|
|
539
580
|
videoAspectRatio = "horizontal",
|
|
540
581
|
heading,
|
|
@@ -557,7 +598,10 @@ function HeroVideoDialogGradient({
|
|
|
557
598
|
headingClassName,
|
|
558
599
|
descriptionClassName,
|
|
559
600
|
imageClassName,
|
|
560
|
-
optixFlowConfig
|
|
601
|
+
optixFlowConfig,
|
|
602
|
+
logo,
|
|
603
|
+
logoSlot,
|
|
604
|
+
logoClassName
|
|
561
605
|
}) {
|
|
562
606
|
const [isVideoOpen, setIsVideoOpen] = useState(false);
|
|
563
607
|
const [skinClasses, setSkinClasses] = useState(null);
|
|
@@ -614,6 +658,7 @@ function HeroVideoDialogGradient({
|
|
|
614
658
|
children: /* @__PURE__ */ jsxs("div", { className: "relative z-20 pt-10 md:pt-", children: [
|
|
615
659
|
/* @__PURE__ */ jsxs("div", { className: "flex flex-col items-center gap-6 md:gap-8", children: [
|
|
616
660
|
/* @__PURE__ */ jsxs("div", { className: "flex flex-col items-center gap-6", children: [
|
|
661
|
+
(logo || logoSlot) && /* @__PURE__ */ jsx("div", { className: cn("mb-4 flex justify-center", logoClassName), children: /* @__PURE__ */ jsx(BrandLogo, { logo, logoSlot, size: "lg" }) }),
|
|
617
662
|
heading && (typeof heading === "string" ? /* @__PURE__ */ jsx(
|
|
618
663
|
"h1",
|
|
619
664
|
{
|
|
@@ -470,6 +470,47 @@ function ActionComponent({ action }) {
|
|
|
470
470
|
}
|
|
471
471
|
);
|
|
472
472
|
}
|
|
473
|
+
var SIZE_CLASSES = {
|
|
474
|
+
sm: "max-h-6 sm:max-h-7",
|
|
475
|
+
md: "max-h-8 sm:max-h-9 lg:max-h-10",
|
|
476
|
+
lg: "max-h-10 sm:max-h-12 lg:max-h-14",
|
|
477
|
+
xl: "max-h-12 sm:max-h-14 lg:max-h-16"
|
|
478
|
+
};
|
|
479
|
+
var BrandLogo = ({
|
|
480
|
+
logo,
|
|
481
|
+
logoSlot,
|
|
482
|
+
logoClassName,
|
|
483
|
+
size = "md",
|
|
484
|
+
optixFlowConfig
|
|
485
|
+
}) => {
|
|
486
|
+
if (logoSlot) return /* @__PURE__ */ jsxRuntime.jsx(jsxRuntime.Fragment, { children: logoSlot });
|
|
487
|
+
if (!logo || !logo.src) return null;
|
|
488
|
+
const imgElement = /* @__PURE__ */ jsxRuntime.jsx(
|
|
489
|
+
img.Img,
|
|
490
|
+
{
|
|
491
|
+
src: logo.src,
|
|
492
|
+
className: cn(
|
|
493
|
+
"w-auto object-contain",
|
|
494
|
+
SIZE_CLASSES[size],
|
|
495
|
+
logo.className
|
|
496
|
+
),
|
|
497
|
+
alt: logo.alt || "Logo",
|
|
498
|
+
optixFlowConfig,
|
|
499
|
+
loading: "eager"
|
|
500
|
+
}
|
|
501
|
+
);
|
|
502
|
+
if (logo.url) {
|
|
503
|
+
return /* @__PURE__ */ jsxRuntime.jsx(
|
|
504
|
+
pressable.Pressable,
|
|
505
|
+
{
|
|
506
|
+
href: logo.url,
|
|
507
|
+
className: cn("flex items-center", logoClassName),
|
|
508
|
+
children: imgElement
|
|
509
|
+
}
|
|
510
|
+
);
|
|
511
|
+
}
|
|
512
|
+
return /* @__PURE__ */ jsxRuntime.jsx("div", { className: cn("flex items-center", logoClassName), children: imgElement });
|
|
513
|
+
};
|
|
473
514
|
function HeroWelcomeAsymmetricImages({
|
|
474
515
|
sectionId = "hero-welcome-asymmetric-images",
|
|
475
516
|
heading,
|
|
@@ -488,7 +529,10 @@ function HeroWelcomeAsymmetricImages({
|
|
|
488
529
|
spacing = "py-32 md:py-32",
|
|
489
530
|
headingClassName,
|
|
490
531
|
descriptionClassName,
|
|
491
|
-
optixFlowConfig
|
|
532
|
+
optixFlowConfig,
|
|
533
|
+
logo,
|
|
534
|
+
logoSlot,
|
|
535
|
+
logoClassName
|
|
492
536
|
}) {
|
|
493
537
|
const renderImages = React.useMemo(() => {
|
|
494
538
|
if (imagesSlot) return imagesSlot;
|
|
@@ -550,6 +594,7 @@ function HeroWelcomeAsymmetricImages({
|
|
|
550
594
|
containerClassName,
|
|
551
595
|
children: /* @__PURE__ */ jsxRuntime.jsx("div", { className: "relative", children: /* @__PURE__ */ jsxRuntime.jsxs("div", { className: "flex flex-col items-start justify-between gap-8 md:flex-row xl:gap-20", children: [
|
|
552
596
|
/* @__PURE__ */ jsxRuntime.jsxs("div", { className: "flex w-full flex-col items-start text-left", children: [
|
|
597
|
+
(logo || logoSlot) && /* @__PURE__ */ jsxRuntime.jsx("div", { className: cn("mb-4", logoClassName), children: /* @__PURE__ */ jsxRuntime.jsx(BrandLogo, { logo, logoSlot, size: "lg" }) }),
|
|
553
598
|
heading && (typeof heading === "string" ? /* @__PURE__ */ jsxRuntime.jsx(
|
|
554
599
|
"h1",
|
|
555
600
|
{
|
|
@@ -1,10 +1,13 @@
|
|
|
1
1
|
import * as React from 'react';
|
|
2
2
|
import { A as ActionConfig, I as ImageItem } from './blocks-DyouPohq.cjs';
|
|
3
3
|
import { S as SectionBackground, s as SectionSpacing, t as PatternName } from './community-initiatives-Cgd-IXlI.cjs';
|
|
4
|
+
import { L as LogoConfig } from './types-mWZcgKth.cjs';
|
|
4
5
|
import 'class-variance-authority';
|
|
5
6
|
import '@page-speed/pressable';
|
|
6
7
|
import '@opensite/hooks/usePlatformFromUrl';
|
|
7
8
|
import 'react/jsx-runtime';
|
|
9
|
+
import './dynamic-icon.cjs';
|
|
10
|
+
import '@page-speed/icon';
|
|
8
11
|
|
|
9
12
|
interface HeroWelcomeAsymmetricImagesProps {
|
|
10
13
|
/**
|
|
@@ -78,6 +81,18 @@ interface HeroWelcomeAsymmetricImagesProps {
|
|
|
78
81
|
* Additional CSS classes for the actions container
|
|
79
82
|
*/
|
|
80
83
|
actionsClassName?: string;
|
|
84
|
+
/**
|
|
85
|
+
* Brand logo configuration. LOGO MEDIA ONLY — do not use photos or hero images.
|
|
86
|
+
*/
|
|
87
|
+
logo?: LogoConfig;
|
|
88
|
+
/**
|
|
89
|
+
* Custom slot for logo (overrides logo prop)
|
|
90
|
+
*/
|
|
91
|
+
logoSlot?: React.ReactNode;
|
|
92
|
+
/**
|
|
93
|
+
* Additional CSS classes for the logo container
|
|
94
|
+
*/
|
|
95
|
+
logoClassName?: string;
|
|
81
96
|
/** Optional Section ID */
|
|
82
97
|
sectionId?: string;
|
|
83
98
|
}
|
|
@@ -85,6 +100,6 @@ interface HeroWelcomeAsymmetricImagesProps {
|
|
|
85
100
|
* HeroWelcomeAsymmetricImages - A hero layout with heading, description, CTAs,
|
|
86
101
|
* and an asymmetric 2x2 image grid. Ideal for welcoming visitors with visual impact.
|
|
87
102
|
*/
|
|
88
|
-
declare function HeroWelcomeAsymmetricImages({ sectionId, heading, description, actions, actionsSlot, actionsClassName, images, imagesSlot, background, pattern, patternOpacity, patternClassName, className, containerClassName, spacing, headingClassName, descriptionClassName, optixFlowConfig, }: HeroWelcomeAsymmetricImagesProps): React.JSX.Element;
|
|
103
|
+
declare function HeroWelcomeAsymmetricImages({ sectionId, heading, description, actions, actionsSlot, actionsClassName, images, imagesSlot, background, pattern, patternOpacity, patternClassName, className, containerClassName, spacing, headingClassName, descriptionClassName, optixFlowConfig, logo, logoSlot, logoClassName, }: HeroWelcomeAsymmetricImagesProps): React.JSX.Element;
|
|
89
104
|
|
|
90
105
|
export { HeroWelcomeAsymmetricImages, type HeroWelcomeAsymmetricImagesProps };
|
|
@@ -1,10 +1,13 @@
|
|
|
1
1
|
import * as React from 'react';
|
|
2
2
|
import { A as ActionConfig, I as ImageItem } from './blocks-DyouPohq.js';
|
|
3
3
|
import { S as SectionBackground, s as SectionSpacing, t as PatternName } from './community-initiatives-Dud0DKXB.js';
|
|
4
|
+
import { L as LogoConfig } from './types-hJ2R0GoH.js';
|
|
4
5
|
import 'class-variance-authority';
|
|
5
6
|
import '@page-speed/pressable';
|
|
6
7
|
import '@opensite/hooks/usePlatformFromUrl';
|
|
7
8
|
import 'react/jsx-runtime';
|
|
9
|
+
import './dynamic-icon.js';
|
|
10
|
+
import '@page-speed/icon';
|
|
8
11
|
|
|
9
12
|
interface HeroWelcomeAsymmetricImagesProps {
|
|
10
13
|
/**
|
|
@@ -78,6 +81,18 @@ interface HeroWelcomeAsymmetricImagesProps {
|
|
|
78
81
|
* Additional CSS classes for the actions container
|
|
79
82
|
*/
|
|
80
83
|
actionsClassName?: string;
|
|
84
|
+
/**
|
|
85
|
+
* Brand logo configuration. LOGO MEDIA ONLY — do not use photos or hero images.
|
|
86
|
+
*/
|
|
87
|
+
logo?: LogoConfig;
|
|
88
|
+
/**
|
|
89
|
+
* Custom slot for logo (overrides logo prop)
|
|
90
|
+
*/
|
|
91
|
+
logoSlot?: React.ReactNode;
|
|
92
|
+
/**
|
|
93
|
+
* Additional CSS classes for the logo container
|
|
94
|
+
*/
|
|
95
|
+
logoClassName?: string;
|
|
81
96
|
/** Optional Section ID */
|
|
82
97
|
sectionId?: string;
|
|
83
98
|
}
|
|
@@ -85,6 +100,6 @@ interface HeroWelcomeAsymmetricImagesProps {
|
|
|
85
100
|
* HeroWelcomeAsymmetricImages - A hero layout with heading, description, CTAs,
|
|
86
101
|
* and an asymmetric 2x2 image grid. Ideal for welcoming visitors with visual impact.
|
|
87
102
|
*/
|
|
88
|
-
declare function HeroWelcomeAsymmetricImages({ sectionId, heading, description, actions, actionsSlot, actionsClassName, images, imagesSlot, background, pattern, patternOpacity, patternClassName, className, containerClassName, spacing, headingClassName, descriptionClassName, optixFlowConfig, }: HeroWelcomeAsymmetricImagesProps): React.JSX.Element;
|
|
103
|
+
declare function HeroWelcomeAsymmetricImages({ sectionId, heading, description, actions, actionsSlot, actionsClassName, images, imagesSlot, background, pattern, patternOpacity, patternClassName, className, containerClassName, spacing, headingClassName, descriptionClassName, optixFlowConfig, logo, logoSlot, logoClassName, }: HeroWelcomeAsymmetricImagesProps): React.JSX.Element;
|
|
89
104
|
|
|
90
105
|
export { HeroWelcomeAsymmetricImages, type HeroWelcomeAsymmetricImagesProps };
|
|
@@ -464,6 +464,47 @@ function ActionComponent({ action }) {
|
|
|
464
464
|
}
|
|
465
465
|
);
|
|
466
466
|
}
|
|
467
|
+
var SIZE_CLASSES = {
|
|
468
|
+
sm: "max-h-6 sm:max-h-7",
|
|
469
|
+
md: "max-h-8 sm:max-h-9 lg:max-h-10",
|
|
470
|
+
lg: "max-h-10 sm:max-h-12 lg:max-h-14",
|
|
471
|
+
xl: "max-h-12 sm:max-h-14 lg:max-h-16"
|
|
472
|
+
};
|
|
473
|
+
var BrandLogo = ({
|
|
474
|
+
logo,
|
|
475
|
+
logoSlot,
|
|
476
|
+
logoClassName,
|
|
477
|
+
size = "md",
|
|
478
|
+
optixFlowConfig
|
|
479
|
+
}) => {
|
|
480
|
+
if (logoSlot) return /* @__PURE__ */ jsx(Fragment, { children: logoSlot });
|
|
481
|
+
if (!logo || !logo.src) return null;
|
|
482
|
+
const imgElement = /* @__PURE__ */ jsx(
|
|
483
|
+
Img,
|
|
484
|
+
{
|
|
485
|
+
src: logo.src,
|
|
486
|
+
className: cn(
|
|
487
|
+
"w-auto object-contain",
|
|
488
|
+
SIZE_CLASSES[size],
|
|
489
|
+
logo.className
|
|
490
|
+
),
|
|
491
|
+
alt: logo.alt || "Logo",
|
|
492
|
+
optixFlowConfig,
|
|
493
|
+
loading: "eager"
|
|
494
|
+
}
|
|
495
|
+
);
|
|
496
|
+
if (logo.url) {
|
|
497
|
+
return /* @__PURE__ */ jsx(
|
|
498
|
+
Pressable,
|
|
499
|
+
{
|
|
500
|
+
href: logo.url,
|
|
501
|
+
className: cn("flex items-center", logoClassName),
|
|
502
|
+
children: imgElement
|
|
503
|
+
}
|
|
504
|
+
);
|
|
505
|
+
}
|
|
506
|
+
return /* @__PURE__ */ jsx("div", { className: cn("flex items-center", logoClassName), children: imgElement });
|
|
507
|
+
};
|
|
467
508
|
function HeroWelcomeAsymmetricImages({
|
|
468
509
|
sectionId = "hero-welcome-asymmetric-images",
|
|
469
510
|
heading,
|
|
@@ -482,7 +523,10 @@ function HeroWelcomeAsymmetricImages({
|
|
|
482
523
|
spacing = "py-32 md:py-32",
|
|
483
524
|
headingClassName,
|
|
484
525
|
descriptionClassName,
|
|
485
|
-
optixFlowConfig
|
|
526
|
+
optixFlowConfig,
|
|
527
|
+
logo,
|
|
528
|
+
logoSlot,
|
|
529
|
+
logoClassName
|
|
486
530
|
}) {
|
|
487
531
|
const renderImages = useMemo(() => {
|
|
488
532
|
if (imagesSlot) return imagesSlot;
|
|
@@ -544,6 +588,7 @@ function HeroWelcomeAsymmetricImages({
|
|
|
544
588
|
containerClassName,
|
|
545
589
|
children: /* @__PURE__ */ jsx("div", { className: "relative", children: /* @__PURE__ */ jsxs("div", { className: "flex flex-col items-start justify-between gap-8 md:flex-row xl:gap-20", children: [
|
|
546
590
|
/* @__PURE__ */ jsxs("div", { className: "flex w-full flex-col items-start text-left", children: [
|
|
591
|
+
(logo || logoSlot) && /* @__PURE__ */ jsx("div", { className: cn("mb-4", logoClassName), children: /* @__PURE__ */ jsx(BrandLogo, { logo, logoSlot, size: "lg" }) }),
|
|
547
592
|
heading && (typeof heading === "string" ? /* @__PURE__ */ jsx(
|
|
548
593
|
"h1",
|
|
549
594
|
{
|
|
@@ -511,12 +511,56 @@ var SocialLinkIcon = React4__namespace.forwardRef(
|
|
|
511
511
|
}
|
|
512
512
|
);
|
|
513
513
|
SocialLinkIcon.displayName = "SocialLinkIcon";
|
|
514
|
+
var SIZE_CLASSES = {
|
|
515
|
+
sm: "max-h-6 sm:max-h-7",
|
|
516
|
+
md: "max-h-8 sm:max-h-9 lg:max-h-10",
|
|
517
|
+
lg: "max-h-10 sm:max-h-12 lg:max-h-14",
|
|
518
|
+
xl: "max-h-12 sm:max-h-14 lg:max-h-16"
|
|
519
|
+
};
|
|
520
|
+
var BrandLogo = ({
|
|
521
|
+
logo,
|
|
522
|
+
logoSlot,
|
|
523
|
+
logoClassName,
|
|
524
|
+
size = "md",
|
|
525
|
+
optixFlowConfig
|
|
526
|
+
}) => {
|
|
527
|
+
if (logoSlot) return /* @__PURE__ */ jsxRuntime.jsx(jsxRuntime.Fragment, { children: logoSlot });
|
|
528
|
+
if (!logo || !logo.src) return null;
|
|
529
|
+
const imgElement = /* @__PURE__ */ jsxRuntime.jsx(
|
|
530
|
+
img.Img,
|
|
531
|
+
{
|
|
532
|
+
src: logo.src,
|
|
533
|
+
className: cn(
|
|
534
|
+
"w-auto object-contain",
|
|
535
|
+
SIZE_CLASSES[size],
|
|
536
|
+
logo.className
|
|
537
|
+
),
|
|
538
|
+
alt: logo.alt || "Logo",
|
|
539
|
+
optixFlowConfig,
|
|
540
|
+
loading: "eager"
|
|
541
|
+
}
|
|
542
|
+
);
|
|
543
|
+
if (logo.url) {
|
|
544
|
+
return /* @__PURE__ */ jsxRuntime.jsx(
|
|
545
|
+
pressable.Pressable,
|
|
546
|
+
{
|
|
547
|
+
href: logo.url,
|
|
548
|
+
className: cn("flex items-center", logoClassName),
|
|
549
|
+
children: imgElement
|
|
550
|
+
}
|
|
551
|
+
);
|
|
552
|
+
}
|
|
553
|
+
return /* @__PURE__ */ jsxRuntime.jsx("div", { className: cn("flex items-center", logoClassName), children: imgElement });
|
|
554
|
+
};
|
|
514
555
|
function LinkPageBentoLayout({
|
|
515
556
|
sectionId = "link-page-bento-layout",
|
|
516
557
|
name,
|
|
517
558
|
bio,
|
|
518
559
|
avatar,
|
|
519
560
|
avatarUrl,
|
|
561
|
+
logo,
|
|
562
|
+
logoSlot,
|
|
563
|
+
logoClassName,
|
|
520
564
|
profileSlot,
|
|
521
565
|
links,
|
|
522
566
|
linksSlot,
|
|
@@ -831,14 +875,23 @@ function LinkPageBentoLayout({
|
|
|
831
875
|
headerClassName
|
|
832
876
|
),
|
|
833
877
|
children: [
|
|
834
|
-
|
|
878
|
+
/* @__PURE__ */ jsxRuntime.jsx(
|
|
835
879
|
"div",
|
|
836
880
|
{
|
|
837
881
|
className: cn(
|
|
838
882
|
"flex h-20 w-full max-w-56 items-center justify-center sm:h-24 sm:max-w-72",
|
|
839
883
|
avatarClassName
|
|
840
884
|
),
|
|
841
|
-
children: /* @__PURE__ */ jsxRuntime.jsx(
|
|
885
|
+
children: logo ? /* @__PURE__ */ jsxRuntime.jsx(
|
|
886
|
+
BrandLogo,
|
|
887
|
+
{
|
|
888
|
+
logo,
|
|
889
|
+
logoSlot,
|
|
890
|
+
size: "xl",
|
|
891
|
+
logoClassName: cn("mb-2", logoClassName),
|
|
892
|
+
optixFlowConfig
|
|
893
|
+
}
|
|
894
|
+
) : logoSlot ? logoSlot : resolvedAvatar ? /* @__PURE__ */ jsxRuntime.jsx(
|
|
842
895
|
img.Img,
|
|
843
896
|
{
|
|
844
897
|
src: resolvedAvatar.src,
|
|
@@ -846,7 +899,7 @@ function LinkPageBentoLayout({
|
|
|
846
899
|
className: "h-auto max-h-20 w-auto max-w-full object-contain sm:max-h-24",
|
|
847
900
|
optixFlowConfig
|
|
848
901
|
}
|
|
849
|
-
)
|
|
902
|
+
) : null
|
|
850
903
|
}
|
|
851
904
|
),
|
|
852
905
|
/* @__PURE__ */ jsxRuntime.jsxs("div", { className: "space-y-1", children: [
|
|
@@ -859,6 +912,9 @@ function LinkPageBentoLayout({
|
|
|
859
912
|
);
|
|
860
913
|
}, [
|
|
861
914
|
profileSlot,
|
|
915
|
+
logo,
|
|
916
|
+
logoSlot,
|
|
917
|
+
logoClassName,
|
|
862
918
|
resolvedAvatar,
|
|
863
919
|
avatarClassName,
|
|
864
920
|
optixFlowConfig,
|
|
@@ -1,7 +1,10 @@
|
|
|
1
1
|
import * as React from 'react';
|
|
2
2
|
import { S as SectionBackground, s as SectionSpacing, t as PatternName } from './community-initiatives-Cgd-IXlI.cjs';
|
|
3
|
+
import { L as LogoConfig } from './types-mWZcgKth.cjs';
|
|
3
4
|
import { A as ActionConfig, I as ImageItem, j as SocialLinkItem, O as OptixFlowConfig } from './blocks-DyouPohq.cjs';
|
|
4
5
|
import 'react/jsx-runtime';
|
|
6
|
+
import './dynamic-icon.cjs';
|
|
7
|
+
import '@page-speed/icon';
|
|
5
8
|
import 'class-variance-authority';
|
|
6
9
|
import '@page-speed/pressable';
|
|
7
10
|
import '@opensite/hooks/usePlatformFromUrl';
|
|
@@ -44,6 +47,18 @@ interface LinkPageBentoLayoutProps {
|
|
|
44
47
|
* Avatar image URL (legacy)
|
|
45
48
|
*/
|
|
46
49
|
avatarUrl?: string;
|
|
50
|
+
/**
|
|
51
|
+
* Optional LogoConfig for BrandLogo rendering (takes priority over avatar)
|
|
52
|
+
*/
|
|
53
|
+
logo?: LogoConfig;
|
|
54
|
+
/**
|
|
55
|
+
* Custom slot for the logo/avatar (takes priority over logo and avatar)
|
|
56
|
+
*/
|
|
57
|
+
logoSlot?: React.ReactNode;
|
|
58
|
+
/**
|
|
59
|
+
* Additional CSS classes for the logo image
|
|
60
|
+
*/
|
|
61
|
+
logoClassName?: string;
|
|
47
62
|
/**
|
|
48
63
|
* Custom slot for profile header content
|
|
49
64
|
*/
|
|
@@ -236,6 +251,6 @@ interface LinkPageBentoLayoutProps {
|
|
|
236
251
|
* />
|
|
237
252
|
* ```
|
|
238
253
|
*/
|
|
239
|
-
declare function LinkPageBentoLayout({ sectionId, name, bio, avatar, avatarUrl, profileSlot, links, linksSlot, featuredLinksSlot, regularLinksSlot, socialLinks, socialLinksSlot, footerAction, footerSlot, className, contentClassName, headerClassName, avatarClassName, nameClassName, bioClassName, socialLinksClassName, socialLinkClassName, socialIconClassName, linksClassName, featuredLinksClassName, featuredLinkClassName, featuredLinkOverlayClassName, featuredLinkImageClassName, featuredLinkIconClassName, featuredLinkLabelClassName, featuredLinkDescriptionClassName, regularLinksClassName, regularLinkClassName, regularLinkIconWrapperClassName, regularLinkIconClassName, regularLinkLabelClassName, footerClassName, background, containerClassName, spacing, pattern, patternOpacity, patternClassName, optixFlowConfig, }: LinkPageBentoLayoutProps): React.JSX.Element;
|
|
254
|
+
declare function LinkPageBentoLayout({ sectionId, name, bio, avatar, avatarUrl, logo, logoSlot, logoClassName, profileSlot, links, linksSlot, featuredLinksSlot, regularLinksSlot, socialLinks, socialLinksSlot, footerAction, footerSlot, className, contentClassName, headerClassName, avatarClassName, nameClassName, bioClassName, socialLinksClassName, socialLinkClassName, socialIconClassName, linksClassName, featuredLinksClassName, featuredLinkClassName, featuredLinkOverlayClassName, featuredLinkImageClassName, featuredLinkIconClassName, featuredLinkLabelClassName, featuredLinkDescriptionClassName, regularLinksClassName, regularLinkClassName, regularLinkIconWrapperClassName, regularLinkIconClassName, regularLinkLabelClassName, footerClassName, background, containerClassName, spacing, pattern, patternOpacity, patternClassName, optixFlowConfig, }: LinkPageBentoLayoutProps): React.JSX.Element;
|
|
240
255
|
|
|
241
256
|
export { type BentoLink, type BentoSocialLink, LinkPageBentoLayout, type LinkPageBentoLayoutProps };
|
|
@@ -1,7 +1,10 @@
|
|
|
1
1
|
import * as React from 'react';
|
|
2
2
|
import { S as SectionBackground, s as SectionSpacing, t as PatternName } from './community-initiatives-Dud0DKXB.js';
|
|
3
|
+
import { L as LogoConfig } from './types-hJ2R0GoH.js';
|
|
3
4
|
import { A as ActionConfig, I as ImageItem, j as SocialLinkItem, O as OptixFlowConfig } from './blocks-DyouPohq.js';
|
|
4
5
|
import 'react/jsx-runtime';
|
|
6
|
+
import './dynamic-icon.js';
|
|
7
|
+
import '@page-speed/icon';
|
|
5
8
|
import 'class-variance-authority';
|
|
6
9
|
import '@page-speed/pressable';
|
|
7
10
|
import '@opensite/hooks/usePlatformFromUrl';
|
|
@@ -44,6 +47,18 @@ interface LinkPageBentoLayoutProps {
|
|
|
44
47
|
* Avatar image URL (legacy)
|
|
45
48
|
*/
|
|
46
49
|
avatarUrl?: string;
|
|
50
|
+
/**
|
|
51
|
+
* Optional LogoConfig for BrandLogo rendering (takes priority over avatar)
|
|
52
|
+
*/
|
|
53
|
+
logo?: LogoConfig;
|
|
54
|
+
/**
|
|
55
|
+
* Custom slot for the logo/avatar (takes priority over logo and avatar)
|
|
56
|
+
*/
|
|
57
|
+
logoSlot?: React.ReactNode;
|
|
58
|
+
/**
|
|
59
|
+
* Additional CSS classes for the logo image
|
|
60
|
+
*/
|
|
61
|
+
logoClassName?: string;
|
|
47
62
|
/**
|
|
48
63
|
* Custom slot for profile header content
|
|
49
64
|
*/
|
|
@@ -236,6 +251,6 @@ interface LinkPageBentoLayoutProps {
|
|
|
236
251
|
* />
|
|
237
252
|
* ```
|
|
238
253
|
*/
|
|
239
|
-
declare function LinkPageBentoLayout({ sectionId, name, bio, avatar, avatarUrl, profileSlot, links, linksSlot, featuredLinksSlot, regularLinksSlot, socialLinks, socialLinksSlot, footerAction, footerSlot, className, contentClassName, headerClassName, avatarClassName, nameClassName, bioClassName, socialLinksClassName, socialLinkClassName, socialIconClassName, linksClassName, featuredLinksClassName, featuredLinkClassName, featuredLinkOverlayClassName, featuredLinkImageClassName, featuredLinkIconClassName, featuredLinkLabelClassName, featuredLinkDescriptionClassName, regularLinksClassName, regularLinkClassName, regularLinkIconWrapperClassName, regularLinkIconClassName, regularLinkLabelClassName, footerClassName, background, containerClassName, spacing, pattern, patternOpacity, patternClassName, optixFlowConfig, }: LinkPageBentoLayoutProps): React.JSX.Element;
|
|
254
|
+
declare function LinkPageBentoLayout({ sectionId, name, bio, avatar, avatarUrl, logo, logoSlot, logoClassName, profileSlot, links, linksSlot, featuredLinksSlot, regularLinksSlot, socialLinks, socialLinksSlot, footerAction, footerSlot, className, contentClassName, headerClassName, avatarClassName, nameClassName, bioClassName, socialLinksClassName, socialLinkClassName, socialIconClassName, linksClassName, featuredLinksClassName, featuredLinkClassName, featuredLinkOverlayClassName, featuredLinkImageClassName, featuredLinkIconClassName, featuredLinkLabelClassName, featuredLinkDescriptionClassName, regularLinksClassName, regularLinkClassName, regularLinkIconWrapperClassName, regularLinkIconClassName, regularLinkLabelClassName, footerClassName, background, containerClassName, spacing, pattern, patternOpacity, patternClassName, optixFlowConfig, }: LinkPageBentoLayoutProps): React.JSX.Element;
|
|
240
255
|
|
|
241
256
|
export { type BentoLink, type BentoSocialLink, LinkPageBentoLayout, type LinkPageBentoLayoutProps };
|