Skip to content

Commit

Permalink
feat: fixed seo images and banenrs
Browse files Browse the repository at this point in the history
  • Loading branch information
akshatmittal61 committed Aug 22, 2023
1 parent 4e61705 commit d9f6873
Show file tree
Hide file tree
Showing 9 changed files with 29 additions and 10 deletions.
39 changes: 29 additions & 10 deletions layouts/index.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -14,7 +14,7 @@ const Layout: React.FC<any> = ({ children }) => {
(item) => {
return {
rel: item,
href: "/favicon.ico",
href: `${frontendBaseUrl}/favicon.ico`,
type: "icon/ico",
};
}
Expand All @@ -26,28 +26,47 @@ const Layout: React.FC<any> = ({ children }) => {
title: "Meraki - Technical Fest of IIIT Una",
description:
"Meraki is the annual technical fest of IIIT Una. It is a 3-day event held in September. It is a platform for students to showcase their technical skills and knowledge.",
image: "/images/og-image.png",
image: `${frontendBaseUrl}/og-image.png`,
url: frontendBaseUrl,
}}
og={{
title: "Meraki - Technical Fest of IIIT Una",
description:
"Meraki is the annual technical fest of IIIT Una. It is a 3-day event held in September. It is a platform for students to showcase their technical skills and knowledge.",
images: [
{
url: "/images/og-image.png",
secureUrl: "/images/og-image.png",
images: [16, 32, 70, 128, 144, 192, 512]
.map((size) => ({
url: `${frontendBaseUrl}/favicon-${size}.png`,
secureUrl: `${frontendBaseUrl}/favicon-${size}.png`,
type: "image/png",
width: 1200,
height: 630,
width: size,
height: size,
alt: "Meraki - Technical Fest of IIIT Una",
},
],
}))
.concat([
{
url: `${frontendBaseUrl}/card.png`,
secureUrl: `${frontendBaseUrl}/card.png`,
type: "image/png",
width: 800,
height: 600,
alt: "Meraki - Technical Fest of IIIT Una",
},
{
url: `${frontendBaseUrl}/og-image.png`,
secureUrl: `${frontendBaseUrl}/og-image.png`,
type: "image/png",
width: 1200,
height: 630,
alt: "Meraki - Technical Fest of IIIT Una",
},
]),
url: frontendBaseUrl,
type: "website",
siteName: "Meraki - Technical Fest of IIIT Una",
}}
themeColor="#121f3d"
canonical={frontendBaseUrl}
siteName="Meraki - Technical Fest of IIIT Una"
/>
{children}
<Toaster position="top-center" />
Expand Down
Binary file added public/favicon-128.png
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Binary file added public/favicon-144.png
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Binary file added public/favicon-16.png
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Binary file added public/favicon-192.png
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Binary file added public/favicon-32.png
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Binary file added public/favicon-512.png
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Binary file added public/favicon-70.png
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Binary file modified public/favicon.png
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.

0 comments on commit d9f6873

Please sign in to comment.