Compare commits
3 Commits
58149a8061
...
renovate/n
Author | SHA1 | Date | |
---|---|---|---|
e41cd084c4 | |||
47b8116fd7 | |||
394e65d0da |
@ -12,3 +12,5 @@ Example:
|
|||||||
- ID: Your scoresaber ID
|
- ID: Your scoresaber ID
|
||||||
- Rank: The rank you want to get to
|
- Rank: The rank you want to get to
|
||||||
- Started: The time you started the song in miliseconds. You can get this at <https://www.unixtimestamp.com>
|
- Started: The time you started the song in miliseconds. You can get this at <https://www.unixtimestamp.com>
|
||||||
|
|
||||||
|
You can remove the &started= part if you don't want the day counter.
|
||||||
|
@ -11,7 +11,7 @@
|
|||||||
"dependencies": {
|
"dependencies": {
|
||||||
"react": "^18",
|
"react": "^18",
|
||||||
"react-dom": "^18",
|
"react-dom": "^18",
|
||||||
"next": "14.0.3"
|
"next": "14.2.1"
|
||||||
},
|
},
|
||||||
"devDependencies": {
|
"devDependencies": {
|
||||||
"typescript": "^5",
|
"typescript": "^5",
|
||||||
@ -22,6 +22,6 @@
|
|||||||
"postcss": "^8",
|
"postcss": "^8",
|
||||||
"tailwindcss": "^3.3.0",
|
"tailwindcss": "^3.3.0",
|
||||||
"eslint": "^8",
|
"eslint": "^8",
|
||||||
"eslint-config-next": "14.0.3"
|
"eslint-config-next": "14.2.1"
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
3281
pnpm-lock.yaml
generated
3281
pnpm-lock.yaml
generated
File diff suppressed because it is too large
Load Diff
@ -53,25 +53,24 @@ export default function Home() {
|
|||||||
setInterval(updateRank, 1000 * 60 * 1); // update every minute
|
setInterval(updateRank, 1000 * 60 * 1); // update every minute
|
||||||
}, [mounted, updateRank]);
|
}, [mounted, updateRank]);
|
||||||
|
|
||||||
if (!playerId) {
|
if (!playerId || !rank) {
|
||||||
return (
|
return (
|
||||||
<main className="text-xl text-white">
|
<main className="text-xl p-2 text-black">
|
||||||
<p>Invalid or missing player ID</p>
|
<p>
|
||||||
</main>
|
Usage:{" "}
|
||||||
);
|
<span className="text-blue-500">
|
||||||
}
|
<a href="https://git.fascinated.cc/Fascinated/scoresaber-pp-to-rank-overlay#usage">
|
||||||
|
https://git.fascinated.cc/Fascinated/scoresaber-pp-to-rank-overlay#usage
|
||||||
if (!rank) {
|
</a>
|
||||||
return (
|
</span>
|
||||||
<main className="text-xl text-white">
|
</p>
|
||||||
<p>Invalid or missing rank</p>
|
|
||||||
</main>
|
</main>
|
||||||
);
|
);
|
||||||
}
|
}
|
||||||
|
|
||||||
if (!ppDiff) {
|
if (!ppDiff) {
|
||||||
return (
|
return (
|
||||||
<main className="text-xl text-white">
|
<main className="text-xl p-2 text-white">
|
||||||
<p>Calculating...</p>
|
<p>Calculating...</p>
|
||||||
</main>
|
</main>
|
||||||
);
|
);
|
||||||
|
Reference in New Issue
Block a user