Skip to content
Open
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
9 changes: 4 additions & 5 deletions components/utils/logo.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -7,17 +7,16 @@ export default function Logo() {
<Link
href={logoConfig.logohref}
target="_blank"
className="flex items-center justify-center gap-3"
className="flex items-center justify-center w-40 h-12 overflow-hidden relative"
>
<Image
src={logoConfig.logoImage}
alt={logoConfig.logoAlt}
width={60}
height={60}
width={360}
height={40}
priority
className="size-10 rounded-full border border-border object-cover"
className="object-contain h-20 w-auto min-w-[110px]"
/>
<h2 className="text-lg md:text-xl font-semibold">{logoConfig.name}</h2>
</Link>
);
}
4 changes: 2 additions & 2 deletions config/logo.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -6,8 +6,8 @@ interface Logo {
}

export const logoConfig: Logo = {
logoImage: "/logo/logo.png",
logoAlt: "React 100",
logoImage: "/logo/logo.svg",
logoAlt: "100+ ReactJS Projects Logo",
logohref: "https://vaibhavkesarwani.vercel.app/",
name: "React JS",
};
6 changes: 3 additions & 3 deletions config/meta.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -134,9 +134,9 @@ export function generateMetadata(pathname: string) {
title: pageMeta.title,
description: pageMeta.description,
icons: {
icon: "/logo/logo.png",
shortcut: "/logo/logo.png",
apple: "/logo/logo.png",
icon: "/logo/favicon.",
shortcut: "/logo/favicon.ico",
apple: "/logo/favicon.ico",
},
keywords: pageMeta.keywords?.join(", "),
authors: [{ name: siteConfig.author.name }],
Expand Down
Binary file added public/logo/favicon.ico
Binary file not shown.
33 changes: 33 additions & 0 deletions public/logo/favicon.svg
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
36 changes: 36 additions & 0 deletions public/logo/logo.svg
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.