import Link from "next/link"; import Logo from "./logo"; import { RedirectButton } from "./rediect-button"; import { ToggleThemeButton } from "./theme-toggle-button"; type Page = { title: string; url: string; }; const pages: Page[] = [ { title: "Player", url: "/player" }, { title: "Server", url: "/server/java" }, { title: "Mojang", url: "/mojang" }, ]; export default function NavBar(): JSX.Element { return (

Minecraft Utilities

{pages.map((page, index) => { return ; })}
); }