@opensite/ui 0.4.6 → 0.4.7
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 +408 -150
- package/dist/hero-ad-campaign-expert.d.cts +20 -1
- package/dist/hero-ad-campaign-expert.d.ts +20 -1
- package/dist/hero-ad-campaign-expert.js +409 -150
- package/dist/hero-adaptable-product-grid.cjs +397 -24
- package/dist/hero-adaptable-product-grid.d.cts +20 -1
- package/dist/hero-adaptable-product-grid.d.ts +20 -1
- package/dist/hero-adaptable-product-grid.js +398 -24
- package/dist/hero-agency-animated-images.cjs +385 -8
- package/dist/hero-agency-animated-images.d.cts +20 -1
- package/dist/hero-agency-animated-images.d.ts +20 -1
- package/dist/hero-agency-animated-images.js +386 -8
- package/dist/hero-ai-powered-carousel.cjs +480 -103
- package/dist/hero-ai-powered-carousel.d.cts +20 -1
- package/dist/hero-ai-powered-carousel.d.ts +20 -1
- package/dist/hero-ai-powered-carousel.js +481 -103
- package/dist/hero-announcement-badge.cjs +393 -16
- package/dist/hero-announcement-badge.d.cts +20 -1
- package/dist/hero-announcement-badge.d.ts +20 -1
- package/dist/hero-announcement-badge.js +394 -16
- package/dist/hero-architecture-fullscreen.cjs +374 -122
- package/dist/hero-architecture-fullscreen.d.cts +20 -1
- package/dist/hero-architecture-fullscreen.d.ts +20 -1
- package/dist/hero-architecture-fullscreen.js +375 -122
- package/dist/hero-badge-image-split.cjs +397 -139
- package/dist/hero-badge-image-split.d.cts +20 -1
- package/dist/hero-badge-image-split.d.ts +20 -1
- package/dist/hero-badge-image-split.js +398 -139
- package/dist/hero-badge-shadow-overlay.cjs +402 -25
- package/dist/hero-badge-shadow-overlay.d.cts +20 -1
- package/dist/hero-badge-shadow-overlay.d.ts +20 -1
- package/dist/hero-badge-shadow-overlay.js +403 -25
- package/dist/hero-billing-platform-logos.cjs +373 -2
- package/dist/hero-billing-platform-logos.d.cts +20 -1
- package/dist/hero-billing-platform-logos.d.ts +20 -1
- package/dist/hero-billing-platform-logos.js +374 -2
- package/dist/hero-business-carousel-dots.cjs +413 -36
- package/dist/hero-business-carousel-dots.d.cts +20 -1
- package/dist/hero-business-carousel-dots.d.ts +20 -1
- package/dist/hero-business-carousel-dots.js +414 -37
- package/dist/hero-business-operations-mosaic.cjs +388 -7
- package/dist/hero-business-operations-mosaic.d.cts +20 -1
- package/dist/hero-business-operations-mosaic.d.ts +20 -1
- package/dist/hero-business-operations-mosaic.js +385 -7
- package/dist/hero-centered-gradient-cta.cjs +368 -1
- package/dist/hero-centered-gradient-cta.d.cts +20 -1
- package/dist/hero-centered-gradient-cta.d.ts +20 -1
- package/dist/hero-centered-gradient-cta.js +369 -1
- package/dist/hero-centered-image-grid.cjs +409 -32
- package/dist/hero-centered-image-grid.d.cts +20 -1
- package/dist/hero-centered-image-grid.d.ts +20 -1
- package/dist/hero-centered-image-grid.js +410 -32
- package/dist/hero-centered-screenshot.cjs +393 -135
- package/dist/hero-centered-screenshot.d.cts +20 -1
- package/dist/hero-centered-screenshot.d.ts +20 -1
- package/dist/hero-centered-screenshot.js +394 -135
- package/dist/hero-coming-soon-countdown.cjs +368 -1
- package/dist/hero-coming-soon-countdown.d.cts +20 -1
- package/dist/hero-coming-soon-countdown.d.ts +20 -1
- package/dist/hero-coming-soon-countdown.js +369 -1
- package/dist/hero-community-survey-cta.cjs +389 -12
- package/dist/hero-community-survey-cta.d.cts +20 -1
- package/dist/hero-community-survey-cta.d.ts +20 -1
- package/dist/hero-community-survey-cta.js +390 -12
- package/dist/hero-conversation-intelligence.cjs +368 -1
- package/dist/hero-conversation-intelligence.d.cts +20 -1
- package/dist/hero-conversation-intelligence.d.ts +20 -1
- package/dist/hero-conversation-intelligence.js +369 -1
- package/dist/hero-conversion-video-play.cjs +401 -24
- package/dist/hero-conversion-video-play.d.cts +20 -1
- package/dist/hero-conversion-video-play.d.ts +20 -1
- package/dist/hero-conversion-video-play.js +402 -25
- package/dist/hero-creative-studio-stacked.cjs +388 -11
- package/dist/hero-creative-studio-stacked.d.cts +20 -1
- package/dist/hero-creative-studio-stacked.d.ts +20 -1
- package/dist/hero-creative-studio-stacked.js +389 -12
- package/dist/hero-crm-streamlined.cjs +397 -20
- package/dist/hero-crm-streamlined.d.cts +20 -1
- package/dist/hero-crm-streamlined.d.ts +20 -1
- package/dist/hero-crm-streamlined.js +398 -20
- package/dist/hero-customer-support-layered.cjs +377 -5
- package/dist/hero-customer-support-layered.d.cts +20 -1
- package/dist/hero-customer-support-layered.d.ts +20 -1
- package/dist/hero-customer-support-layered.js +374 -5
- package/dist/hero-dashed-border-features.cjs +390 -132
- package/dist/hero-dashed-border-features.d.cts +20 -1
- package/dist/hero-dashed-border-features.d.ts +20 -1
- package/dist/hero-dashed-border-features.js +391 -132
- package/dist/hero-design-carousel-portfolio.cjs +393 -135
- package/dist/hero-design-carousel-portfolio.d.cts +20 -1
- package/dist/hero-design-carousel-portfolio.d.ts +20 -1
- package/dist/hero-design-carousel-portfolio.js +394 -135
- package/dist/hero-design-showcase-logos.cjs +388 -11
- package/dist/hero-design-showcase-logos.d.cts +20 -1
- package/dist/hero-design-showcase-logos.d.ts +20 -1
- package/dist/hero-design-showcase-logos.js +389 -11
- package/dist/hero-design-system-3d.cjs +386 -13
- package/dist/hero-design-system-3d.d.cts +20 -1
- package/dist/hero-design-system-3d.d.ts +20 -1
- package/dist/hero-design-system-3d.js +387 -13
- package/dist/hero-developer-tools-code.cjs +386 -9
- package/dist/hero-developer-tools-code.d.cts +20 -1
- package/dist/hero-developer-tools-code.d.ts +20 -1
- package/dist/hero-developer-tools-code.js +387 -9
- package/dist/hero-digital-agency-fullscreen.cjs +373 -121
- package/dist/hero-digital-agency-fullscreen.d.cts +20 -1
- package/dist/hero-digital-agency-fullscreen.d.ts +20 -1
- package/dist/hero-digital-agency-fullscreen.js +374 -121
- package/dist/hero-ecommerce-product-showcase.cjs +387 -10
- package/dist/hero-ecommerce-product-showcase.d.cts +20 -1
- package/dist/hero-ecommerce-product-showcase.d.ts +20 -1
- package/dist/hero-ecommerce-product-showcase.js +388 -10
- package/dist/hero-enterprise-security.cjs +387 -10
- package/dist/hero-enterprise-security.d.cts +20 -2
- package/dist/hero-enterprise-security.d.ts +20 -2
- package/dist/hero-enterprise-security.js +388 -10
- package/dist/hero-event-registration.cjs +387 -10
- package/dist/hero-event-registration.d.cts +20 -2
- package/dist/hero-event-registration.d.ts +20 -2
- package/dist/hero-event-registration.js +388 -10
- package/dist/hero-feature-cards-grid.cjs +385 -8
- package/dist/hero-feature-cards-grid.d.cts +20 -2
- package/dist/hero-feature-cards-grid.d.ts +20 -2
- package/dist/hero-feature-cards-grid.js +386 -8
- package/dist/hero-floating-images.cjs +419 -7
- package/dist/hero-floating-images.d.cts +24 -3
- package/dist/hero-floating-images.d.ts +24 -3
- package/dist/hero-floating-images.js +416 -8
- package/dist/hero-fullscreen-background-image.cjs +368 -120
- package/dist/hero-fullscreen-background-image.d.cts +20 -2
- package/dist/hero-fullscreen-background-image.d.ts +20 -2
- package/dist/hero-fullscreen-background-image.js +369 -120
- package/dist/hero-fullscreen-logo-cta.cjs +368 -120
- package/dist/hero-fullscreen-logo-cta.d.cts +20 -2
- package/dist/hero-fullscreen-logo-cta.d.ts +20 -2
- package/dist/hero-fullscreen-logo-cta.js +369 -120
- package/dist/hero-gradient-avatars-rating.cjs +401 -24
- package/dist/hero-gradient-avatars-rating.d.cts +20 -2
- package/dist/hero-gradient-avatars-rating.d.ts +20 -2
- package/dist/hero-gradient-avatars-rating.js +402 -24
- package/dist/hero-gradient-client-focused.cjs +368 -1
- package/dist/hero-gradient-client-focused.d.cts +20 -2
- package/dist/hero-gradient-client-focused.d.ts +20 -2
- package/dist/hero-gradient-client-focused.js +369 -1
- package/dist/hero-grid-pattern-efficiency.cjs +386 -9
- package/dist/hero-grid-pattern-efficiency.d.cts +20 -2
- package/dist/hero-grid-pattern-efficiency.d.ts +20 -2
- package/dist/hero-grid-pattern-efficiency.js +387 -9
- package/dist/hero-grid-pattern-solutions.cjs +388 -11
- package/dist/hero-grid-pattern-solutions.d.cts +20 -2
- package/dist/hero-grid-pattern-solutions.d.ts +20 -2
- package/dist/hero-grid-pattern-solutions.js +389 -11
- package/dist/hero-hiring-animated-text.cjs +368 -120
- package/dist/hero-hiring-animated-text.d.cts +20 -2
- package/dist/hero-hiring-animated-text.d.ts +20 -2
- package/dist/hero-hiring-animated-text.js +369 -120
- package/dist/hero-image-left-content.cjs +397 -139
- package/dist/hero-image-left-content.d.cts +20 -1
- package/dist/hero-image-left-content.d.ts +20 -1
- package/dist/hero-image-left-content.js +398 -139
- package/dist/hero-innovation-image-grid.cjs +387 -10
- package/dist/hero-innovation-image-grid.d.cts +20 -2
- package/dist/hero-innovation-image-grid.d.ts +20 -2
- package/dist/hero-innovation-image-grid.js +388 -10
- package/dist/hero-logo-centered-screenshot.cjs +388 -11
- package/dist/hero-logo-centered-screenshot.d.cts +20 -2
- package/dist/hero-logo-centered-screenshot.d.ts +20 -2
- package/dist/hero-logo-centered-screenshot.js +389 -11
- package/dist/hero-marketplace-scattered-images.cjs +387 -10
- package/dist/hero-marketplace-scattered-images.d.cts +20 -2
- package/dist/hero-marketplace-scattered-images.d.ts +20 -2
- package/dist/hero-marketplace-scattered-images.js +388 -10
- package/dist/hero-mental-health-team.cjs +373 -1
- package/dist/hero-mental-health-team.d.cts +20 -2
- package/dist/hero-mental-health-team.d.ts +20 -2
- package/dist/hero-mental-health-team.js +369 -1
- package/dist/hero-mentorship-video-split.cjs +388 -11
- package/dist/hero-mentorship-video-split.d.cts +20 -2
- package/dist/hero-mentorship-video-split.d.ts +20 -2
- package/dist/hero-mentorship-video-split.js +389 -12
- package/dist/hero-minimal-centered-dark.cjs +368 -1
- package/dist/hero-minimal-centered-dark.d.cts +20 -2
- package/dist/hero-minimal-centered-dark.d.ts +20 -2
- package/dist/hero-minimal-centered-dark.js +369 -1
- package/dist/hero-mobile-app-download.cjs +387 -10
- package/dist/hero-mobile-app-download.d.cts +20 -2
- package/dist/hero-mobile-app-download.d.ts +20 -2
- package/dist/hero-mobile-app-download.js +388 -10
- package/dist/hero-newsletter-minimal.cjs +368 -1
- package/dist/hero-newsletter-minimal.d.cts +20 -2
- package/dist/hero-newsletter-minimal.d.ts +20 -2
- package/dist/hero-newsletter-minimal.js +369 -1
- package/dist/hero-overlay-cta-grid.cjs +336 -120
- package/dist/hero-overlay-cta-grid.js +336 -120
- package/dist/hero-pattern-badge-logos.cjs +401 -24
- package/dist/hero-pattern-badge-logos.d.cts +20 -2
- package/dist/hero-pattern-badge-logos.d.ts +20 -2
- package/dist/hero-pattern-badge-logos.js +402 -24
- package/dist/hero-pattern-logo-tech-stack.cjs +401 -24
- package/dist/hero-pattern-logo-tech-stack.d.cts +20 -2
- package/dist/hero-pattern-logo-tech-stack.d.ts +20 -2
- package/dist/hero-pattern-logo-tech-stack.js +402 -24
- package/dist/hero-platform-features-grid.cjs +386 -9
- package/dist/hero-platform-features-grid.d.cts +20 -2
- package/dist/hero-platform-features-grid.d.ts +20 -2
- package/dist/hero-platform-features-grid.js +387 -9
- package/dist/hero-portfolio-creative.cjs +387 -10
- package/dist/hero-portfolio-creative.d.cts +20 -2
- package/dist/hero-portfolio-creative.d.ts +20 -2
- package/dist/hero-portfolio-creative.js +388 -10
- package/dist/hero-premium-split-avatars.cjs +389 -12
- package/dist/hero-premium-split-avatars.d.cts +20 -2
- package/dist/hero-premium-split-avatars.d.ts +20 -2
- package/dist/hero-premium-split-avatars.js +390 -12
- package/dist/hero-presentation-platform-video.cjs +368 -85
- package/dist/hero-presentation-platform-video.d.cts +20 -2
- package/dist/hero-presentation-platform-video.d.ts +20 -2
- package/dist/hero-presentation-platform-video.js +369 -85
- package/dist/hero-pricing-comparison.cjs +385 -8
- package/dist/hero-pricing-comparison.d.cts +20 -2
- package/dist/hero-pricing-comparison.d.ts +20 -2
- package/dist/hero-pricing-comparison.js +386 -8
- package/dist/hero-product-showcase-floating.cjs +386 -9
- package/dist/hero-product-showcase-floating.d.cts +20 -2
- package/dist/hero-product-showcase-floating.d.ts +20 -2
- package/dist/hero-product-showcase-floating.js +387 -9
- package/dist/hero-productivity-launcher-video.cjs +368 -85
- package/dist/hero-productivity-launcher-video.d.cts +20 -2
- package/dist/hero-productivity-launcher-video.d.ts +20 -2
- package/dist/hero-productivity-launcher-video.js +369 -85
- package/dist/hero-saas-dashboard-preview.cjs +386 -9
- package/dist/hero-saas-dashboard-preview.d.cts +20 -2
- package/dist/hero-saas-dashboard-preview.d.ts +20 -2
- package/dist/hero-saas-dashboard-preview.js +387 -9
- package/dist/hero-shared-inbox-layered.cjs +372 -1
- package/dist/hero-shared-inbox-layered.d.cts +20 -2
- package/dist/hero-shared-inbox-layered.d.ts +20 -2
- package/dist/hero-shared-inbox-layered.js +369 -1
- package/dist/hero-simple-centered-image.cjs +393 -135
- package/dist/hero-simple-centered-image.d.cts +20 -1
- package/dist/hero-simple-centered-image.d.ts +20 -1
- package/dist/hero-simple-centered-image.js +394 -135
- package/dist/hero-software-growth-video-dialog.cjs +368 -1
- package/dist/hero-software-growth-video-dialog.d.cts +20 -2
- package/dist/hero-software-growth-video-dialog.d.ts +20 -2
- package/dist/hero-software-growth-video-dialog.js +369 -2
- package/dist/hero-spiral-pattern-cards.cjs +416 -39
- package/dist/hero-spiral-pattern-cards.d.cts +20 -2
- package/dist/hero-spiral-pattern-cards.d.ts +20 -2
- package/dist/hero-spiral-pattern-cards.js +417 -39
- package/dist/hero-split-geometric-shapes.cjs +386 -9
- package/dist/hero-split-geometric-shapes.d.cts +20 -2
- package/dist/hero-split-geometric-shapes.d.ts +20 -2
- package/dist/hero-split-geometric-shapes.js +387 -9
- package/dist/hero-split-image-newsletter.cjs +368 -1
- package/dist/hero-split-image-newsletter.d.cts +20 -2
- package/dist/hero-split-image-newsletter.d.ts +20 -2
- package/dist/hero-split-image-newsletter.js +369 -1
- package/dist/hero-split-spiral-shapes.cjs +386 -9
- package/dist/hero-split-spiral-shapes.d.cts +20 -2
- package/dist/hero-split-spiral-shapes.d.ts +20 -2
- package/dist/hero-split-spiral-shapes.js +387 -9
- package/dist/hero-startup-launch-cta.cjs +404 -146
- package/dist/hero-startup-launch-cta.d.cts +20 -2
- package/dist/hero-startup-launch-cta.d.ts +20 -2
- package/dist/hero-startup-launch-cta.js +405 -146
- package/dist/hero-stats-social-proof.cjs +401 -143
- package/dist/hero-stats-social-proof.d.cts +20 -2
- package/dist/hero-stats-social-proof.d.ts +20 -2
- package/dist/hero-stats-social-proof.js +402 -143
- package/dist/hero-task-timer-animated.cjs +368 -1
- package/dist/hero-task-timer-animated.d.cts +20 -2
- package/dist/hero-task-timer-animated.d.ts +20 -2
- package/dist/hero-task-timer-animated.js +369 -1
- package/dist/hero-tech-carousel.cjs +406 -33
- package/dist/hero-tech-carousel.d.cts +20 -2
- package/dist/hero-tech-carousel.d.ts +20 -2
- package/dist/hero-tech-carousel.js +407 -34
- package/dist/hero-testimonial-image-grid.cjs +364 -1
- package/dist/hero-testimonial-image-grid.js +365 -1
- package/dist/hero-therapy-testimonial-grid.cjs +368 -1
- package/dist/hero-therapy-testimonial-grid.d.cts +20 -2
- package/dist/hero-therapy-testimonial-grid.d.ts +20 -2
- package/dist/hero-therapy-testimonial-grid.js +369 -1
- package/dist/hero-ui-library-showcase.cjs +368 -1
- package/dist/hero-ui-library-showcase.d.cts +20 -2
- package/dist/hero-ui-library-showcase.d.ts +20 -2
- package/dist/hero-ui-library-showcase.js +369 -1
- package/dist/hero-video-background-dark.cjs +386 -93
- package/dist/hero-video-background-dark.d.cts +20 -2
- package/dist/hero-video-background-dark.d.ts +20 -2
- package/dist/hero-video-background-dark.js +387 -93
- package/dist/hero-video-dialog-gradient.cjs +368 -1
- package/dist/hero-video-dialog-gradient.d.cts +20 -2
- package/dist/hero-video-dialog-gradient.d.ts +20 -2
- package/dist/hero-video-dialog-gradient.js +369 -2
- package/dist/hero-video-overlay-stars.cjs +368 -85
- package/dist/hero-video-overlay-stars.d.cts +24 -1
- package/dist/hero-video-overlay-stars.d.ts +24 -1
- package/dist/hero-video-overlay-stars.js +369 -85
- package/dist/hero-welcome-asymmetric-images.cjs +385 -8
- package/dist/hero-welcome-asymmetric-images.d.cts +20 -1
- package/dist/hero-welcome-asymmetric-images.d.ts +20 -1
- package/dist/hero-welcome-asymmetric-images.js +386 -8
- package/dist/registry.cjs +1790 -937
- package/dist/registry.js +1790 -937
- package/package.json +1 -1
|
@@ -4,12 +4,380 @@
|
|
|
4
4
|
var clsx = require('clsx');
|
|
5
5
|
var tailwindMerge = require('tailwind-merge');
|
|
6
6
|
var img = require('@page-speed/img');
|
|
7
|
+
var React = require('react');
|
|
7
8
|
var jsxRuntime = require('react/jsx-runtime');
|
|
8
9
|
|
|
10
|
+
function _interopDefault (e) { return e && e.__esModule ? e : { default: e }; }
|
|
11
|
+
|
|
12
|
+
var React__default = /*#__PURE__*/_interopDefault(React);
|
|
13
|
+
|
|
9
14
|
// lib/utils.ts
|
|
10
15
|
function cn(...inputs) {
|
|
11
16
|
return tailwindMerge.twMerge(clsx.clsx(inputs));
|
|
12
17
|
}
|
|
18
|
+
var maxWidthStyles = {
|
|
19
|
+
sm: "max-w-screen-sm",
|
|
20
|
+
md: "max-w-screen-md",
|
|
21
|
+
lg: "max-w-screen-lg",
|
|
22
|
+
xl: "max-w-7xl",
|
|
23
|
+
"2xl": "max-w-screen-2xl",
|
|
24
|
+
"4xl": "max-w-[1536px]",
|
|
25
|
+
full: "max-w-full"
|
|
26
|
+
};
|
|
27
|
+
var Container = React__default.default.forwardRef(
|
|
28
|
+
({ children, maxWidth = "xl", className, as = "div", ...props }, ref) => {
|
|
29
|
+
const Component = as;
|
|
30
|
+
return /* @__PURE__ */ jsxRuntime.jsx(
|
|
31
|
+
Component,
|
|
32
|
+
{
|
|
33
|
+
ref,
|
|
34
|
+
className: cn(
|
|
35
|
+
"mx-auto w-full px-2 sm:px-4 lg:px-8",
|
|
36
|
+
maxWidthStyles[maxWidth],
|
|
37
|
+
className
|
|
38
|
+
),
|
|
39
|
+
...props,
|
|
40
|
+
children
|
|
41
|
+
}
|
|
42
|
+
);
|
|
43
|
+
}
|
|
44
|
+
);
|
|
45
|
+
Container.displayName = "Container";
|
|
46
|
+
|
|
47
|
+
// lib/patternSvgs.ts
|
|
48
|
+
var patternSvgs = {
|
|
49
|
+
squareAltGrid: "https://cdn.ing/assets/files/record/286187/4gpn0yq2ptra8iwlvmwwv860ggwv",
|
|
50
|
+
grid1: "https://cdn.ing/assets/files/record/286186/nbdflpgp4ostrno079hygibsflp3",
|
|
51
|
+
noise: "https://cdn.ing/assets/i/r/286188/zrqcp9hynh3j7p2laihwzfbujgrl/noise.png",
|
|
52
|
+
dots: "https://cdn.ing/assets/files/record/286198/yfsjx9thvtxzhl2qtshxyhkrm524",
|
|
53
|
+
dotPattern: "https://cdn.ing/assets/files/record/286192/7ig0cku8aqbboiza8nuk6hw0nnsr",
|
|
54
|
+
dotPattern2: "https://cdn.ing/assets/files/record/286189/arez6gd2s7isn9i1o6c7sexdq7bl",
|
|
55
|
+
circles: "https://cdn.ing/assets/files/record/286190/gtmia3sncjtzetdshc20zf1d3c17",
|
|
56
|
+
waves: "https://cdn.ing/assets/files/record/286191/mqlb33fzxz9cdth1bx7if0wmpkp1",
|
|
57
|
+
crossPattern: "https://cdn.ing/assets/files/record/286193/9yfqwdbnqaipbp7fsb3wbzzmq472",
|
|
58
|
+
architect: "https://cdn.ing/assets/files/record/286194/vgs88ugpvyhxu13wqgy0acvae6re",
|
|
59
|
+
tinyCheckers: "https://cdn.ing/assets/files/record/286195/65efaknsw8kcpf9o3c2gybytsl5b",
|
|
60
|
+
p6: "https://cdn.ing/assets/i/r/286196/6kl0rqnd6mjk8j7e525fo8fo0vkc/p6.webp"
|
|
61
|
+
};
|
|
62
|
+
var maskTop = "radial-gradient(ellipse 70% 60% at 50% 0%, #000 60%, transparent 100%)";
|
|
63
|
+
var maskBottom = "radial-gradient(ellipse 100% 80% at 50% 100%, #000 50%, transparent 90%)";
|
|
64
|
+
var maskCenter = "radial-gradient(ellipse 60% 60% at 50% 50%, #000 30%, transparent 70%)";
|
|
65
|
+
var maskTopLeft = "radial-gradient(ellipse 80% 80% at 0% 0%, #000 50%, transparent 90%)";
|
|
66
|
+
var maskTopRight = "radial-gradient(ellipse 80% 80% at 100% 0%, #000 50%, transparent 90%)";
|
|
67
|
+
var maskBottomLeft = "radial-gradient(ellipse 80% 80% at 0% 100%, #000 50%, transparent 90%)";
|
|
68
|
+
var maskBottomRight = "radial-gradient(ellipse 80% 80% at 100% 100%, #000 50%, transparent 90%)";
|
|
69
|
+
var circuitBoardPattern = (id, mask) => /* @__PURE__ */ jsxRuntime.jsxs(
|
|
70
|
+
"svg",
|
|
71
|
+
{
|
|
72
|
+
className: "h-full w-full",
|
|
73
|
+
xmlns: "http://www.w3.org/2000/svg",
|
|
74
|
+
style: mask ? {
|
|
75
|
+
maskImage: mask,
|
|
76
|
+
WebkitMaskImage: mask
|
|
77
|
+
} : void 0,
|
|
78
|
+
children: [
|
|
79
|
+
/* @__PURE__ */ jsxRuntime.jsx("defs", { children: /* @__PURE__ */ jsxRuntime.jsxs(
|
|
80
|
+
"pattern",
|
|
81
|
+
{
|
|
82
|
+
id,
|
|
83
|
+
x: "0",
|
|
84
|
+
y: "0",
|
|
85
|
+
width: "100",
|
|
86
|
+
height: "100",
|
|
87
|
+
patternUnits: "userSpaceOnUse",
|
|
88
|
+
children: [
|
|
89
|
+
/* @__PURE__ */ jsxRuntime.jsx(
|
|
90
|
+
"path",
|
|
91
|
+
{
|
|
92
|
+
d: "M0 50h40M60 50h40M50 0v40M50 60v40",
|
|
93
|
+
stroke: "hsl(var(--muted))",
|
|
94
|
+
strokeWidth: "1",
|
|
95
|
+
fill: "none"
|
|
96
|
+
}
|
|
97
|
+
),
|
|
98
|
+
/* @__PURE__ */ jsxRuntime.jsx("circle", { cx: "50", cy: "50", r: "3", fill: "hsl(var(--muted))" }),
|
|
99
|
+
/* @__PURE__ */ jsxRuntime.jsx("circle", { cx: "0", cy: "50", r: "2", fill: "hsl(var(--muted))" }),
|
|
100
|
+
/* @__PURE__ */ jsxRuntime.jsx("circle", { cx: "100", cy: "50", r: "2", fill: "hsl(var(--muted))" }),
|
|
101
|
+
/* @__PURE__ */ jsxRuntime.jsx("circle", { cx: "50", cy: "0", r: "2", fill: "hsl(var(--muted))" }),
|
|
102
|
+
/* @__PURE__ */ jsxRuntime.jsx("circle", { cx: "50", cy: "100", r: "2", fill: "hsl(var(--muted))" })
|
|
103
|
+
]
|
|
104
|
+
}
|
|
105
|
+
) }),
|
|
106
|
+
/* @__PURE__ */ jsxRuntime.jsx("rect", { width: "100%", height: "100%", fill: `url(#${id})` })
|
|
107
|
+
]
|
|
108
|
+
}
|
|
109
|
+
);
|
|
110
|
+
var gridDotsPattern = (id, mask) => /* @__PURE__ */ jsxRuntime.jsxs(
|
|
111
|
+
"svg",
|
|
112
|
+
{
|
|
113
|
+
className: "h-full w-full",
|
|
114
|
+
xmlns: "http://www.w3.org/2000/svg",
|
|
115
|
+
style: mask ? {
|
|
116
|
+
maskImage: mask,
|
|
117
|
+
WebkitMaskImage: mask
|
|
118
|
+
} : void 0,
|
|
119
|
+
children: [
|
|
120
|
+
/* @__PURE__ */ jsxRuntime.jsx("defs", { children: /* @__PURE__ */ jsxRuntime.jsxs(
|
|
121
|
+
"pattern",
|
|
122
|
+
{
|
|
123
|
+
id,
|
|
124
|
+
x: "0",
|
|
125
|
+
y: "0",
|
|
126
|
+
width: "40",
|
|
127
|
+
height: "40",
|
|
128
|
+
patternUnits: "userSpaceOnUse",
|
|
129
|
+
children: [
|
|
130
|
+
/* @__PURE__ */ jsxRuntime.jsx(
|
|
131
|
+
"path",
|
|
132
|
+
{
|
|
133
|
+
d: "M0 20h40M20 0v40",
|
|
134
|
+
stroke: "hsl(var(--muted))",
|
|
135
|
+
strokeWidth: "0.5",
|
|
136
|
+
fill: "none"
|
|
137
|
+
}
|
|
138
|
+
),
|
|
139
|
+
/* @__PURE__ */ jsxRuntime.jsx("circle", { cx: "20", cy: "20", r: "2", fill: "hsl(var(--muted))" })
|
|
140
|
+
]
|
|
141
|
+
}
|
|
142
|
+
) }),
|
|
143
|
+
/* @__PURE__ */ jsxRuntime.jsx("rect", { width: "100%", height: "100%", fill: `url(#${id})` })
|
|
144
|
+
]
|
|
145
|
+
}
|
|
146
|
+
);
|
|
147
|
+
var gridPattern = (size, mask) => /* @__PURE__ */ jsxRuntime.jsx(
|
|
148
|
+
"div",
|
|
149
|
+
{
|
|
150
|
+
className: "h-full w-full bg-[linear-gradient(to_right,_hsl(var(--muted))_1px,_transparent_1px),linear-gradient(to_bottom,_hsl(var(--muted))_1px,_transparent_1px)]",
|
|
151
|
+
style: {
|
|
152
|
+
backgroundSize: `${size}px ${size}px`,
|
|
153
|
+
...mask ? {
|
|
154
|
+
maskImage: mask,
|
|
155
|
+
WebkitMaskImage: mask
|
|
156
|
+
} : {}
|
|
157
|
+
}
|
|
158
|
+
}
|
|
159
|
+
);
|
|
160
|
+
var diagonalCrossPattern = (mask) => /* @__PURE__ */ jsxRuntime.jsx(
|
|
161
|
+
"div",
|
|
162
|
+
{
|
|
163
|
+
className: "h-full w-full",
|
|
164
|
+
style: {
|
|
165
|
+
backgroundImage: "repeating-linear-gradient(45deg, transparent, transparent 32px, hsl(var(--muted)) 32px, hsl(var(--muted)) 33px), repeating-linear-gradient(135deg, transparent, transparent 32px, hsl(var(--muted)) 32px, hsl(var(--muted)) 33px)",
|
|
166
|
+
...mask ? {
|
|
167
|
+
maskImage: mask,
|
|
168
|
+
WebkitMaskImage: mask
|
|
169
|
+
} : {}
|
|
170
|
+
}
|
|
171
|
+
}
|
|
172
|
+
);
|
|
173
|
+
var dashedGridMaskBase = "repeating-linear-gradient(to right, black 0px, black 3px, transparent 3px, transparent 8px), repeating-linear-gradient(to bottom, black 0px, black 3px, transparent 3px, transparent 8px)";
|
|
174
|
+
var dashedGridPattern = (fadeMask) => {
|
|
175
|
+
const mask = fadeMask ? `${dashedGridMaskBase}, ${fadeMask}` : dashedGridMaskBase;
|
|
176
|
+
return /* @__PURE__ */ jsxRuntime.jsx(
|
|
177
|
+
"div",
|
|
178
|
+
{
|
|
179
|
+
className: "h-full w-full",
|
|
180
|
+
style: {
|
|
181
|
+
backgroundImage: "linear-gradient(to right, hsl(var(--muted)) 1px, transparent 1px), linear-gradient(to bottom, hsl(var(--muted)) 1px, transparent 1px)",
|
|
182
|
+
backgroundSize: "20px 20px",
|
|
183
|
+
backgroundPosition: "0 0, 0 0",
|
|
184
|
+
maskImage: mask,
|
|
185
|
+
WebkitMaskImage: mask,
|
|
186
|
+
maskComposite: "intersect",
|
|
187
|
+
WebkitMaskComposite: "source-in"
|
|
188
|
+
}
|
|
189
|
+
}
|
|
190
|
+
);
|
|
191
|
+
};
|
|
192
|
+
var gradientGlow = (position) => /* @__PURE__ */ jsxRuntime.jsx(
|
|
193
|
+
"div",
|
|
194
|
+
{
|
|
195
|
+
className: cn(
|
|
196
|
+
"pointer-events-none absolute left-1/2 z-0 aspect-square w-3/4 -translate-x-1/2 rounded-full opacity-50 blur-3xl",
|
|
197
|
+
position === "top" ? "-top-1/4" : "-bottom-1/4"
|
|
198
|
+
),
|
|
199
|
+
style: {
|
|
200
|
+
background: "radial-gradient(circle, hsl(var(--primary)) 0%, transparent 70%)"
|
|
201
|
+
}
|
|
202
|
+
}
|
|
203
|
+
);
|
|
204
|
+
var spotlight = (position) => /* @__PURE__ */ jsxRuntime.jsx(
|
|
205
|
+
"div",
|
|
206
|
+
{
|
|
207
|
+
className: cn(
|
|
208
|
+
"pointer-events-none absolute top-1/2 z-0 aspect-square w-3/4 -translate-y-1/2 rounded-full opacity-40 blur-3xl",
|
|
209
|
+
position === "left" ? "-left-1/4" : "-right-1/4"
|
|
210
|
+
),
|
|
211
|
+
style: {
|
|
212
|
+
background: "radial-gradient(circle, hsl(var(--primary)) 0%, transparent 70%)"
|
|
213
|
+
}
|
|
214
|
+
}
|
|
215
|
+
);
|
|
216
|
+
var patternOverlays = {
|
|
217
|
+
circuitBoardBasic: () => circuitBoardPattern("circuit-board-basic"),
|
|
218
|
+
circuitBoardFadeTop: () => circuitBoardPattern("circuit-board-fade-top", maskTop),
|
|
219
|
+
circuitBoardFadeBottom: () => circuitBoardPattern("circuit-board-fade-bottom", maskBottom),
|
|
220
|
+
circuitBoardFadeCenter: () => circuitBoardPattern("circuit-board-fade-center", maskCenter),
|
|
221
|
+
circuitBoardFadeTopLeft: () => circuitBoardPattern("circuit-board-fade-top-left", maskTopLeft),
|
|
222
|
+
circuitBoardFadeTopRight: () => circuitBoardPattern("circuit-board-fade-top-right", maskTopRight),
|
|
223
|
+
circuitBoardFadeBottomLeft: () => circuitBoardPattern("circuit-board-fade-bottom-left", maskBottomLeft),
|
|
224
|
+
circuitBoardFadeBottomRight: () => circuitBoardPattern("circuit-board-fade-bottom-right", maskBottomRight),
|
|
225
|
+
dashedGridBasic: () => dashedGridPattern(),
|
|
226
|
+
dashedGridFadeTop: () => dashedGridPattern(maskTop),
|
|
227
|
+
dashedGridFadeBottom: () => dashedGridPattern(maskBottom),
|
|
228
|
+
dashedGridFadeCenter: () => dashedGridPattern(maskCenter),
|
|
229
|
+
dashedGridFadeTopLeft: () => dashedGridPattern(maskTopLeft),
|
|
230
|
+
dashedGridFadeTopRight: () => dashedGridPattern(maskTopRight),
|
|
231
|
+
dashedGridFadeBottomLeft: () => dashedGridPattern(maskBottomLeft),
|
|
232
|
+
dashedGridFadeBottomRight: () => dashedGridPattern(maskBottomRight),
|
|
233
|
+
diagonalCrossBasic: () => diagonalCrossPattern(),
|
|
234
|
+
diagonalCrossFadeTop: () => diagonalCrossPattern(maskTop),
|
|
235
|
+
diagonalCrossFadeBottom: () => diagonalCrossPattern(maskBottom),
|
|
236
|
+
diagonalCrossFadeCenter: () => diagonalCrossPattern(maskCenter),
|
|
237
|
+
diagonalCrossFadeTopLeft: () => diagonalCrossPattern(maskTopLeft),
|
|
238
|
+
diagonalCrossFadeTopRight: () => diagonalCrossPattern(maskTopRight),
|
|
239
|
+
diagonalCrossFadeBottomLeft: () => diagonalCrossPattern(maskBottomLeft),
|
|
240
|
+
diagonalCrossFadeBottomRight: () => diagonalCrossPattern(maskBottomRight),
|
|
241
|
+
gridBasic: () => gridPattern(40),
|
|
242
|
+
gridFadeTop: () => gridPattern(32, maskTop),
|
|
243
|
+
gridFadeBottom: () => gridPattern(32, maskBottom),
|
|
244
|
+
gridFadeCenter: () => gridPattern(40, maskCenter),
|
|
245
|
+
gridFadeTopLeft: () => gridPattern(32, maskTopLeft),
|
|
246
|
+
gridFadeTopRight: () => gridPattern(32, maskTopRight),
|
|
247
|
+
gridFadeBottomLeft: () => gridPattern(32, maskBottomLeft),
|
|
248
|
+
gridFadeBottomRight: () => gridPattern(32, maskBottomRight),
|
|
249
|
+
gridDotsBasic: () => gridDotsPattern("grid-dots-basic"),
|
|
250
|
+
gridDotsFadeCenter: () => gridDotsPattern("grid-dots-fade-center", maskCenter),
|
|
251
|
+
gradientGlowTop: () => gradientGlow("top"),
|
|
252
|
+
gradientGlowBottom: () => gradientGlow("bottom"),
|
|
253
|
+
spotlightLeft: () => spotlight("left"),
|
|
254
|
+
spotlightRight: () => spotlight("right")
|
|
255
|
+
};
|
|
256
|
+
var inlinePatternStyles = {
|
|
257
|
+
radialGradientTop: {
|
|
258
|
+
background: "radial-gradient(125% 125% at 50% 10%, hsl(var(--background)) 40%, hsl(var(--primary)) 100%)"
|
|
259
|
+
},
|
|
260
|
+
radialGradientBottom: {
|
|
261
|
+
background: "radial-gradient(125% 125% at 50% 90%, hsl(var(--background)) 40%, hsl(var(--primary)) 100%)"
|
|
262
|
+
}
|
|
263
|
+
};
|
|
264
|
+
function PatternBackground({
|
|
265
|
+
pattern,
|
|
266
|
+
opacity = 0.08,
|
|
267
|
+
className,
|
|
268
|
+
style
|
|
269
|
+
}) {
|
|
270
|
+
if (!pattern) {
|
|
271
|
+
return null;
|
|
272
|
+
}
|
|
273
|
+
if (pattern in inlinePatternStyles) {
|
|
274
|
+
const inlineStyle = inlinePatternStyles[pattern];
|
|
275
|
+
return /* @__PURE__ */ jsxRuntime.jsx(
|
|
276
|
+
"div",
|
|
277
|
+
{
|
|
278
|
+
className: cn("pointer-events-none absolute inset-0 z-0", className),
|
|
279
|
+
style: { ...inlineStyle, opacity, ...style },
|
|
280
|
+
"aria-hidden": "true"
|
|
281
|
+
}
|
|
282
|
+
);
|
|
283
|
+
}
|
|
284
|
+
if (pattern in patternOverlays) {
|
|
285
|
+
const Overlay = patternOverlays[pattern];
|
|
286
|
+
return /* @__PURE__ */ jsxRuntime.jsx(
|
|
287
|
+
"div",
|
|
288
|
+
{
|
|
289
|
+
className: cn("pointer-events-none absolute inset-0 z-0", className),
|
|
290
|
+
style: { opacity, ...style },
|
|
291
|
+
"aria-hidden": "true",
|
|
292
|
+
children: Overlay()
|
|
293
|
+
}
|
|
294
|
+
);
|
|
295
|
+
}
|
|
296
|
+
const patternUrl = pattern in patternSvgs ? patternSvgs[pattern] : pattern;
|
|
297
|
+
return /* @__PURE__ */ jsxRuntime.jsx(
|
|
298
|
+
"div",
|
|
299
|
+
{
|
|
300
|
+
className: cn("pointer-events-none absolute inset-0 z-0", className),
|
|
301
|
+
style: {
|
|
302
|
+
backgroundImage: `url(${patternUrl})`,
|
|
303
|
+
backgroundRepeat: "repeat",
|
|
304
|
+
backgroundSize: "auto",
|
|
305
|
+
opacity,
|
|
306
|
+
...style
|
|
307
|
+
},
|
|
308
|
+
"aria-hidden": "true"
|
|
309
|
+
}
|
|
310
|
+
);
|
|
311
|
+
}
|
|
312
|
+
var backgroundStyles = {
|
|
313
|
+
white: "bg-background text-foreground",
|
|
314
|
+
gray: "bg-muted/30 text-foreground",
|
|
315
|
+
dark: "bg-foreground text-background",
|
|
316
|
+
transparent: "bg-transparent text-foreground",
|
|
317
|
+
gradient: "bg-linear-to-br from-primary via-primary/90 to-foreground text-primary-foreground",
|
|
318
|
+
primary: "bg-primary text-primary-foreground",
|
|
319
|
+
secondary: "bg-secondary text-secondary-foreground",
|
|
320
|
+
muted: "bg-muted text-muted-foreground"
|
|
321
|
+
};
|
|
322
|
+
var spacingStyles = {
|
|
323
|
+
none: "py-0 md:py-0",
|
|
324
|
+
sm: "py-12 md:py-16",
|
|
325
|
+
md: "py-16 md:py-24",
|
|
326
|
+
lg: "py-20 md:py-32",
|
|
327
|
+
xl: "py-24 md:py-40"
|
|
328
|
+
};
|
|
329
|
+
var Section = React__default.default.forwardRef(
|
|
330
|
+
({
|
|
331
|
+
id,
|
|
332
|
+
title,
|
|
333
|
+
subtitle,
|
|
334
|
+
children,
|
|
335
|
+
className,
|
|
336
|
+
style,
|
|
337
|
+
background = "white",
|
|
338
|
+
spacing = "lg",
|
|
339
|
+
pattern,
|
|
340
|
+
patternOpacity,
|
|
341
|
+
patternClassName,
|
|
342
|
+
...props
|
|
343
|
+
}, ref) => {
|
|
344
|
+
const effectivePatternOpacity = patternOpacity !== void 0 ? patternOpacity : pattern ? 1 : 0;
|
|
345
|
+
return /* @__PURE__ */ jsxRuntime.jsxs(
|
|
346
|
+
"section",
|
|
347
|
+
{
|
|
348
|
+
ref,
|
|
349
|
+
id,
|
|
350
|
+
className: cn(
|
|
351
|
+
"relative",
|
|
352
|
+
pattern ? "overflow-hidden" : null,
|
|
353
|
+
backgroundStyles[background],
|
|
354
|
+
spacingStyles[spacing],
|
|
355
|
+
className
|
|
356
|
+
),
|
|
357
|
+
style,
|
|
358
|
+
...props,
|
|
359
|
+
children: [
|
|
360
|
+
/* @__PURE__ */ jsxRuntime.jsx(
|
|
361
|
+
PatternBackground,
|
|
362
|
+
{
|
|
363
|
+
pattern,
|
|
364
|
+
opacity: effectivePatternOpacity,
|
|
365
|
+
className: patternClassName
|
|
366
|
+
}
|
|
367
|
+
),
|
|
368
|
+
/* @__PURE__ */ jsxRuntime.jsxs(Container, { className: "relative z-10", children: [
|
|
369
|
+
(title || subtitle) && /* @__PURE__ */ jsxRuntime.jsxs("div", { className: "mb-12 text-center md:mb-16", children: [
|
|
370
|
+
subtitle && /* @__PURE__ */ jsxRuntime.jsx("p", { className: "mb-2 text-sm font-semibold uppercase tracking-wider text-primary", children: subtitle }),
|
|
371
|
+
title && /* @__PURE__ */ jsxRuntime.jsx("h2", { className: "text-3xl font-bold tracking-tight md:text-4xl lg:text-5xl", children: title })
|
|
372
|
+
] }),
|
|
373
|
+
children
|
|
374
|
+
] })
|
|
375
|
+
]
|
|
376
|
+
}
|
|
377
|
+
);
|
|
378
|
+
}
|
|
379
|
+
);
|
|
380
|
+
Section.displayName = "Section";
|
|
13
381
|
var Swirls = () => /* @__PURE__ */ jsxRuntime.jsxs(jsxRuntime.Fragment, { children: [
|
|
14
382
|
/* @__PURE__ */ jsxRuntime.jsx(
|
|
15
383
|
"svg",
|
|
@@ -61,6 +429,10 @@ function HeroFloatingImages({
|
|
|
61
429
|
imagesSlot,
|
|
62
430
|
showSwirls = true,
|
|
63
431
|
backgroundSlot,
|
|
432
|
+
background = "white",
|
|
433
|
+
spacing = "lg",
|
|
434
|
+
pattern,
|
|
435
|
+
patternOpacity,
|
|
64
436
|
className,
|
|
65
437
|
contentClassName,
|
|
66
438
|
headingClassName,
|
|
@@ -81,7 +453,7 @@ function HeroFloatingImages({
|
|
|
81
453
|
{
|
|
82
454
|
src: image.src,
|
|
83
455
|
alt: image.alt,
|
|
84
|
-
className: cn("absolute object-contain", image.className),
|
|
456
|
+
className: cn("absolute w-32 h-32 md:w-48 md:h-48 rounded-lg shadow-lg object-contain", image.className),
|
|
85
457
|
style: { animationDelay: `${index * 300}ms` },
|
|
86
458
|
optixFlowConfig
|
|
87
459
|
},
|
|
@@ -89,19 +461,59 @@ function HeroFloatingImages({
|
|
|
89
461
|
)) });
|
|
90
462
|
};
|
|
91
463
|
return /* @__PURE__ */ jsxRuntime.jsxs(
|
|
92
|
-
|
|
464
|
+
Section,
|
|
93
465
|
{
|
|
466
|
+
background,
|
|
467
|
+
spacing,
|
|
468
|
+
pattern,
|
|
469
|
+
patternOpacity,
|
|
94
470
|
className: cn(
|
|
95
|
-
"relative flex min-h-[60vh] items-center justify-center overflow-hidden
|
|
471
|
+
"relative flex min-h-[60vh] items-center justify-center overflow-hidden py-20 md:min-h-[80vh] md:py-32",
|
|
96
472
|
className
|
|
97
473
|
),
|
|
98
474
|
children: [
|
|
99
475
|
renderBackground(),
|
|
100
476
|
renderImages(),
|
|
101
|
-
/* @__PURE__ */ jsxRuntime.jsxs(
|
|
102
|
-
|
|
103
|
-
|
|
104
|
-
|
|
477
|
+
/* @__PURE__ */ jsxRuntime.jsxs(
|
|
478
|
+
"div",
|
|
479
|
+
{
|
|
480
|
+
className: cn(
|
|
481
|
+
"relative z-20 mx-auto max-w-2xl px-4 text-center",
|
|
482
|
+
contentClassName
|
|
483
|
+
),
|
|
484
|
+
children: [
|
|
485
|
+
heading && (typeof heading === "string" ? /* @__PURE__ */ jsxRuntime.jsx(
|
|
486
|
+
"h1",
|
|
487
|
+
{
|
|
488
|
+
className: cn(
|
|
489
|
+
"text-4xl font-bold tracking-tight text-primary sm:text-5xl md:text-6xl",
|
|
490
|
+
headingClassName
|
|
491
|
+
),
|
|
492
|
+
children: heading
|
|
493
|
+
}
|
|
494
|
+
) : /* @__PURE__ */ jsxRuntime.jsx(
|
|
495
|
+
"h1",
|
|
496
|
+
{
|
|
497
|
+
className: cn(
|
|
498
|
+
"text-4xl font-bold tracking-tight text-primary sm:text-5xl md:text-6xl",
|
|
499
|
+
headingClassName
|
|
500
|
+
),
|
|
501
|
+
children: heading
|
|
502
|
+
}
|
|
503
|
+
)),
|
|
504
|
+
description && (typeof description === "string" ? /* @__PURE__ */ jsxRuntime.jsx(
|
|
505
|
+
"p",
|
|
506
|
+
{
|
|
507
|
+
className: cn(
|
|
508
|
+
"mt-6 text-lg leading-8 text-muted-foreground",
|
|
509
|
+
descriptionClassName
|
|
510
|
+
),
|
|
511
|
+
children: description
|
|
512
|
+
}
|
|
513
|
+
) : /* @__PURE__ */ jsxRuntime.jsx("div", { className: descriptionClassName, children: description }))
|
|
514
|
+
]
|
|
515
|
+
}
|
|
516
|
+
)
|
|
105
517
|
]
|
|
106
518
|
}
|
|
107
519
|
);
|
|
@@ -1,14 +1,19 @@
|
|
|
1
1
|
import * as React from 'react';
|
|
2
|
+
import { P as PatternName } from './pattern-background-a7gKHzHy.cjs';
|
|
3
|
+
import { SectionBackground, SectionSpacing } from './types.cjs';
|
|
2
4
|
import { I as ImageItem, O as OptixFlowConfig } from './blocks-Cohq4eio.cjs';
|
|
5
|
+
import 'react/jsx-runtime';
|
|
3
6
|
import 'class-variance-authority';
|
|
4
7
|
import './button-variants-lRElsmTc.cjs';
|
|
5
8
|
import 'class-variance-authority/types';
|
|
6
9
|
|
|
7
10
|
interface HeroFloatingImagesItem extends ImageItem {
|
|
8
11
|
/**
|
|
9
|
-
* Tailwind classes for positioning and sizing
|
|
12
|
+
* Optional Tailwind classes for positioning and sizing.
|
|
13
|
+
* Default styling: "w-32 h-32 md:w-48 md:h-48 rounded-lg shadow-lg" - provides responsive sizing with rounded corners and shadow.
|
|
14
|
+
* Override this to customize individual image appearance and positioning.
|
|
10
15
|
*/
|
|
11
|
-
className
|
|
16
|
+
className?: string;
|
|
12
17
|
}
|
|
13
18
|
interface HeroFloatingImagesProps {
|
|
14
19
|
/**
|
|
@@ -35,6 +40,22 @@ interface HeroFloatingImagesProps {
|
|
|
35
40
|
* Custom slot for background decorations (overrides showSwirls)
|
|
36
41
|
*/
|
|
37
42
|
backgroundSlot?: React.ReactNode;
|
|
43
|
+
/**
|
|
44
|
+
* Background style for the section
|
|
45
|
+
*/
|
|
46
|
+
background?: SectionBackground;
|
|
47
|
+
/**
|
|
48
|
+
* Vertical spacing for the section
|
|
49
|
+
*/
|
|
50
|
+
spacing?: SectionSpacing;
|
|
51
|
+
/**
|
|
52
|
+
* Optional background pattern name
|
|
53
|
+
*/
|
|
54
|
+
pattern?: PatternName | undefined;
|
|
55
|
+
/**
|
|
56
|
+
* Pattern overlay opacity (0-1)
|
|
57
|
+
*/
|
|
58
|
+
patternOpacity?: number;
|
|
38
59
|
/**
|
|
39
60
|
* Additional CSS classes for the section wrapper
|
|
40
61
|
*/
|
|
@@ -64,6 +85,6 @@ interface HeroFloatingImagesProps {
|
|
|
64
85
|
* HeroFloatingImages - A centered hero with floating imagery and decorative
|
|
65
86
|
* swirl backgrounds. Great for playful, lifestyle, or hospitality landing pages.
|
|
66
87
|
*/
|
|
67
|
-
declare function HeroFloatingImages({ heading, description, images, imagesSlot, showSwirls, backgroundSlot, className, contentClassName, headingClassName, descriptionClassName, imagesClassName, optixFlowConfig, }: HeroFloatingImagesProps): React.JSX.Element;
|
|
88
|
+
declare function HeroFloatingImages({ heading, description, images, imagesSlot, showSwirls, backgroundSlot, background, spacing, pattern, patternOpacity, className, contentClassName, headingClassName, descriptionClassName, imagesClassName, optixFlowConfig, }: HeroFloatingImagesProps): React.JSX.Element;
|
|
68
89
|
|
|
69
90
|
export { HeroFloatingImages, type HeroFloatingImagesProps };
|
|
@@ -1,14 +1,19 @@
|
|
|
1
1
|
import * as React from 'react';
|
|
2
|
+
import { P as PatternName } from './pattern-background-a7gKHzHy.js';
|
|
3
|
+
import { SectionBackground, SectionSpacing } from './types.js';
|
|
2
4
|
import { I as ImageItem, O as OptixFlowConfig } from './blocks-k17uluAz.js';
|
|
5
|
+
import 'react/jsx-runtime';
|
|
3
6
|
import 'class-variance-authority';
|
|
4
7
|
import './button-variants-lRElsmTc.js';
|
|
5
8
|
import 'class-variance-authority/types';
|
|
6
9
|
|
|
7
10
|
interface HeroFloatingImagesItem extends ImageItem {
|
|
8
11
|
/**
|
|
9
|
-
* Tailwind classes for positioning and sizing
|
|
12
|
+
* Optional Tailwind classes for positioning and sizing.
|
|
13
|
+
* Default styling: "w-32 h-32 md:w-48 md:h-48 rounded-lg shadow-lg" - provides responsive sizing with rounded corners and shadow.
|
|
14
|
+
* Override this to customize individual image appearance and positioning.
|
|
10
15
|
*/
|
|
11
|
-
className
|
|
16
|
+
className?: string;
|
|
12
17
|
}
|
|
13
18
|
interface HeroFloatingImagesProps {
|
|
14
19
|
/**
|
|
@@ -35,6 +40,22 @@ interface HeroFloatingImagesProps {
|
|
|
35
40
|
* Custom slot for background decorations (overrides showSwirls)
|
|
36
41
|
*/
|
|
37
42
|
backgroundSlot?: React.ReactNode;
|
|
43
|
+
/**
|
|
44
|
+
* Background style for the section
|
|
45
|
+
*/
|
|
46
|
+
background?: SectionBackground;
|
|
47
|
+
/**
|
|
48
|
+
* Vertical spacing for the section
|
|
49
|
+
*/
|
|
50
|
+
spacing?: SectionSpacing;
|
|
51
|
+
/**
|
|
52
|
+
* Optional background pattern name
|
|
53
|
+
*/
|
|
54
|
+
pattern?: PatternName | undefined;
|
|
55
|
+
/**
|
|
56
|
+
* Pattern overlay opacity (0-1)
|
|
57
|
+
*/
|
|
58
|
+
patternOpacity?: number;
|
|
38
59
|
/**
|
|
39
60
|
* Additional CSS classes for the section wrapper
|
|
40
61
|
*/
|
|
@@ -64,6 +85,6 @@ interface HeroFloatingImagesProps {
|
|
|
64
85
|
* HeroFloatingImages - A centered hero with floating imagery and decorative
|
|
65
86
|
* swirl backgrounds. Great for playful, lifestyle, or hospitality landing pages.
|
|
66
87
|
*/
|
|
67
|
-
declare function HeroFloatingImages({ heading, description, images, imagesSlot, showSwirls, backgroundSlot, className, contentClassName, headingClassName, descriptionClassName, imagesClassName, optixFlowConfig, }: HeroFloatingImagesProps): React.JSX.Element;
|
|
88
|
+
declare function HeroFloatingImages({ heading, description, images, imagesSlot, showSwirls, backgroundSlot, background, spacing, pattern, patternOpacity, className, contentClassName, headingClassName, descriptionClassName, imagesClassName, optixFlowConfig, }: HeroFloatingImagesProps): React.JSX.Element;
|
|
68
89
|
|
|
69
90
|
export { HeroFloatingImages, type HeroFloatingImagesProps };
|