change(ssr): removed mapped by text and just put mapper name
All checks were successful
deploy / deploy (push) Successful in 1m3s

This commit is contained in:
Lee 2023-11-09 19:01:29 +00:00
parent 0ffb3e341d
commit 5e4dcf1b37
4 changed files with 10 additions and 10 deletions

@ -109,8 +109,8 @@ export default function Leaderboard({ id, page }: LeaderboardProps) {
/> />
<div className="flex flex-col"> <div className="flex flex-col">
<p className="text-xl font-bold">{songName}</p> <p className="text-xl font-bold">{songName}</p>
<p className="text-lg">{songSubName}</p> {/* <p className="text-lg">{songSubName}</p> */}
<p>Mapped By: {levelAuthorName}</p> <p className="text-gray-400">{levelAuthorName}</p>
</div> </div>
</div> </div>
<div className="flex flex-col gap-1"> <div className="flex flex-col gap-1">

@ -10,7 +10,7 @@ import { useCallback, useEffect, useState } from "react";
import Card from "../Card"; import Card from "../Card";
import Error from "../Error"; import Error from "../Error";
import Pagination from "../Pagination"; import Pagination from "../Pagination";
import Score from "../score/Score"; import Score from "./score/Score";
type PageInfo = { type PageInfo = {
page: number; page: number;

@ -1,8 +1,8 @@
"use client"; "use client";
import { toast } from "react-toastify"; import { toast } from "react-toastify";
import { Tooltip, TooltipContent, TooltipTrigger } from "../ui/Tooltip"; import { Tooltip, TooltipContent, TooltipTrigger } from "../../ui/Tooltip";
import { Button } from "../ui/button"; import { Button } from "../../ui/button";
type CopyBsrButtonProps = { type CopyBsrButtonProps = {
mapId: string; mapId: string;

@ -17,11 +17,11 @@ import {
import clsx from "clsx"; import clsx from "clsx";
import Image from "next/image"; import Image from "next/image";
import Link from "next/link"; import Link from "next/link";
import BeatSaverLogo from "../icons/BeatSaverLogo"; import BeatSaverLogo from "../../icons/BeatSaverLogo";
import HeadsetIcon from "../icons/HeadsetIcon"; import HeadsetIcon from "../../icons/HeadsetIcon";
import ScoreStatLabel from "../player/ScoreStatLabel"; import { Tooltip, TooltipContent, TooltipTrigger } from "../../ui/Tooltip";
import { Tooltip, TooltipContent, TooltipTrigger } from "../ui/Tooltip"; import { Button } from "../../ui/button";
import { Button } from "../ui/button"; import ScoreStatLabel from "../ScoreStatLabel";
import CopyBsrButton from "./CopyBsrButton"; import CopyBsrButton from "./CopyBsrButton";
type ScoreProps = { type ScoreProps = {