feat: enclose og image in array

This commit is contained in:
Alvalen 2023-09-29 13:30:28 +07:00
parent ae033fb01a
commit a23cd83423

View file

@ -10,7 +10,7 @@ export const metadata = {
title: "Alvalens | Portofolio", title: "Alvalens | Portofolio",
description: description:
"My name is Alvalens, I'm a web developer and I'm passionate about it. I'm currently studying at Universitas Negeri Malang.", "My name is Alvalens, I'm a web developer and I'm passionate about it. I'm currently studying at Universitas Negeri Malang.",
author: "Alvalens", author: "Alvalen Shafelbilyunazra",
siteUrl: "https://www.alvalens.my.id", siteUrl: "https://www.alvalens.my.id",
applicationName: "Alvalens", applicationName: "Alvalens",
keywords: [ keywords: [
@ -24,27 +24,36 @@ export const metadata = {
"alvalen porto", "alvalen porto",
"alvalen um", "alvalen um",
], ],
author: "Alvalen Shafelbilyunazra",
authorDescription: "I'm a web developer and I'm passionate about it.",
openGraph: { openGraph: {
type: "website", type: "website",
url: "https://www.alvalens.my.id", url: "https://www.alvalens.my.id",
title: "Alvalens | Portofolio", title: "Alvalens | Portofolio",
description: "My name is Alvalens, This is my portofolio website.", description: "My name is Alvalens, This is my portofolio website.",
images: "/og-image.png", images: [
siteName: "Alvalens | Portofolio", {
url: "/og-image.png",
alt: "Alvalens Portofolio",
},
],
site_name: "Alvalens | Portofolio",
}, },
// for whataspp // For WhatsApp
whatsapp: { whatsapp: {
title: "Alvalens | Portofolio", title: "Alvalens | Portofolio",
description: "My name is Alvalens, This is my portofolio website.", description: "My name is Alvalens, This is my portofolio website.",
images: "/og-image.png", images: [
{
url: "/og-image-square.png",
alt: "Alvalens Portofolio",
},
],
}, },
alternates: { alternates: {
canoncial: "https://www.alvalens.my.id", canonical: "https://www.alvalens.my.id",
}, },
}; };
import Chat from "@/components/Chat"; import Chat from "@/components/Chat";
const TopProgressBar = dynamic(() => import("@/components/TopProgressbar"), { const TopProgressBar = dynamic(() => import("@/components/TopProgressbar"), {