add new content
This commit is contained in:
12
src/components/NavLink.jsx
Normal file
12
src/components/NavLink.jsx
Normal file
@@ -0,0 +1,12 @@
|
||||
import Link from 'next/link'
|
||||
|
||||
export function NavLink({ href, children }) {
|
||||
return (
|
||||
<Link
|
||||
href={href}
|
||||
className="inline-block rounded-lg px-2 py-1 text-sm text-gray-400 hover:bg-gold-600 hover:text-slate-900"
|
||||
>
|
||||
{children}
|
||||
</Link>
|
||||
)
|
||||
}
|
Reference in New Issue
Block a user