This commit is contained in:
parent
7c26da73b2
commit
050d91dede
@ -20,11 +20,13 @@ export async function generateMetadata({
|
|||||||
title: `${player.name}`,
|
title: `${player.name}`,
|
||||||
description: `
|
description: `
|
||||||
View ${player.name}'s scores, top plays, and more.

|
View ${player.name}'s scores, top plays, and more.

|
||||||
Rank: #${player.rank} (${player.countryRank} - ${player.country})

|
Rank: #${player.rank} (#${player.countryRank} - ${player.country})

|
||||||
PP: ${player.pp}

|
PP: ${player.pp}

|
||||||
Play Count: ${player.scoreStats.totalPlayCount}

|
Play Count: ${player.scoreStats.totalPlayCount}

|
||||||
`,
|
`
|
||||||
openGraph: {
|
.replaceAll("\n", "")
|
||||||
|
.trim(),
|
||||||
|
twitter: {
|
||||||
images: [
|
images: [
|
||||||
{
|
{
|
||||||
url: player.profilePicture,
|
url: player.profilePicture,
|
||||||
|
Loading…
Reference in New Issue
Block a user