@retinalabsllc/zairusjs 0.1.7 → 0.1.8
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/dist/index.js +3 -2
- package/dist/index.mjs +3 -2
- package/package.json +1 -1
package/dist/index.js
CHANGED
|
@@ -205,7 +205,8 @@ var Header = ({
|
|
|
205
205
|
const headerLayoutWidth = compact ? "w-fit mx-auto gap-8 md:gap-16" : "w-full justify-between";
|
|
206
206
|
const titleColor = light ? "text-black" : "text-white";
|
|
207
207
|
const subtitleColor = light ? "text-neutral-500" : "text-neutral-400";
|
|
208
|
-
|
|
208
|
+
const hasBrandSection = showLogo || !hideHeaderText;
|
|
209
|
+
return /* @__PURE__ */ import_react4.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_react4.default.createElement("div", { className: "max-w-5xl mx-auto w-full pointer-events-auto flex justify-center" }, /* @__PURE__ */ import_react4.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_react4.default.createElement("div", { className: "flex items-center shrink-0" }, /* @__PURE__ */ import_react4.default.createElement(import_link2.default, { href: "/", className: "flex items-center gap-3 transition-opacity hover:opacity-70" }, showLogo && /* @__PURE__ */ import_react4.default.createElement(
|
|
209
210
|
import_image.default,
|
|
210
211
|
{
|
|
211
212
|
src: logoSrc,
|
|
@@ -1019,7 +1020,7 @@ var PortfolioHero = ({
|
|
|
1019
1020
|
import_link8.default,
|
|
1020
1021
|
{
|
|
1021
1022
|
href: secondaryCtaHref,
|
|
1022
|
-
className: "w-full sm:w-auto inline-flex items-center justify-center gap-3 text-[11px] tracking-[0.2em] uppercase rounded-full px-8 py-3.5 bg-neutral-
|
|
1023
|
+
className: "w-full sm:w-auto inline-flex items-center justify-center gap-3 text-[11px] tracking-[0.2em] uppercase rounded-full px-8 py-3.5 bg-neutral-200 transition-colors text-black hover:bg-neutral-200 outline-none"
|
|
1023
1024
|
},
|
|
1024
1025
|
secondaryCtaText,
|
|
1025
1026
|
/* @__PURE__ */ import_react29.default.createElement(import_react30.HugeiconsIcon, { icon: import_core_free_icons6.ArrowRight01Icon, size: 16 })
|
package/dist/index.mjs
CHANGED
|
@@ -150,7 +150,8 @@ var Header = ({
|
|
|
150
150
|
const headerLayoutWidth = compact ? "w-fit mx-auto gap-8 md:gap-16" : "w-full justify-between";
|
|
151
151
|
const titleColor = light ? "text-black" : "text-white";
|
|
152
152
|
const subtitleColor = light ? "text-neutral-500" : "text-neutral-400";
|
|
153
|
-
|
|
153
|
+
const hasBrandSection = showLogo || !hideHeaderText;
|
|
154
|
+
return /* @__PURE__ */ React3.createElement("div", { className: "absolute inset-x-0 top-0 w-full z-50 pointer-events-none px-4 pt-4 sm:pt-6" }, /* @__PURE__ */ React3.createElement("div", { className: "max-w-5xl mx-auto w-full pointer-events-auto flex justify-center" }, /* @__PURE__ */ React3.createElement("header", { className: `${headerLayoutWidth} ${headerBgStyle} backdrop-blur-md rounded-full py-2 px-6 flex items-center border transition-all duration-300` }, hasBrandSection && /* @__PURE__ */ React3.createElement("div", { className: "flex items-center shrink-0" }, /* @__PURE__ */ React3.createElement(Link2, { href: "/", className: "flex items-center gap-3 transition-opacity hover:opacity-70" }, showLogo && /* @__PURE__ */ React3.createElement(
|
|
154
155
|
Image,
|
|
155
156
|
{
|
|
156
157
|
src: logoSrc,
|
|
@@ -964,7 +965,7 @@ var PortfolioHero = ({
|
|
|
964
965
|
Link8,
|
|
965
966
|
{
|
|
966
967
|
href: secondaryCtaHref,
|
|
967
|
-
className: "w-full sm:w-auto inline-flex items-center justify-center gap-3 text-[11px] tracking-[0.2em] uppercase rounded-full px-8 py-3.5 bg-neutral-
|
|
968
|
+
className: "w-full sm:w-auto inline-flex items-center justify-center gap-3 text-[11px] tracking-[0.2em] uppercase rounded-full px-8 py-3.5 bg-neutral-200 transition-colors text-black hover:bg-neutral-200 outline-none"
|
|
968
969
|
},
|
|
969
970
|
secondaryCtaText,
|
|
970
971
|
/* @__PURE__ */ React20.createElement(HugeiconsIcon10, { icon: ArrowRight01Icon2, size: 16 })
|