1
0
mirror of https://github.com/phuoc-ng/csslayout.git synced 2025-08-10 08:04:42 +02:00

Remove tachyons

This commit is contained in:
Phuoc Nguyen
2019-11-27 12:31:18 +07:00
parent d3a4fdffee
commit 835c3af8ff
94 changed files with 3113 additions and 699 deletions

View File

@@ -11,32 +11,31 @@ interface CoverCardProps {
const CoverCard: React.FC<CoverCardProps> = ({ pattern }) => {
return (
<div className="pa1 w-20">
<Link
to={`/${slug(pattern)}`}
<Link
to={`/${slug(pattern)}`}
style={{
alignItems: 'center',
display: 'flex',
flexDirection: 'column',
justifyContent: 'flex-start',
padding: '16px',
textDecoration: 'none',
width: '150px',
}}
>
<CoverLoader pattern={pattern} />
<h4
style={{
alignItems: 'center',
display: 'flex',
flexDirection: 'column',
justifyContent: 'center',
padding: '16px',
textDecoration: 'none',
fontSize: '16px',
fontWeight: 500,
margin: 0,
paddingTop: '12px',
textAlign: 'center',
}}
>
<CoverLoader pattern={pattern} />
<h4
style={{
fontSize: '16px',
fontWeight: 500,
margin: 0,
paddingTop: '12px',
textAlign: 'center',
}}
>
{pattern}
</h4>
</Link>
</div>
{pattern}
</h4>
</Link>
);
};