This commit is contained in:
parent
206f19926d
commit
ae96719976
@ -1,4 +1,4 @@
|
|||||||
import type { Metadata } from "next";
|
import { Metadata } from "next";
|
||||||
import { Inter } from "next/font/google";
|
import { Inter } from "next/font/google";
|
||||||
import Image from "next/image";
|
import Image from "next/image";
|
||||||
import "./globals.css";
|
import "./globals.css";
|
||||||
@ -11,9 +11,10 @@ export const metadata: Metadata = {
|
|||||||
default: "Scoresaber Reloaded",
|
default: "Scoresaber Reloaded",
|
||||||
},
|
},
|
||||||
openGraph: {
|
openGraph: {
|
||||||
title: "Scoresaber Reloaded",
|
title: "Next.js",
|
||||||
description: "SSR is a new way to view your scoresaber profile. (in dev)",
|
description: "The React Framework for the Web",
|
||||||
url: "https://ssrdev.fascinated.cc",
|
url: "https://nextjs.org",
|
||||||
|
siteName: "Next.js",
|
||||||
locale: "en_US",
|
locale: "en_US",
|
||||||
type: "website",
|
type: "website",
|
||||||
},
|
},
|
||||||
|
@ -248,7 +248,12 @@ export default function Player({ params }: { params: { id: string } }) {
|
|||||||
/>
|
/>
|
||||||
)}
|
)}
|
||||||
<ScoreStatLabel
|
<ScoreStatLabel
|
||||||
value={score.modifiedScore.toFixed(0)}
|
value={
|
||||||
|
(
|
||||||
|
(score.baseScore / leaderboard.maxScore) *
|
||||||
|
100
|
||||||
|
).toFixed(2) + "%"
|
||||||
|
}
|
||||||
/>
|
/>
|
||||||
</div>
|
</div>
|
||||||
</div>
|
</div>
|
||||||
|
Loading…
Reference in New Issue
Block a user