From 0f18e38ecdebf0bb2330e6f64de056a3e0eeff14 Mon Sep 17 00:00:00 2001 From: Lwin Moe Paing Date: Thu, 19 Oct 2023 21:13:42 +0630 Subject: [PATCH] :fire: build(profile): add lwinmoepaing profile --- src/app/profile/[slug]/page.tsx | 3 +-- 1 file changed, 1 insertion(+), 2 deletions(-) diff --git a/src/app/profile/[slug]/page.tsx b/src/app/profile/[slug]/page.tsx index ca2a9ac..f08a105 100644 --- a/src/app/profile/[slug]/page.tsx +++ b/src/app/profile/[slug]/page.tsx @@ -27,11 +27,10 @@ export async function generateMetadata({ openGraph: { title: `Profile | ${profile.name}`, description: `Profile | ${profile.description}`, - image: profile.image + image: !!profile.image ? profile.image : "https://mmswe.com/images/landing/galaxy.jpg", siteName: `https://mmswe.com/profile/${slug}`, - type: "content" }, }; }