diff --git a/src/app/(pages)/mojang/status/page.tsx b/src/app/(pages)/mojang/status/page.tsx index bfd4755..d45fbdb 100644 --- a/src/app/(pages)/mojang/status/page.tsx +++ b/src/app/(pages)/mojang/status/page.tsx @@ -83,33 +83,34 @@ export default async function Page(): Promise {

Mojang Status

The current status of Mojang Services

- -
- {endpoints.length == 0 &&

Unable to fetch endpoint statuses

} - {endpoints.length > 0 && - endpoints.map((endpoint: CachedEndpointStatus) => { - const { name, hostname, status } = endpoint; + + {endpoints.length == 0 &&

Unable to fetch endpoint statuses

} + {endpoints.length > 0 && + endpoints.map((endpoint: CachedEndpointStatus) => { + const { name, hostname, status } = endpoint; - const url = `https://${hostname}`; - return ( -
-
-

{name}

- -

{url}

- -
-
-

{formatStatus(status)}

-
+ const url = `https://${hostname}`; + return ( +
+
+

{name}

+ +

{url}

+
- ); - })} -
+
+

{formatStatus(status)}

+
+
+ ); + })}
); diff --git a/src/app/components/navbar.tsx b/src/app/components/navbar.tsx index 9bc8744..f7f0ca3 100644 --- a/src/app/components/navbar.tsx +++ b/src/app/components/navbar.tsx @@ -7,6 +7,7 @@ import { HrefButton } from "./href-button"; import Logo from "./logo"; import { ToggleThemeButton } from "./theme-toggle-button"; import { GithubStar } from "@/app/components/github-star"; +import { Card } from "@/app/components/card"; type Page = { /** @@ -37,7 +38,10 @@ export default function NavBar(): ReactElement { const path = usePathname(); return ( -
+ {/* Left */}
@@ -70,6 +74,6 @@ export default function NavBar(): ReactElement {
-
+
); } diff --git a/src/app/components/player/player-view.tsx b/src/app/components/player/player-view.tsx index b467541..27dcaba 100644 --- a/src/app/components/player/player-view.tsx +++ b/src/app/components/player/player-view.tsx @@ -18,7 +18,7 @@ type PlayerViewProps = { export function PlayerView({ player }: PlayerViewProps): ReactElement { return (
- +
diff --git a/src/app/components/server/server-view.tsx b/src/app/components/server/server-view.tsx index 6235c7a..c6f09e5 100644 --- a/src/app/components/server/server-view.tsx +++ b/src/app/components/server/server-view.tsx @@ -24,10 +24,10 @@ type ServerViewProps = { export function ServerView({ server, favicon }: ServerViewProps): ReactElement { return ( -
+