diff --git a/src/app/components/player/lookup-player.tsx b/src/app/components/player/lookup-player.tsx index 65a7817..cb156da 100644 --- a/src/app/components/player/lookup-player.tsx +++ b/src/app/components/player/lookup-player.tsx @@ -24,7 +24,6 @@ export function LookupPlayer({ currentPlayer }: PlayerLookupProps): ReactElement /** * Lookup a server based on the platform * - * @param platform the server platform * @param query the query to lookup */ const lookupPlayer = async (query: string) => { diff --git a/src/app/components/server/server-view.tsx b/src/app/components/server/server-view.tsx index 82b7f26..af7bd20 100644 --- a/src/app/components/server/server-view.tsx +++ b/src/app/components/server/server-view.tsx @@ -3,9 +3,6 @@ import Image from "next/image"; import { ReactElement } from "react"; import { CodeDialog } from "../code-dialog"; import { Button } from "../ui/button"; -import config from "@root/config.json"; -import { cn } from "@/app/common/utils"; -import { minecraft } from "@/app/font/fonts"; import { CacheInformation } from "@/app/components/cache-information"; type ServerViewProps = { @@ -23,35 +20,14 @@ type ServerViewProps = { export function ServerView({ server, favicon }: ServerViewProps): ReactElement { return (
-
- {/* Favicon */} +
{`${server.hostname}'s - - {/* Name & MOTD */} -
-

{server.hostname}

- {server.motd.html.map((line: string, index: number): ReactElement => { - return

; - })} -
- - {/* Ping */} -
-

- {server.players.online}/{server.players.max} -

- Ping! -