cleanup
All checks were successful
Deploy App / docker (ubuntu-latest) (push) Successful in 1m13s

This commit is contained in:
Lee 2024-04-17 04:07:39 +01:00
parent fe1b217a38
commit 14c6f79bea
4 changed files with 6 additions and 6 deletions

@ -3,7 +3,7 @@
"version": "0.1.0", "version": "0.1.0",
"private": true, "private": true,
"scripts": { "scripts": {
"dev": "next dev", "dev": "next dev --turbo",
"build": "next build", "build": "next build",
"start": "next start", "start": "next start",
"lint": "next lint" "lint": "next lint"

@ -96,8 +96,8 @@ export default async function Page({ params: { id } }: Params): Promise<JSX.Elem
<div className="flex flex-col gap-2 divide-y divide-neutral-200 dark:divide-neutral-700"> <div className="flex flex-col gap-2 divide-y divide-neutral-200 dark:divide-neutral-700">
<div> <div>
<h2 className="text-xl">{player.username}</h2> <h2 className="text-xl text-primary">{player.username}</h2>
<p className="text-primary">{player.uniqueId}</p> <p>{player.uniqueId}</p>
</div> </div>
<div className="flex flex-col gap-2"> <div className="flex flex-col gap-2">

@ -124,8 +124,8 @@ export default async function Page({ params: { platform, hostname } }: Params):
)} )}
<div className="flex flex-col"> <div className="flex flex-col">
<h2 className="text-xl">{server.hostname}</h2> <h2 className="text-xl text-primary">{server.hostname}</h2>
<div className="text-primary"> <div>
<p> <p>
Players online: {formatNumber(server.players.online)}/{formatNumber(server.players.max)} Players online: {formatNumber(server.players.online)}/{formatNumber(server.players.max)}
</p> </p>

@ -30,7 +30,7 @@ export function LookupPlayer(): JSX.Element {
return ( return (
<form className="flex gap-2 justify-center mt-2"> <form className="flex gap-2 justify-center mt-2">
<Input className="w-fit" placeholder="UUID / Username" value={player} onChange={setPlayerValue} maxLength={36} /> <Input className="w-fit" placeholder="Name / UUID" value={player} onChange={setPlayerValue} maxLength={36} />
<Button type="submit" onClick={() => lookupPlayer()}> <Button type="submit" onClick={() => lookupPlayer()}>
Lookup Lookup
</Button> </Button>