@retinalabsllc/zairusjs 0.7.1 → 0.7.2
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 +3 -3
- package/dist/index.mjs +3 -3
- package/package.json +1 -1
package/dist/index.js
CHANGED
|
@@ -560,12 +560,12 @@ var Header = ({
|
|
|
560
560
|
compact = false
|
|
561
561
|
// Defaults to false (full width)
|
|
562
562
|
}) => {
|
|
563
|
-
const headerBgStyle = light ? "bg-
|
|
564
|
-
const headerLayoutWidth = compact ? "w-fit
|
|
563
|
+
const headerBgStyle = light ? "bg-white/95 border-white/40 shadow-[0_8px_60px_rgba(0,0,0,0.06)]" : "bg-black/95 border-white/10 shadow-[0_8px_60px_rgba(0,0,0,0.2)]";
|
|
564
|
+
const headerLayoutWidth = compact ? "w-fit mx-auto gap-8 md:gap-16" : "w-full justify-between";
|
|
565
565
|
const titleColor = light ? "text-black" : "text-white";
|
|
566
566
|
const subtitleColor = light ? "text-neutral-500" : "text-neutral-400";
|
|
567
567
|
const hasBrandSection = showLogo || !hideHeaderText;
|
|
568
|
-
return /* @__PURE__ */ import_react7.default.createElement("div", { className: "absolute inset-x-0 top-0 w-full
|
|
568
|
+
return /* @__PURE__ */ import_react7.default.createElement("div", { className: "absolute inset-x-0 top-0 w-full z-50 pointer-events-none px-4 pt-4 sm:pt-6" }, /* @__PURE__ */ import_react7.default.createElement("div", { className: "max-w-5xl mx-auto w-full pointer-events-auto flex justify-center" }, /* @__PURE__ */ import_react7.default.createElement("header", { className: `${headerLayoutWidth} ${headerBgStyle} backdrop-blur-md rounded-full py-2 px-6 flex items-center border transition-all duration-300` }, hasBrandSection && /* @__PURE__ */ import_react7.default.createElement("div", { className: "flex items-center shrink-0" }, /* @__PURE__ */ import_react7.default.createElement(import_link2.default, { href: "/", className: "flex items-center gap-3 transition-opacity hover:opacity-70" }, showLogo && /* @__PURE__ */ import_react7.default.createElement(
|
|
569
569
|
import_image.default,
|
|
570
570
|
{
|
|
571
571
|
src: logoSrc,
|
package/dist/index.mjs
CHANGED
|
@@ -483,12 +483,12 @@ var Header = ({
|
|
|
483
483
|
compact = false
|
|
484
484
|
// Defaults to false (full width)
|
|
485
485
|
}) => {
|
|
486
|
-
const headerBgStyle = light ? "bg-
|
|
487
|
-
const headerLayoutWidth = compact ? "w-fit
|
|
486
|
+
const headerBgStyle = light ? "bg-white/95 border-white/40 shadow-[0_8px_60px_rgba(0,0,0,0.06)]" : "bg-black/95 border-white/10 shadow-[0_8px_60px_rgba(0,0,0,0.2)]";
|
|
487
|
+
const headerLayoutWidth = compact ? "w-fit mx-auto gap-8 md:gap-16" : "w-full justify-between";
|
|
488
488
|
const titleColor = light ? "text-black" : "text-white";
|
|
489
489
|
const subtitleColor = light ? "text-neutral-500" : "text-neutral-400";
|
|
490
490
|
const hasBrandSection = showLogo || !hideHeaderText;
|
|
491
|
-
return /* @__PURE__ */ React5.createElement("div", { className: "absolute inset-x-0 top-0 w-full
|
|
491
|
+
return /* @__PURE__ */ React5.createElement("div", { className: "absolute inset-x-0 top-0 w-full z-50 pointer-events-none px-4 pt-4 sm:pt-6" }, /* @__PURE__ */ React5.createElement("div", { className: "max-w-5xl mx-auto w-full pointer-events-auto flex justify-center" }, /* @__PURE__ */ React5.createElement("header", { className: `${headerLayoutWidth} ${headerBgStyle} backdrop-blur-md rounded-full py-2 px-6 flex items-center border transition-all duration-300` }, hasBrandSection && /* @__PURE__ */ React5.createElement("div", { className: "flex items-center shrink-0" }, /* @__PURE__ */ React5.createElement(Link2, { href: "/", className: "flex items-center gap-3 transition-opacity hover:opacity-70" }, showLogo && /* @__PURE__ */ React5.createElement(
|
|
492
492
|
Image,
|
|
493
493
|
{
|
|
494
494
|
src: logoSrc,
|