feat(shared): Added link components
This commit is contained in:
parent
daa0c7b488
commit
e260d9c634
2 changed files with 22 additions and 0 deletions
9
packages/freesewing.shared/components/web-link.js
Normal file
9
packages/freesewing.shared/components/web-link.js
Normal file
|
@ -0,0 +1,9 @@
|
|||
const WebLink = ({ href, txt }) => (
|
||||
<a href={href} className={`
|
||||
text-lg font-bold text-secondary
|
||||
hover:text-secondary-focus hover:underline`}
|
||||
title={txt}>{txt}</a>
|
||||
)
|
||||
|
||||
export default WebLink
|
||||
|
Loading…
Add table
Add a link
Reference in a new issue