fix: fixed og image generator

This commit is contained in:
Raj 2024-03-13 07:51:20 +05:30
parent 6097508c5f
commit 302e8e40b7
2 changed files with 1 additions and 3 deletions

View File

@ -37,8 +37,6 @@ export async function generateMetadata(
const github_username = getPageProperty("github", page_block, recordMap); const github_username = getPageProperty("github", page_block, recordMap);
const images = getPageImageUrls(recordMap, { mapImageUrl: (url) => url }); const images = getPageImageUrls(recordMap, { mapImageUrl: (url) => url });
console.log("desc", description);
const params = new URLSearchParams({ const params = new URLSearchParams({
title: title.toString(), title: title.toString(),
description: description.toString(), description: description.toString(),

View File

@ -32,7 +32,7 @@ export async function GET(props: NextRequest) {
{title?.toString()} {title?.toString()}
</span> </span>
<span tw="text-black/80 text-xl">{description?.toString()}</span> <span tw="text-black/80 text-xl">{description?.toString()}</span>
<div tw="flex mt-1 items-center rounded-full w-fit mr-auto bg-background/30"> <div tw="flex mt-1 items-center rounded-full mr-auto">
<img <img
width="24" width="24"
height="24" height="24"