import Link from "next/link"; import { Button } from "../components/ui/button"; import { Tooltip, TooltipContent, TooltipTrigger } from "../components/ui/tooltip"; type Button = { title: string; tooltip: string; url: string; openInNewTab?: boolean; }; const buttons: Button[] = [ { title: "Get Started", tooltip: "Click to get open the player page", url: "/player" }, { title: "Documentation", tooltip: "Click to open the documentation", url: "https://api.mcutils.xyz/swagger-ui.html", openInNewTab: true, }, ]; export default function Home(): JSX.Element { return (

Minecraft Utilities

Minecraft Utilities offers you many endpoints to get information about a minecraft server or a player.

We offer you a simple and easy to use API.

{buttons.map((button, index) => { return (

{button.tooltip}

); })}
); }