1
0
Fork 0

wip[org]: Added new... page

This commit is contained in:
joostdecock 2024-12-14 13:40:17 +01:00
parent e4c562693c
commit bc584399e2
18 changed files with 348 additions and 174 deletions

View file

@ -34,3 +34,16 @@ export const Link = ({ href, title = false, children, className = linkClasses })
{children}
</a>
)
const BaseLink = Link
export const CardLink = ({ href, title, Icon, children, Link }) => {
if (!Link) Link = BaseLink
return (
<Link className="">
{title}
{children}
</Link>
)
}