keystone-design-bootstrap 1.0.46 → 1.0.48
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/package.json
CHANGED
|
@@ -134,7 +134,7 @@ export function HeaderNavigation({
|
|
|
134
134
|
isScrolled ? "py-2" : "py-8"
|
|
135
135
|
)}>
|
|
136
136
|
{/* Left: Logo Image */}
|
|
137
|
-
<Link href=
|
|
137
|
+
<Link href={props?.logo?.href || '/'} className="flex items-center">
|
|
138
138
|
{logoUrl && (
|
|
139
139
|
<Image
|
|
140
140
|
src={logoUrl}
|
|
@@ -147,7 +147,7 @@ export function HeaderNavigation({
|
|
|
147
147
|
</Link>
|
|
148
148
|
|
|
149
149
|
{/* Center: Company Name Text */}
|
|
150
|
-
<Link href=
|
|
150
|
+
<Link href={props?.logo?.href || '/'} className="absolute left-1/2 transform -translate-x-1/2 font-display text-2xl md:text-3xl font-normal uppercase tracking-widest text-fg-primary" suppressHydrationWarning>
|
|
151
151
|
{companyName}
|
|
152
152
|
</Link>
|
|
153
153
|
|
|
@@ -256,7 +256,7 @@ export function HeaderNavigation({
|
|
|
256
256
|
</svg>
|
|
257
257
|
</button>
|
|
258
258
|
|
|
259
|
-
<Link href=
|
|
259
|
+
<Link href={props?.logo?.href || '/'} className="flex items-center">
|
|
260
260
|
{logoUrl ? (
|
|
261
261
|
<Image
|
|
262
262
|
src={logoUrl}
|
|
@@ -76,7 +76,7 @@ export function HeaderNavigation({
|
|
|
76
76
|
<div className="mx-auto max-w-container px-4 md:px-8">
|
|
77
77
|
<div className="relative flex items-center justify-between py-5">
|
|
78
78
|
{/* Left: Logo only */}
|
|
79
|
-
<Link href=
|
|
79
|
+
<Link href={props?.logo?.href || '/'} className="flex items-center z-10">
|
|
80
80
|
{logoUrl ? (
|
|
81
81
|
<Image
|
|
82
82
|
src={logoUrl}
|
|
@@ -185,7 +185,7 @@ export function HeaderNavigation({
|
|
|
185
185
|
</svg>
|
|
186
186
|
</button>
|
|
187
187
|
|
|
188
|
-
<Link href=
|
|
188
|
+
<Link href={props?.logo?.href || '/'} className="flex items-center">
|
|
189
189
|
{logoUrl ? (
|
|
190
190
|
<Image
|
|
191
191
|
src={logoUrl}
|
|
@@ -110,7 +110,7 @@ export function HeaderNavigation({
|
|
|
110
110
|
<div className="mx-auto max-w-7xl px-4 md:px-8">
|
|
111
111
|
<div className="flex items-center justify-between py-4">
|
|
112
112
|
{/* Left: Logo */}
|
|
113
|
-
<Link href=
|
|
113
|
+
<Link href={props?.logo?.href || '/'} className="flex items-center flex-shrink-0">
|
|
114
114
|
{logoUrl ? (
|
|
115
115
|
<Image
|
|
116
116
|
src={logoUrl}
|
|
@@ -224,7 +224,7 @@ export function HeaderNavigation({
|
|
|
224
224
|
</svg>
|
|
225
225
|
</button>
|
|
226
226
|
|
|
227
|
-
<Link href=
|
|
227
|
+
<Link href={props?.logo?.href || '/'} className="flex items-center">
|
|
228
228
|
{logoUrl ? (
|
|
229
229
|
<Image
|
|
230
230
|
src={logoUrl}
|