Skip to content

Commit 904f878

Browse files
committed
Add opengraph image
1 parent 3bc2e47 commit 904f878

File tree

3 files changed

+14
-0
lines changed

3 files changed

+14
-0
lines changed
1.7 MB
Loading
134 KB
Loading

apps/dashboard/src/pages/project-showcase/index.tsx

Lines changed: 14 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -20,6 +20,8 @@ import {
2020
} from "@/components/ui/pagination";
2121
import { useThirdwebClient } from "@/constants/thirdweb.client";
2222
import { resolveSchemeWithErrorHandler } from "@/lib/resolveSchemeWithErrorHandler";
23+
import { getAbsoluteUrl } from "lib/vercel-utils";
24+
import { NextSeo } from "next-seo";
2325
import Image from "next/image";
2426
import Link from "next/link";
2527
import { useState } from "react";
@@ -206,6 +208,18 @@ export function ProjectShowcaseUI() {
206208
export default function ProjectShowcasePage() {
207209
return (
208210
<ThirdwebProvider>
211+
<NextSeo
212+
openGraph={{
213+
images: [
214+
{
215+
url: `${getAbsoluteUrl()}/assets/showcase/og_image.png`,
216+
width: 450,
217+
height: 236,
218+
},
219+
],
220+
}}
221+
/>
222+
209223
<ProjectShowcaseUI />
210224
<AppFooter />
211225
</ThirdwebProvider>

0 commit comments

Comments
 (0)