2022-10-12 22:16:59 +02:00
|
|
|
import Link from "next/link";
|
2022-10-12 22:06:54 +02:00
|
|
|
|
|
|
|
export default function CustomLink({ as, href, ...otherProps }) {
|
|
|
|
return (
|
|
|
|
<>
|
|
|
|
<Link as={as} href={href}>
|
|
|
|
<a {...otherProps} />
|
|
|
|
</Link>
|
|
|
|
<style jsx>{`
|
|
|
|
a {
|
|
|
|
color: tomato;
|
|
|
|
}
|
|
|
|
`}</style>
|
|
|
|
</>
|
2022-10-12 22:16:59 +02:00
|
|
|
);
|
2022-10-12 22:06:54 +02:00
|
|
|
}
|