2022-02-19 17:01:05 +01:00
|
|
|
import Link from 'next/link'
|
|
|
|
|
2023-01-29 16:44:02 +01:00
|
|
|
export const PageLink = ({ href, txt, className = '' }) => (
|
2022-12-04 15:04:56 +01:00
|
|
|
<Link
|
|
|
|
href={href}
|
2023-07-16 17:15:10 +02:00
|
|
|
className={`underline decoration-2 hover:decoration-4 ${className}`}
|
2022-12-04 15:04:56 +01:00
|
|
|
title={txt}
|
|
|
|
>
|
|
|
|
{txt}
|
|
|
|
</Link>
|
2022-02-19 17:01:05 +01:00
|
|
|
)
|