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", default: "parsa aghayi",
}, },
description: "parsa aghayi's personal website", 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", title: "parsa aghayi's personal website",
description: description:
"Hi, I am parsa aghayi. Frontend & Backend Developer and here is my personal website to know me and contact me if you want! ;)", "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: { openGraph: {
title: "parsa aghayi personal website projects page title", title: "parsa aghayi personal website projects page title",
description: "parsa aghayi personal website projects description", 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", title: "All Categories List",
description: 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.", "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: { openGraph: {
title: "", title: "",
description: "", 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", default: "parsa aghayi's blog",
}, },
description: "parsa aghayi personal 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: []; latest_categories: [];
most_viewed_posts: []; most_viewed_posts: [];
random_posts: []; random_posts: [];
} = await fetch(`${process.env.NEXT_PUBLIC_BLOG_API_URL}/homepage`, { } = await fetch(`${process.env.NEXT_PUBLIC_BLOG_API_URL}/homepage`).then(
cache: "no-store", (res) => res.json(),
}).then((res) => res.json()); );
return ( return (
<div className="flex w-full max-w-[1280px] flex-col items-center gap-[50px] pt-5 md:gap-[100px]"> <div className="flex w-full max-w-[1280px] flex-col items-center gap-[50px] pt-5 md:gap-[100px]">