it did not work.
All checks were successful
deploy / deploy (push) Successful in 53s

This commit is contained in:
Lee 2023-10-23 07:32:30 +01:00
parent b1cbd7a3fa
commit 153596fe75

@ -1,5 +1,6 @@
import PlayerPage from "@/components/player/PlayerPage";
import { ssrSettings } from "@/ssrSettings";
import { formatNumber } from "@/utils/number";
import { ScoreSaberAPI } from "@/utils/scoresaber/api";
import { Metadata } from "next";
@ -19,15 +20,17 @@ export async function generateMetadata({
const description =
`View ${player.name}'s scores, top plays, and more.
` +
`Rank: #${player.rank} (#${player.countryRank} - ${player.country})
` +
`Rank: #${player.rank} (#${formatNumber(
player.countryRank,
)} - ${formatNumber(player.country)})
` +
`PP: ${player.pp}
` +
`Play Count: ${player.scoreStats.totalPlayCount}`;
`Play Count: ${formatNumber(player.scoreStats.totalPlayCount)}`;
return {
title: `${player.name}`,
description: description,
description: `View ${player.name}'s scores, top plays, and more.`,
openGraph: {
type: "website",
type: "article",
title: `${ssrSettings.siteName} - ${player.name}`,
description: description,
images: [