Skip to content

Commit

Permalink
fix bug: errors and warnings
Browse files Browse the repository at this point in the history
  • Loading branch information
harmeetsingh11 authored Jun 26, 2023
1 parent a0582e2 commit ba6e77a
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 3 deletions.
1 change: 0 additions & 1 deletion src/app/layout.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -21,7 +21,6 @@ export const metadata: Metadata = {
],
icons: {
icon: "/favicon.ico",
shortcut: "/favicon-16x16.png",
apple: "/apple-touch-icon.png",
},
};
Expand Down
4 changes: 2 additions & 2 deletions src/components/main-nav.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -27,11 +27,11 @@ export function MainNav({ items }: MainNavProps) {
<div className="relative mr-6 flex h-[60px] w-[130px] shrink-0 flex-row items-center">
{/* logo hidden on dark mode */}
<Link href="/" className="w-100 block dark:hidden">
<Image src="/logo-v3-full.png" fill={true} alt="logo" />
<Image src="/logo-v3-full.png" sizes="(max-width: 768px) 100vw" fill={true} alt="logo" />
</Link>
{/* logo hidden on light mode */}
<Link href="/" className="w-100 hidden dark:block">
<Image src="/logo-v3-full-dark.png" fill={true} alt="logo" />
<Image src="/logo-v3-full-dark.png" sizes="(max-width: 768px) 100vw" fill={true} alt="logo" />
</Link>
</div>
{/* container with both nav links and Logos */}
Expand Down

0 comments on commit ba6e77a

Please sign in to comment.