feat(org): Add curation of sets
This commit is contained in:
parent
c17135df94
commit
3b850e9ad4
22 changed files with 667 additions and 660 deletions
|
@ -21,4 +21,26 @@ const WebLink = ({ href, txt = false, children }) => (
|
|||
</a>
|
||||
)
|
||||
|
||||
export { linkClasses, Link, AnchorLink, PageLink, WebLink }
|
||||
const CardLink = ({
|
||||
bg = 'bg-base-200',
|
||||
textColor = 'text-base-content',
|
||||
href,
|
||||
title,
|
||||
text,
|
||||
icon,
|
||||
}) => (
|
||||
<Link
|
||||
href={href}
|
||||
className={`px-8 ${bg} py-10 rounded-lg block ${textColor}
|
||||
hover:bg-secondary hover:bg-opacity-10 shadow-lg
|
||||
transition-color duration-300 grow`}
|
||||
>
|
||||
<h2 className="mb-4 text-inherit flex flex-row gap-4 justify-between items-center font-medium">
|
||||
{title}
|
||||
<span className="shrink-0">{icon}</span>
|
||||
</h2>
|
||||
<p className="font-medium text-inherit italic text-lg">{text}</p>
|
||||
</Link>
|
||||
)
|
||||
|
||||
export { linkClasses, Link, AnchorLink, PageLink, WebLink, CardLink }
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue