diff --git a/layouts/index.tsx b/layouts/index.tsx index c3f397f..9ba1c01 100644 --- a/layouts/index.tsx +++ b/layouts/index.tsx @@ -14,7 +14,7 @@ const Layout: React.FC = ({ children }) => { (item) => { return { rel: item, - href: "/favicon.ico", + href: `${frontendBaseUrl}/favicon.ico`, type: "icon/ico", }; } @@ -26,28 +26,47 @@ const Layout: React.FC = ({ 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} diff --git a/public/favicon-128.png b/public/favicon-128.png new file mode 100644 index 0000000..bb4697b Binary files /dev/null and b/public/favicon-128.png differ diff --git a/public/favicon-144.png b/public/favicon-144.png new file mode 100644 index 0000000..48e2535 Binary files /dev/null and b/public/favicon-144.png differ diff --git a/public/favicon-16.png b/public/favicon-16.png new file mode 100644 index 0000000..f2f7e8f Binary files /dev/null and b/public/favicon-16.png differ diff --git a/public/favicon-192.png b/public/favicon-192.png new file mode 100644 index 0000000..2f594dc Binary files /dev/null and b/public/favicon-192.png differ diff --git a/public/favicon-32.png b/public/favicon-32.png new file mode 100644 index 0000000..28a3c42 Binary files /dev/null and b/public/favicon-32.png differ diff --git a/public/favicon-512.png b/public/favicon-512.png new file mode 100644 index 0000000..0c5b4c5 Binary files /dev/null and b/public/favicon-512.png differ diff --git a/public/favicon-70.png b/public/favicon-70.png new file mode 100644 index 0000000..a755140 Binary files /dev/null and b/public/favicon-70.png differ diff --git a/public/favicon.png b/public/favicon.png index 30df9cc..43c7b61 100644 Binary files a/public/favicon.png and b/public/favicon.png differ