Compare commits
2 Commits
050d91dede
...
508d961174
Author | SHA1 | Date | |
---|---|---|---|
508d961174 | |||
0cb5ff5610 |
@ -18,18 +18,16 @@ 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}

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