diff --git a/Frontend/src/app/(pages)/server/[[...slug]]/page.tsx b/Frontend/src/app/(pages)/server/[[...slug]]/page.tsx index 392ea38..5770ec4 100644 --- a/Frontend/src/app/(pages)/server/[[...slug]]/page.tsx +++ b/Frontend/src/app/(pages)/server/[[...slug]]/page.tsx @@ -70,7 +70,7 @@ const ServerPage = async ({ params }: PageProps): Promise => { {/* Server Result */} {result && ( -
+
)} diff --git a/Frontend/src/app/components/server/server-result.tsx b/Frontend/src/app/components/server/server-result.tsx index 33eed76..2cd7450 100644 --- a/Frontend/src/app/components/server/server-result.tsx +++ b/Frontend/src/app/components/server/server-result.tsx @@ -30,45 +30,55 @@ const ServerResult = ({ server }: ServerResultProps): ReactElement => { return (
{/* Favicon */} {`${server.hostname}'s - {/* Name & MOTD */} -
-

{server.hostname}

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

- ); - } - )} -
+ {/* Content */} +
+ {/* Name & Ping */} +
+

{server.hostname}

- {/* Ping */} -
-

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

- Ping! + {/* Players & Ping */} +
+

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

+ Ping! +
+
+ + {/* MOTD */} +
+ {server.motd.html.map( + (line: string, index: number): ReactElement => { + return ( +

+ ); + } + )} +
);