clean: bump, add link component :p, minor misc cleanup fixes

This commit is contained in:
Aidan 2025-03-27 13:37:09 -04:00
parent 75d352c101
commit 3cf2b0f4cd
7 changed files with 34 additions and 12 deletions

View file

@ -0,0 +1,22 @@
import { default as NextLink } from 'next/link'
interface LinkProps {
href: string
className?: string
target?: string
rel?: string
children: React.ReactNode
}
export default function Link(props: LinkProps) {
return (
<NextLink
href={props.href}
className={`text-blue-400 hover:underline ${props.className}`}
target={props.target}
rel={props.rel}
>
{props.children}
</NextLink>
)
}