1
0
Fork 0

feat: initial commit

This commit is contained in:
Vojtěch Mareš 2022-11-22 09:59:48 +01:00
commit 604c280f8d
Signed by: vojtech.mares
GPG key ID: C6827B976F17240D
85 changed files with 4436 additions and 0 deletions

View file

@ -0,0 +1,18 @@
import { ReactNode } from 'react';
import Link from 'next/link';
type Props = {
href: string,
children: ReactNode,
}
export function NavLink({href, children}: Props) {
return (
<Link
href={href}
className="inline-block rounded-lg py-1 px-2 text-lg font-medium text-slate-700 hover:bg-slate-100 hover:text-slate-900"
>
{children}
</Link>
);
}