update navbar
All checks were successful
Deploy App / docker (ubuntu-latest) (push) Successful in 54s

This commit is contained in:
Lee 2024-04-14 19:08:24 +01:00
parent daed410d10
commit 89c534ac86
2 changed files with 3 additions and 2 deletions

@ -7,7 +7,7 @@ type Button = {
const buttons: Button[] = [ const buttons: Button[] = [
{ title: "Get Started", url: "/player" }, { title: "Get Started", url: "/player" },
{ title: "Documentation", url: "https://git.fascinated.cc/MinecraftUtilities/Documentation" }, { title: "Documentation", url: "https://api.mcutils.xyz/swagger-ui.html" },
]; ];
export default function Home() { export default function Home() {
@ -24,6 +24,7 @@ export default function Home() {
<Link <Link
key={index} key={index}
href={button.url} href={button.url}
target="_blank"
className="w-fit p-2 rounded-lg hover:text-primary transition-all cursor-pointer bg-secondary" className="w-fit p-2 rounded-lg hover:text-primary transition-all cursor-pointer bg-secondary"
> >
<p>{button.title}</p> <p>{button.title}</p>

@ -13,7 +13,7 @@ const pages: Page[] = [
export default function NavBar() { export default function NavBar() {
return ( return (
<div className="bg-secondary w-full rounded-lg flex items-center gap-3"> <div className="bg-secondary w-full rounded-lg flex items-center gap-3 mt-2 bg-opacity-85">
<div className="flex items-center gap-2 pl-3 pr-3"> <div className="flex items-center gap-2 pl-3 pr-3">
<Logo /> <Logo />
<Link href="/"> <Link href="/">