opengraph image address updated

This commit is contained in:
parsa aghaei 2024-10-19 15:32:40 +03:30
parent f9d19b0d66
commit b0b3deb359
7 changed files with 9 additions and 9 deletions

View File

@ -14,7 +14,7 @@ export const metadata: Metadata = {
default: "parsa aghayi",
},
description: "parsa aghayi's personal website",
images: ["/og-image?text=parsa aghayi's personal website"],
images: [`${process.env.NEXT_PUBLIC_FRONT_URL}/og-image?text=parsa aghayi's personal website`],
},
};

View File

@ -16,7 +16,7 @@ export const metadata: Metadata = {
title: "parsa aghayi's personal website",
description:
"Hi, I am parsa aghayi. Frontend & Backend Developer and here is my personal website to know me and contact me if you want! ;)",
images: ["/images/profile.png"],
images: [`${process.env.NEXT_PUBLIC_FRONT_URL}/images/profile.png`],
},
};

View File

@ -6,7 +6,7 @@ export const metadata: Metadata = {
openGraph: {
title: "parsa aghayi personal website projects page title",
description: "parsa aghayi personal website projects description",
images: ["/og-image?text=parsa aghayi's projects"],
images: [`${process.env.NEXT_PUBLIC_FRONT_URL}/og-image?text=parsa aghayi's projects`],
},
};

View File

@ -17,7 +17,7 @@ export const metadata: Metadata = {
title: "All Categories List",
description:
"Browse through our collection of categories to find posts on your favorite topics. Whether you`re looking for insightful articles, how-tos, or the latest trends, our categories make it easy to discover content tailored to your interests.",
images: ["/og-image?text=All Categories List"],
images: [`${process.env.NEXT_PUBLIC_FRONT_URL}/og-image?text=All Categories List`],
},
};

View File

@ -15,7 +15,7 @@ export const metadata: Metadata = {
openGraph: {
title: "",
description: "",
images: ["/og-image?text=filtered posts"],
images: [`${process.env.NEXT_PUBLIC_FRONT_URL}/og-image?text=filtered posts`],
},
};

View File

@ -14,7 +14,7 @@ export const metadata: Metadata = {
default: "parsa aghayi's blog",
},
description: "parsa aghayi personal blog",
images: ["/og-image?text=parsa aghayi's personal blog"],
images: [`${process.env.NEXT_PUBLIC_FRONT_URL}/og-image?text=parsa aghayi's personal blog`],
},
};

View File

@ -9,9 +9,9 @@ export default async function Blog() {
latest_categories: [];
most_viewed_posts: [];
random_posts: [];
} = await fetch(`${process.env.NEXT_PUBLIC_BLOG_API_URL}/homepage`, {
cache: "no-store",
}).then((res) => res.json());
} = await fetch(`${process.env.NEXT_PUBLIC_BLOG_API_URL}/homepage`).then(
(res) => res.json(),
);
return (
<div className="flex w-full max-w-[1280px] flex-col items-center gap-[50px] pt-5 md:gap-[100px]">