mirror of https://github.com/sgoudham/website.git
You cannot select more than 25 topics
Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
23 lines
402 B
TypeScript
23 lines
402 B
TypeScript
import Link from "next/link";
|
|
|
|
export const StyledLink = ({
|
|
className,
|
|
href,
|
|
children,
|
|
}: {
|
|
className?: string;
|
|
href: string;
|
|
children: React.ReactNode;
|
|
}) => {
|
|
return (
|
|
<Link
|
|
href={href}
|
|
className={`font-medium text-blue underline text-lg lg:text-xl xl:text-2xl focus:ring-1 focus:ring-blue ${
|
|
className ?? ""
|
|
}`}
|
|
>
|
|
{children}
|
|
</Link>
|
|
);
|
|
};
|