From f1447ebb9d5b371ee7aa8c3988f28f56b6e8d2a9 Mon Sep 17 00:00:00 2001 From: Liam Date: Thu, 18 Apr 2024 05:24:21 +0100 Subject: [PATCH] update mojang status page --- src/app/(pages)/mojang/status/page.tsx | 69 ++++++++++++++------------ 1 file changed, 36 insertions(+), 33 deletions(-) diff --git a/src/app/(pages)/mojang/status/page.tsx b/src/app/(pages)/mojang/status/page.tsx index 08ac819..40988b0 100644 --- a/src/app/(pages)/mojang/status/page.tsx +++ b/src/app/(pages)/mojang/status/page.tsx @@ -64,39 +64,42 @@ export default async function Page(): Promise { const endpointsSize = Object.entries(endpoints).length; return ( - -

Mojang Status

-

The current status of Mojang Services

- -
- {endpointsSize === 0 &&

Unable to fetch endpoint statuses

} - {endpointsSize > 0 && ( - - - - Service - Status - - - - {Object.entries(endpoints).map(([url, status]) => { - return ( - - - - {url} - - - - {formatStatus(status)} - - - ); - })} - -
- )} +
+
+

Mojang Status

+

The current status of Mojang Services

- + +
+ {endpointsSize === 0 &&

Unable to fetch endpoint statuses

} + {endpointsSize > 0 && ( + + + + Service + Status + + + + {Object.entries(endpoints).map(([url, status]) => { + return ( + + + + {url} + + + + {formatStatus(status)} + + + ); + })} + +
+ )} +
+
+
); }