mirror of
https://github.com/r-freeman/portfolio.git
synced 2024-11-14 12:15:42 +00:00
Update Card
This commit is contained in:
parent
e0a645ab62
commit
fd184a5973
@ -89,7 +89,7 @@ Card.Link = function CardLink({href, children}: CardLink) {
|
||||
|
||||
Card.Title = function CardTitle({as: Component = 'h2', href, children}: CardTitle) {
|
||||
return (
|
||||
<Component className="text-base font-semibold tracking-tight text-zinc-800 dark:text-zinc-100">
|
||||
<Component className="group-hover:text-indigo-500 text-base font-semibold tracking-tight text-zinc-800 dark:text-zinc-100">
|
||||
{href ? <Card.Link href={href}>{children}</Card.Link> : children}
|
||||
</Component>
|
||||
)
|
||||
|
Loading…
Reference in New Issue
Block a user