1
0
Fork 0
freesewing/sites/shared/components/page-link.js

11 lines
260 B
JavaScript
Raw Normal View History

2022-02-19 17:01:05 +01:00
import Link from 'next/link'
const PageLink = ({ href, txt, className="" }) => (
2022-12-04 13:19:42 +01:00
<Link href={href} className={`font-bold text-secondary
hover:text-secondary-focus hover:underline ${className}`}
2022-12-04 13:19:42 +01:00
title={txt}>{txt}</Link>
2022-02-19 17:01:05 +01:00
)
export default PageLink