style updates
This commit is contained in:
@ -3,20 +3,20 @@ import {
|
||||
chuni_profile_rating,
|
||||
chuni_static_music,
|
||||
} from "@/prisma/schemas/artemis/generated/artemis";
|
||||
import { getDifficultyText } from "@/lib/helpers";
|
||||
|
||||
type userRatingBaseList = {
|
||||
title: string;
|
||||
artist: string;
|
||||
genre: string;
|
||||
chartId: string | number;
|
||||
chartId: number;
|
||||
level: string | number;
|
||||
jacketPath: string;
|
||||
rating: number;
|
||||
version: number;
|
||||
index: number;
|
||||
musicId: number | null;
|
||||
difficultId: number | null;
|
||||
romVersionCode: number | null;
|
||||
difficultId: string;
|
||||
score: number | null;
|
||||
};
|
||||
|
||||
@ -44,20 +44,27 @@ export const ChunithmRecentPlays: FC<ChunithmProfileRecentPlays> = ({
|
||||
<img
|
||||
src={`/JacketArt/${jacketPath}`}
|
||||
alt="Jacket"
|
||||
style={{ width: "80px", height: "80px" }}
|
||||
style={{ width: "120px", height: "120px" }}
|
||||
/>
|
||||
)}
|
||||
<div>
|
||||
<ul className="pl-2">
|
||||
<li>
|
||||
<strong>Title:</strong> {playersRecentRatingList.title}
|
||||
<strong>Title: </strong> {playersRecentRatingList.title}
|
||||
</li>
|
||||
<li>
|
||||
<strong>Score:</strong>{" "}
|
||||
<strong>Level: </strong> {playersRecentRatingList.level}
|
||||
</li>
|
||||
<li>
|
||||
<strong>Difficulty: </strong>
|
||||
{getDifficultyText(playersRecentRatingList.chartId)}
|
||||
</li>
|
||||
<li>
|
||||
<strong>Score: </strong>{" "}
|
||||
{playersRecentRatingList.score?.toLocaleString()}
|
||||
</li>
|
||||
<li>
|
||||
<strong>Rating:</strong>{" "}
|
||||
<strong>Rating: </strong>{" "}
|
||||
{(playersRecentRatingList.rating / 100).toFixed(2)}
|
||||
</li>
|
||||
</ul>
|
||||
|
Reference in New Issue
Block a user