Compare commits

..

No commits in common. "508d961174f3c617771975c6d2e46e693bd4956c" and "050d91dede920d267192c362bf7c5c624230cb6b" have entirely different histories.

View File

@ -18,16 +18,18 @@ export async function generateMetadata({
return { return {
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}

`
.replaceAll("\n", "")
.trim(),
twitter: { twitter: {
images: [ images: [
{ {
url: player.profilePicture, url: player.profilePicture,
type: "article",
}, },
], ],
}, },