update mojang status page
All checks were successful
Deploy App / docker (ubuntu-latest) (push) Successful in 1m9s
All checks were successful
Deploy App / docker (ubuntu-latest) (push) Successful in 1m9s
This commit is contained in:
parent
0f304b22b1
commit
f1447ebb9d
@ -64,18 +64,20 @@ export default async function Page(): Promise<ReactElement> {
|
|||||||
const endpointsSize = Object.entries(endpoints).length;
|
const endpointsSize = Object.entries(endpoints).length;
|
||||||
|
|
||||||
return (
|
return (
|
||||||
<Card className="w-full xs:w-fit text-center">
|
<div>
|
||||||
|
<div className="text-center mb-4">
|
||||||
<h1 className="text-xl">Mojang Status</h1>
|
<h1 className="text-xl">Mojang Status</h1>
|
||||||
<p>The current status of Mojang Services</p>
|
<p>The current status of Mojang Services</p>
|
||||||
|
</div>
|
||||||
|
<Card className="w-full xs:w-fit text-center">
|
||||||
<div>
|
<div>
|
||||||
{endpointsSize === 0 && <p>Unable to fetch endpoint statuses</p>}
|
{endpointsSize === 0 && <p>Unable to fetch endpoint statuses</p>}
|
||||||
{endpointsSize > 0 && (
|
{endpointsSize > 0 && (
|
||||||
<Table className="mt-4 md:w-[500px] text-start">
|
<Table className="md:w-[500px] text-start">
|
||||||
<TableHeader>
|
<TableHeader>
|
||||||
<TableRow>
|
<TableRow>
|
||||||
<TableHead className="pl-1">Service</TableHead>
|
<TableHead className="pl-1 h-8">Service</TableHead>
|
||||||
<TableHead className="pl-1 text-center">Status</TableHead>
|
<TableHead className="pl-1 h-8 text-center">Status</TableHead>
|
||||||
</TableRow>
|
</TableRow>
|
||||||
</TableHeader>
|
</TableHeader>
|
||||||
<TableBody>
|
<TableBody>
|
||||||
@ -98,5 +100,6 @@ export default async function Page(): Promise<ReactElement> {
|
|||||||
)}
|
)}
|
||||||
</div>
|
</div>
|
||||||
</Card>
|
</Card>
|
||||||
|
</div>
|
||||||
);
|
);
|
||||||
}
|
}
|
||||||
|
Loading…
Reference in New Issue
Block a user