import { Stats } from "@/app/components/stats"; import Link from "next/link"; import { ReactElement } from "react"; import { Button } from "../components/ui/button"; import { Separator } from "../components/ui/separator"; import { Tooltip, TooltipContent, TooltipTrigger } from "../components/ui/tooltip"; import { Title } from "@/app/components/title"; type Button = { /** * The title of the button. */ title: string; /** * The tooltip to display for this statistic. */ tooltip: string; /** * The URL to go to. */ url: string; /** * Whether clicking the button will * open the link in a new tab. */ openInNewTab?: boolean; /** * The class name to apply to the button. */ className?: string; }; const buttons: Button[] = [ { title: "Get Started", tooltip: "Click to get started with the API", url: "/documentation", className: "bg-gradient-to-r from-indigo-500 to-emerald-500 px-7 hover:opacity-75 transition-all transform-gpu", }, ]; export default function Home(): ReactElement { return (
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.
> } />{button.tooltip}
API Statistics
View the statistics for the API in real-time!