Skip to content

Commit

Permalink
layouts: use traditional img tag instead of Image
Browse files Browse the repository at this point in the history
  • Loading branch information
fuyukihidekii committed Jun 21, 2024
1 parent 89efb1b commit 1d4f3c3
Showing 1 changed file with 2 additions and 3 deletions.
5 changes: 2 additions & 3 deletions src/components/layouts/header.tsx
Original file line number Diff line number Diff line change
@@ -1,6 +1,5 @@
import { useSession } from "next-auth/react";
import { useTheme } from "next-themes";
import Image from "next/image";
import { globalSiteTitle } from "~/utils/global";
import { useSidebarStore } from "~/utils/store";
import ZtnetLogo from "docs/images/logo/ztnet_200x178.png";
Expand Down Expand Up @@ -36,11 +35,11 @@ const Header = forwardRef<HTMLDivElement, React.HTMLProps<HTMLDivElement>>(
<div className="header-content flex flex-row items-center">
<div className="hidden md:inline-flex">
<Link href="/network" className="inline-flex flex-row items-center gap-2">
<Image
<img
style={{ width: 25, height: 25 }}
alt="ztnet logo"
title="ztnet logo"
src={ZtnetLogo}
src={ZtnetLogo.src}
/>
<span className="ml-1 text-2xl font-bold uppercase leading-10 text-accent">
{globalSiteTitle}
Expand Down

0 comments on commit 1d4f3c3

Please sign in to comment.