Skip to content

Commit 0791714

Browse files
committed
fix: 10years metadata, feat: add custom og image
1 parent 8d70a0e commit 0791714

File tree

3 files changed

+2
-1
lines changed

3 files changed

+2
-1
lines changed

app/[locale]/10years/page.tsx

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -364,7 +364,7 @@ export async function generateMetadata({
364364

365365
return await getMetadata({
366366
locale,
367-
slug: ["10-year-anniversary"],
367+
slug: ["10years"],
368368
title: t("page-10-year-anniversary-meta-title"),
369369
description: t("page-10-year-anniversary-meta-description"),
370370
})
1.29 MB
Loading

src/lib/utils/metadata.ts

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -16,6 +16,7 @@ const imageForSlug = [
1616
{ section: "guides", image: "/images/heroes/guides-hub-hero.jpg" },
1717
{ section: "community", image: "/images/heroes/community-hero.png" },
1818
{ section: "staking", image: "/images/upgrades/upgrade_rhino.png" },
19+
{ section: "10years", image: "/images/10-year-anniversary/10-year-og.png" },
1920
] as const
2021

2122
/**

0 commit comments

Comments
 (0)