Skip to content

Commit 34ac354

Browse files
committed
fix: use optimized logo image on login
1 parent 2ccf7cf commit 34ac354

1 file changed

Lines changed: 5 additions & 1 deletion

File tree

src/app/admin/login/page.tsx

Lines changed: 5 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -2,6 +2,7 @@
22

33
import { FormEvent, useState } from "react";
44
import { signIn } from "next-auth/react";
5+
import Image from "next/image";
56
import { useRouter } from "next/navigation";
67

78
export default function AdminLoginPage() {
@@ -37,10 +38,13 @@ export default function AdminLoginPage() {
3738
<main className="flex min-h-screen items-center justify-center bg-[#FFFFFF] px-6 font-sans text-[#2C3A52]">
3839
<section className="w-full max-w-md rounded-lg border border-[#C4CAD6] bg-[#F4F5F8] p-8">
3940
<div className="mb-8 flex justify-center">
40-
<img
41+
<Image
4142
src="/full-logo.png"
4243
alt="CODEDDEVS Technology LTD"
44+
width={180}
45+
height={48}
4346
className="h-12 w-auto"
47+
priority
4448
/>
4549
</div>
4650

0 commit comments

Comments
 (0)