Compare commits
2 Commits
050d91dede
...
508d961174
Author | SHA1 | Date | |
---|---|---|---|
508d961174 | |||
0cb5ff5610 |
@ -18,18 +18,16 @@ 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",
|
||||||
},
|
},
|
||||||
],
|
],
|
||||||
},
|
},
|
||||||
|
Loading…
x
Reference in New Issue
Block a user