Add og image generator

This commit is contained in:
Thomas Camlong
2025-04-18 13:57:28 +02:00
parent f9563ad359
commit 51e1d1df7b
5 changed files with 1100 additions and 11 deletions

View File

@@ -67,15 +67,6 @@ export async function generateMetadata({ params, searchParams }: Props, parent:
description: `Download the ${formattedIconName} icon in SVG, PNG, and WEBP formats for FREE. Part of a collection of ${totalIcons} curated icons for services, applications and tools, designed specifically for dashboards and app directories.`,
type: "article",
url: pageUrl,
images: [
{
url: iconImageUrl,
width: 512,
height: 512,
alt: `${formattedIconName} Icon`,
type: "image/png",
},
],
authors: [authorName, "homarr"],
publishedTime: updateDate.toISOString(),
modifiedTime: updateDate.toISOString(),