From c054a31008fb3f09c15fd6430815000773c2e4f9 Mon Sep 17 00:00:00 2001
From: Liam
Minecraft Utilities offers you many endpoints to get information about a minecraft server or a player.
diff --git a/src/common/fonts.ts b/src/common/fonts.ts
new file mode 100644
index 0000000..a6aa953
--- /dev/null
+++ b/src/common/fonts.ts
@@ -0,0 +1,7 @@
+import { Inter } from "next/font/google";
+
+const inter = Inter({ subsets: ["latin"] });
+
+export const Fonts = {
+ inter: inter,
+};
diff --git a/src/components/navbar.tsx b/src/components/navbar.tsx
index 7caea27..aab6c5a 100644
--- a/src/components/navbar.tsx
+++ b/src/components/navbar.tsx
@@ -7,7 +7,6 @@ type Page = {
};
const pages: Page[] = [
- { title: "Home", url: "/" },
{ title: "Player", url: "/player" },
{ title: "Server", url: "/server" },
];
diff --git a/src/components/player-search.tsx b/src/components/player-search.tsx
index db660a2..d9abb30 100644
--- a/src/components/player-search.tsx
+++ b/src/components/player-search.tsx
@@ -1,6 +1,7 @@
"use client";
import { getPlayer } from "mcutils-library";
+import { Player } from "mcutils-library/dist/types/player/player";
import Image from "next/image";
import Link from "next/link";
import { useState } from "react";
@@ -13,7 +14,7 @@ const defaultPlayerId = "Notch";
export default function PlayerSearch() {
const [playerId, setPlayerId] = useState
- Unique ID: {player.uniqueId}
-
- Name: {player.username}
- Skin Parts
-
- {part}
-
-
+ UUID: {player.uniqueId}
+
+ Name: {player.username}
+ Skin Parts
+
+ {part}
+
+