new-personal-site/layouts/main/(partials)/HeaderLink.tsx
2024-12-09 16:36:17 +01:00

14 lines
281 B
TypeScript

import { HeaderLinkType } from "../(data)/links";
type Props = {
link: HeaderLinkType;
};
export default function HeaderLink({ link }: Props) {
return (
<a href={link.href} className="text-white hover:text-gray-300">
{link.name}
</a>
);
}