make the logo clickable
Some checks failed
Deploy App / docker (ubuntu-latest) (push) Has been cancelled

This commit is contained in:
Lee 2024-04-16 22:07:43 +01:00
parent 0305a94bdf
commit e860237c24

@ -16,12 +16,10 @@ const pages: Page[] = [
export default function NavBar(): JSX.Element {
return (
<div className="bg-secondary w-full rounded-lg flex items-center gap-3 mt-2 bg-opacity-85 h-12">
<div className="flex items-center gap-2 pl-3 pr-3">
<Link href="/" className="flex items-center gap-2 pl-3 pr-3">
<Logo />
<Link href="/" className="hidden xs:block">
<p>Minecraft Utilities</p>
</Link>
</div>
<p className="hidden xs:block">Minecraft Utilities</p>
</Link>
{pages.map((page, index) => {
return <RedirectButton key={index} title={page.title} url={page.url} />;
})}