Skip to content

Commit

Permalink
Update SocialCard.tsx
Browse files Browse the repository at this point in the history
  • Loading branch information
cdedreuille committed Mar 11, 2024
1 parent 1cb3594 commit a52fdea
Showing 1 changed file with 3 additions and 6 deletions.
9 changes: 3 additions & 6 deletions src/components/SocialCard.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -33,12 +33,9 @@ const Description = styled.p<{ inverse?: boolean }>`
margin-bottom: 20px;
`;

const LinkButton = styled(Button)`
margin-bottom: 24px;
`;

const Stat = styled(Cardinal)<{ inverse?: boolean }>`
padding: 0;
margin-top: 24px;
`;

interface SocialCardProps {
Expand Down Expand Up @@ -66,14 +63,14 @@ export const SocialCard = ({
<Wrapper inverse={inverse} {...props}>
{icon}
<Description inverse={inverse}>{description}</Description>
<LinkButton
<Button
appearance={inverse ? 'inverseOutline' : 'outline'}
size="medium"
isLink
href={link.href}
>
{link.label}
</LinkButton>
</Button>
<Stat
size="small"
count={stat.count}
Expand Down

0 comments on commit a52fdea

Please sign in to comment.