replaced <img> with <Image>

This commit is contained in:
2024-01-16 13:06:51 +01:00
parent 459b93c1fa
commit fa1791d914
3 changed files with 7 additions and 7 deletions

View File

@@ -1,6 +1,7 @@
import Image from "next/image";
import Link from "next/link";
export const PageHeader = () =>
<div className="navbar bg-base-100 mb-6">
<Link className="btn btn-ghost text-xl" href="/"><img src="/icon3.png"></img> Utility Bills Tracker</Link>
<Link className="btn btn-ghost text-xl" href="/"><Image src="/icon3.png" alt="logo" /> Utility Bills Tracker</Link>
</div>