refactor: move content of src/ to root dir for readability
This commit is contained in:
parent
87958d1d28
commit
532d1eba99
69 changed files with 5 additions and 4 deletions
|
|
@ -1,18 +0,0 @@
|
|||
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>
|
||||
);
|
||||
}
|
||||
Reference in a new issue