Compare commits
No commits in common. "508d961174f3c617771975c6d2e46e693bd4956c" and "050d91dede920d267192c362bf7c5c624230cb6b" have entirely different histories.
508d961174
...
050d91dede
@ -18,16 +18,18 @@ export async function generateMetadata({
|
||||
|
||||
return {
|
||||
title: `${player.name}`,
|
||||
description:
|
||||
`View ${player.name}'s scores, top plays, and more.
` +
|
||||
`Rank: #${player.rank} (#${player.countryRank} - ${player.country})
` +
|
||||
`PP: ${player.pp}
` +
|
||||
`Play Count: ${player.scoreStats.totalPlayCount}`,
|
||||
description: `
|
||||
View ${player.name}'s scores, top plays, and more.

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

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

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

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