From 7dcb24dfca2f07519b79918fcda8acb307843b60 Mon Sep 17 00:00:00 2001 From: Liam Date: Sat, 28 Oct 2023 18:11:45 +0100 Subject: [PATCH] add song art to leaderboard embed --- src/app/leaderboard/[id]/[page]/page.tsx | 5 +++++ 1 file changed, 5 insertions(+) diff --git a/src/app/leaderboard/[id]/[page]/page.tsx b/src/app/leaderboard/[id]/[page]/page.tsx index 2530812..de4fcb8 100644 --- a/src/app/leaderboard/[id]/[page]/page.tsx +++ b/src/app/leaderboard/[id]/[page]/page.tsx @@ -34,6 +34,11 @@ export async function generateMetadata({ }, twitter: { card: "summary", + images: [ + { + url: leaderboard.coverImage, + }, + ], }, }; }