Skip to content

Commit b02c22e

Browse files
committed
Fix: replace Next.js Image with img tag for static export compatibility
1 parent 2e9af3b commit b02c22e

File tree

2 files changed

+3
-5
lines changed

2 files changed

+3
-5
lines changed

docs/documentation/app/home-content.tsx

Lines changed: 2 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -21,7 +21,6 @@
2121
*/
2222

2323
import Link from "next/link";
24-
import Image from "next/image";
2524
import {
2625
Zap,
2726
Bot,
@@ -52,7 +51,7 @@ export function HomeContent() {
5251
<div className="flex h-24 items-center justify-between">
5352
<div className="flex items-center gap-3">
5453
<div className="w-20 h-20 bg-white border-2 border-black shadow-[4px_4px_0px_0px_rgba(0,0,0,1)] flex items-center justify-center p-1.5">
55-
<Image
54+
<img
5655
src="/img/logo.png"
5756
alt="UrbanReflex Logo"
5857
width={200}
@@ -459,7 +458,7 @@ export function HomeContent() {
459458
<div>
460459
<div className="flex items-center justify-center md:justify-start gap-3 mb-4">
461460
<div className="w-20 h-20 bg-white border-2 border-black shadow-[4px_4px_0px_0px_rgba(0,0,0,1)] flex items-center justify-center p-1.5">
462-
<Image
461+
<img
463462
src="/img/logo.png"
464463
alt="UrbanReflex Logo"
465464
width={200}

docs/documentation/app/layout.config.tsx

Lines changed: 1 addition & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -21,14 +21,13 @@
2121
*/
2222

2323
import type { BaseLayoutProps } from "fumadocs-ui/layouts/shared";
24-
import Image from "next/image";
2524

2625
export const baseOptions: BaseLayoutProps = {
2726
nav: {
2827
title: (
2928
<div className="flex items-center gap-3">
3029
<div className="w-20 h-20 bg-white border-2 border-black shadow-[4px_4px_0px_0px_rgba(0,0,0,1)] flex items-center justify-center p-1.5">
31-
<Image
30+
<img
3231
src="/img/logo.png"
3332
alt="UrbanReflex Logo"
3433
width={200}

0 commit comments

Comments
 (0)