@retinalabsllc/zairusjs 6.1.5 → 6.1.9
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/index.js +52 -47
- package/dist/index.mjs +52 -47
- package/package.json +1 -1
package/dist/index.js
CHANGED
|
@@ -440,53 +440,58 @@ var HeroSection = ({
|
|
|
440
440
|
}
|
|
441
441
|
return () => observer.disconnect();
|
|
442
442
|
}, []);
|
|
443
|
-
return
|
|
444
|
-
"
|
|
445
|
-
{
|
|
446
|
-
|
|
447
|
-
|
|
448
|
-
|
|
449
|
-
|
|
450
|
-
|
|
451
|
-
|
|
452
|
-
|
|
453
|
-
|
|
454
|
-
|
|
455
|
-
{
|
|
456
|
-
|
|
457
|
-
|
|
458
|
-
|
|
459
|
-
|
|
460
|
-
|
|
461
|
-
|
|
462
|
-
|
|
463
|
-
|
|
464
|
-
|
|
465
|
-
|
|
466
|
-
|
|
467
|
-
|
|
468
|
-
|
|
469
|
-
|
|
470
|
-
|
|
471
|
-
|
|
472
|
-
|
|
473
|
-
|
|
474
|
-
|
|
475
|
-
|
|
476
|
-
|
|
477
|
-
|
|
478
|
-
|
|
479
|
-
|
|
480
|
-
|
|
481
|
-
|
|
482
|
-
|
|
483
|
-
|
|
484
|
-
|
|
485
|
-
|
|
486
|
-
|
|
487
|
-
|
|
488
|
-
|
|
489
|
-
|
|
443
|
+
return (
|
|
444
|
+
// Outer section provides the "space from the wall" (padding)
|
|
445
|
+
/* @__PURE__ */ import_react8.default.createElement("section", { className: "relative w-full px-4 sm:px-6 lg:px-8 pt-24 sm:pt-32 pb-12 flex justify-center overflow-hidden" }, /* @__PURE__ */ import_react8.default.createElement("div", { className: "w-full max-w-350 bg-white rounded-2xl min-h-[80vh] p-6 sm:p-12 lg:p-16 flex flex-col lg:flex-row items-center gap-12 lg:gap-16 relative" }, /* @__PURE__ */ import_react8.default.createElement("div", { className: "flex-1 flex flex-col items-start text-left z-20 w-full mt-8 lg:mt-0" }, badgeText && /* @__PURE__ */ import_react8.default.createElement("span", { className: "inline-block py-1.5 px-4 rounded-full bg-neutral-100 text-neutral-600 text-xs font-medium tracking-wide mb-8" }, badgeText), /* @__PURE__ */ import_react8.default.createElement(
|
|
446
|
+
"h1",
|
|
447
|
+
{
|
|
448
|
+
ref: titleRef,
|
|
449
|
+
className: `text-4xl sm:text-5xl lg:text-6xl xl:text-7xl font-light mb-6 text-neutral-900 tracking-tight leading-[1.1] max-w-2xl`,
|
|
450
|
+
style: isAnimating ? { animationIterationCount: 1 } : {}
|
|
451
|
+
},
|
|
452
|
+
titlePrefix,
|
|
453
|
+
" ",
|
|
454
|
+
/* @__PURE__ */ import_react8.default.createElement("span", { className: "font-medium gradient-text block mt-2" }, highlightText)
|
|
455
|
+
), subtitle && /* @__PURE__ */ import_react8.default.createElement("p", { className: "text-[15px] md:text-[17px] text-neutral-500 max-w-xl mb-12 font-light leading-relaxed" }, subtitle), /* @__PURE__ */ import_react8.default.createElement("div", { className: "flex flex-col gap-4 w-full sm:w-auto mb-16" }, ctaText && ctaHref && // Widened to sm:w-80 (320px) on desktop
|
|
456
|
+
/* @__PURE__ */ import_react8.default.createElement("div", { className: "w-full sm:w-80 flex justify-start *:w-full" }, /* @__PURE__ */ import_react8.default.createElement(ThreeDButton, { href: ctaHref }, ctaText)), secondaryCtaText && secondaryCtaHref && /* @__PURE__ */ import_react8.default.createElement(
|
|
457
|
+
import_link4.default,
|
|
458
|
+
{
|
|
459
|
+
href: secondaryCtaHref,
|
|
460
|
+
className: "w-full sm:w-80 inline-flex font-medium items-center justify-center text-xs tracking-widest rounded-full px-8 py-3.5 bg-neutral-100 text-center text-neutral-700 hover:bg-neutral-200 outline-none transition-colors duration-300"
|
|
461
|
+
},
|
|
462
|
+
secondaryCtaText
|
|
463
|
+
)), showApps && appLogos && appLogos.length > 0 && /* @__PURE__ */ import_react8.default.createElement("div", { className: "w-full flex flex-col items-start mt-auto" }, appsText && /* @__PURE__ */ import_react8.default.createElement("p", { className: "text-[10px] font-medium tracking-[0.15em] text-neutral-400 mb-5 uppercase" }, appsText), /* @__PURE__ */ import_react8.default.createElement("div", { className: "flex flex-wrap justify-start items-center gap-6 opacity-80 mix-blend-multiply" }, appLogos.map((logo, idx) => /* @__PURE__ */ import_react8.default.createElement("div", { key: idx, className: "relative h-6 w-6 sm:h-7 sm:w-7 flex items-center justify-center cursor-default grayscale hover:grayscale-0 transition-all duration-300" }, /* @__PURE__ */ import_react8.default.createElement(
|
|
464
|
+
import_image2.default,
|
|
465
|
+
{
|
|
466
|
+
src: logo.src,
|
|
467
|
+
alt: logo.alt,
|
|
468
|
+
width: 40,
|
|
469
|
+
height: 40,
|
|
470
|
+
className: "object-contain h-full w-auto"
|
|
471
|
+
}
|
|
472
|
+
)))))), (bgVideoSrc || bgImageSrc) && // Drops below text on mobile. Square on mobile (aspect-square), taller on desktop (lg:aspect-[4/5])
|
|
473
|
+
/* @__PURE__ */ import_react8.default.createElement("div", { className: "w-full lg:w-[45%] xl:w-[50%] relative aspect-square lg:aspect-4/5 rounded-2xl overflow-hidden bg-neutral-100 flex items-center justify-center shrink-0" }, bgVideoSrc ? /* @__PURE__ */ import_react8.default.createElement(
|
|
474
|
+
"video",
|
|
475
|
+
{
|
|
476
|
+
src: bgVideoSrc,
|
|
477
|
+
poster: bgImageSrc,
|
|
478
|
+
autoPlay: true,
|
|
479
|
+
loop: true,
|
|
480
|
+
muted: true,
|
|
481
|
+
playsInline: true,
|
|
482
|
+
className: "absolute inset-0 w-full h-full object-cover"
|
|
483
|
+
}
|
|
484
|
+
) : bgImageSrc ? /* @__PURE__ */ import_react8.default.createElement(
|
|
485
|
+
import_image2.default,
|
|
486
|
+
{
|
|
487
|
+
src: bgImageSrc,
|
|
488
|
+
alt: "Hero Media",
|
|
489
|
+
fill: true,
|
|
490
|
+
priority: true,
|
|
491
|
+
className: "object-cover"
|
|
492
|
+
}
|
|
493
|
+
) : null, /* @__PURE__ */ import_react8.default.createElement("div", { className: "absolute inset-0 bg-black/5 pointer-events-none mix-blend-overlay" }))))
|
|
494
|
+
);
|
|
490
495
|
};
|
|
491
496
|
|
|
492
497
|
// src/components/AppBento2.tsx
|
package/dist/index.mjs
CHANGED
|
@@ -381,53 +381,58 @@ var HeroSection = ({
|
|
|
381
381
|
}
|
|
382
382
|
return () => observer.disconnect();
|
|
383
383
|
}, []);
|
|
384
|
-
return
|
|
385
|
-
"
|
|
386
|
-
{
|
|
387
|
-
|
|
388
|
-
|
|
389
|
-
|
|
390
|
-
|
|
391
|
-
|
|
392
|
-
|
|
393
|
-
|
|
394
|
-
|
|
395
|
-
|
|
396
|
-
{
|
|
397
|
-
|
|
398
|
-
|
|
399
|
-
|
|
400
|
-
|
|
401
|
-
|
|
402
|
-
|
|
403
|
-
|
|
404
|
-
|
|
405
|
-
|
|
406
|
-
|
|
407
|
-
|
|
408
|
-
|
|
409
|
-
|
|
410
|
-
|
|
411
|
-
|
|
412
|
-
|
|
413
|
-
|
|
414
|
-
|
|
415
|
-
|
|
416
|
-
|
|
417
|
-
|
|
418
|
-
|
|
419
|
-
|
|
420
|
-
|
|
421
|
-
|
|
422
|
-
|
|
423
|
-
|
|
424
|
-
|
|
425
|
-
|
|
426
|
-
|
|
427
|
-
|
|
428
|
-
|
|
429
|
-
|
|
430
|
-
|
|
384
|
+
return (
|
|
385
|
+
// Outer section provides the "space from the wall" (padding)
|
|
386
|
+
/* @__PURE__ */ React6.createElement("section", { className: "relative w-full px-4 sm:px-6 lg:px-8 pt-24 sm:pt-32 pb-12 flex justify-center overflow-hidden" }, /* @__PURE__ */ React6.createElement("div", { className: "w-full max-w-350 bg-white rounded-2xl min-h-[80vh] p-6 sm:p-12 lg:p-16 flex flex-col lg:flex-row items-center gap-12 lg:gap-16 relative" }, /* @__PURE__ */ React6.createElement("div", { className: "flex-1 flex flex-col items-start text-left z-20 w-full mt-8 lg:mt-0" }, badgeText && /* @__PURE__ */ React6.createElement("span", { className: "inline-block py-1.5 px-4 rounded-full bg-neutral-100 text-neutral-600 text-xs font-medium tracking-wide mb-8" }, badgeText), /* @__PURE__ */ React6.createElement(
|
|
387
|
+
"h1",
|
|
388
|
+
{
|
|
389
|
+
ref: titleRef,
|
|
390
|
+
className: `text-4xl sm:text-5xl lg:text-6xl xl:text-7xl font-light mb-6 text-neutral-900 tracking-tight leading-[1.1] max-w-2xl`,
|
|
391
|
+
style: isAnimating ? { animationIterationCount: 1 } : {}
|
|
392
|
+
},
|
|
393
|
+
titlePrefix,
|
|
394
|
+
" ",
|
|
395
|
+
/* @__PURE__ */ React6.createElement("span", { className: "font-medium gradient-text block mt-2" }, highlightText)
|
|
396
|
+
), subtitle && /* @__PURE__ */ React6.createElement("p", { className: "text-[15px] md:text-[17px] text-neutral-500 max-w-xl mb-12 font-light leading-relaxed" }, subtitle), /* @__PURE__ */ React6.createElement("div", { className: "flex flex-col gap-4 w-full sm:w-auto mb-16" }, ctaText && ctaHref && // Widened to sm:w-80 (320px) on desktop
|
|
397
|
+
/* @__PURE__ */ React6.createElement("div", { className: "w-full sm:w-80 flex justify-start *:w-full" }, /* @__PURE__ */ React6.createElement(ThreeDButton, { href: ctaHref }, ctaText)), secondaryCtaText && secondaryCtaHref && /* @__PURE__ */ React6.createElement(
|
|
398
|
+
Link4,
|
|
399
|
+
{
|
|
400
|
+
href: secondaryCtaHref,
|
|
401
|
+
className: "w-full sm:w-80 inline-flex font-medium items-center justify-center text-xs tracking-widest rounded-full px-8 py-3.5 bg-neutral-100 text-center text-neutral-700 hover:bg-neutral-200 outline-none transition-colors duration-300"
|
|
402
|
+
},
|
|
403
|
+
secondaryCtaText
|
|
404
|
+
)), showApps && appLogos && appLogos.length > 0 && /* @__PURE__ */ React6.createElement("div", { className: "w-full flex flex-col items-start mt-auto" }, appsText && /* @__PURE__ */ React6.createElement("p", { className: "text-[10px] font-medium tracking-[0.15em] text-neutral-400 mb-5 uppercase" }, appsText), /* @__PURE__ */ React6.createElement("div", { className: "flex flex-wrap justify-start items-center gap-6 opacity-80 mix-blend-multiply" }, appLogos.map((logo, idx) => /* @__PURE__ */ React6.createElement("div", { key: idx, className: "relative h-6 w-6 sm:h-7 sm:w-7 flex items-center justify-center cursor-default grayscale hover:grayscale-0 transition-all duration-300" }, /* @__PURE__ */ React6.createElement(
|
|
405
|
+
Image2,
|
|
406
|
+
{
|
|
407
|
+
src: logo.src,
|
|
408
|
+
alt: logo.alt,
|
|
409
|
+
width: 40,
|
|
410
|
+
height: 40,
|
|
411
|
+
className: "object-contain h-full w-auto"
|
|
412
|
+
}
|
|
413
|
+
)))))), (bgVideoSrc || bgImageSrc) && // Drops below text on mobile. Square on mobile (aspect-square), taller on desktop (lg:aspect-[4/5])
|
|
414
|
+
/* @__PURE__ */ React6.createElement("div", { className: "w-full lg:w-[45%] xl:w-[50%] relative aspect-square lg:aspect-4/5 rounded-2xl overflow-hidden bg-neutral-100 flex items-center justify-center shrink-0" }, bgVideoSrc ? /* @__PURE__ */ React6.createElement(
|
|
415
|
+
"video",
|
|
416
|
+
{
|
|
417
|
+
src: bgVideoSrc,
|
|
418
|
+
poster: bgImageSrc,
|
|
419
|
+
autoPlay: true,
|
|
420
|
+
loop: true,
|
|
421
|
+
muted: true,
|
|
422
|
+
playsInline: true,
|
|
423
|
+
className: "absolute inset-0 w-full h-full object-cover"
|
|
424
|
+
}
|
|
425
|
+
) : bgImageSrc ? /* @__PURE__ */ React6.createElement(
|
|
426
|
+
Image2,
|
|
427
|
+
{
|
|
428
|
+
src: bgImageSrc,
|
|
429
|
+
alt: "Hero Media",
|
|
430
|
+
fill: true,
|
|
431
|
+
priority: true,
|
|
432
|
+
className: "object-cover"
|
|
433
|
+
}
|
|
434
|
+
) : null, /* @__PURE__ */ React6.createElement("div", { className: "absolute inset-0 bg-black/5 pointer-events-none mix-blend-overlay" }))))
|
|
435
|
+
);
|
|
431
436
|
};
|
|
432
437
|
|
|
433
438
|
// src/components/AppBento2.tsx
|