feat: replace Image component with LogoSimple in Header and update Logo component to accept props

This commit is contained in:
arraysid
2025-05-27 04:11:18 +07:00
parent 0a4921f2ef
commit 035f7fa8cd
2 changed files with 6 additions and 10 deletions
@@ -1,9 +1,9 @@
'use client';
import { LogoSimple } from '@/app/_components/logo';
import navigations from '@/data/navigations.json';
import { Button } from '@components';
import { cn } from '@utils';
import Image from 'next/image';
import Link from 'next/link';
import { useRouter } from 'next/navigation';
import { useEffect, useState } from 'react';
@@ -36,13 +36,7 @@ export function Header() {
<div className="flex items-center gap-2">
<div className="relative overflow-hidden rounded">
<Link href="/">
<Image
src="/logo.webp"
alt="IMPHNEN"
width={64}
height={64}
className="object-cover"
/>
<LogoSimple className="w-[80px]" />
</Link>
</div>
</div>