diff --git a/projects/website/src/components/footer.tsx b/projects/website/src/components/footer.tsx index a7afb45..2a64c0f 100644 --- a/projects/website/src/components/footer.tsx +++ b/projects/website/src/components/footer.tsx @@ -54,7 +54,7 @@ export default function Footer() { return ( diff --git a/projects/website/src/components/leaderboard/leaderboard-info.tsx b/projects/website/src/components/leaderboard/leaderboard-info.tsx index 4fcb50a..a909de0 100644 --- a/projects/website/src/components/leaderboard/leaderboard-info.tsx +++ b/projects/website/src/components/leaderboard/leaderboard-info.tsx @@ -36,7 +36,7 @@ export function LeaderboardInfo({ leaderboard, beatSaverMap }: LeaderboardInfoPr
- By {leaderboard.songAuthorName} + By {leaderboard.songAuthorName}
@@ -45,7 +45,7 @@ export function LeaderboardInfo({ leaderboard, beatSaverMap }: LeaderboardInfoPr
Mapper:{" "}
{formatPp(playerRanking.pp)}pp
+{formatPp(playerRanking.pp)}pp
{playerRanking.id !== player.id && (0 ? "text-green-400" : "text-red-400"}`}> {ppDifference > 0 ? "+" : ""} diff --git a/projects/website/src/components/ranking/player-ranking.tsx b/projects/website/src/components/ranking/player-ranking.tsx index 426c9e2..7bda1ed 100644 --- a/projects/website/src/components/ranking/player-ranking.tsx +++ b/projects/website/src/components/ranking/player-ranking.tsx @@ -28,7 +28,7 @@ export function PlayerRanking({ player, isCountry }: PlayerRankingProps) {
Set by{" "} - {player.name} + {player.name}
+
#{formatNumberWithCommas(score.rank)}
diff --git a/projects/website/src/components/statistic/daily-change.tsx b/projects/website/src/components/statistic/daily-change.tsx index f4f736f..2392a43 100644 --- a/projects/website/src/components/statistic/daily-change.tsx +++ b/projects/website/src/components/statistic/daily-change.tsx @@ -36,7 +36,7 @@ export function DailyChange({ type, change, tooltip, format }: DailyChangeProps) const value = (0 ? "text-green-400" : "text-red-400"}`}> {change > 0 ? "+" : ""} - {formatValue(change)} + {`${formatValue(change)}${type.value == "pp" ? "pp" : ""}`}
); diff --git a/projects/website/tailwind.config.ts b/projects/website/tailwind.config.ts index 627c6cb..d905875 100644 --- a/projects/website/tailwind.config.ts +++ b/projects/website/tailwind.config.ts @@ -11,6 +11,9 @@ const config: Config = { extend: { colors: { pp: "#4858ff", + ssr: { + DEFAULT: "#6773ff", + }, background: "hsl(var(--background))", foreground: "hsl(var(--foreground))", card: {