import React from 'react'; import styled from 'styled-components'; import { Link } from '@0x/react-shared'; import { Icon } from 'ts/components/icon'; import { Heading, Paragraph } from 'ts/components/text'; import { colors } from 'ts/style/colors'; export interface ICommunityLinkProps { heading: string; icon: string; description?: string; url: string; } export const CommunityLink: React.FC = props => ( {props.heading} {props.description} ); const CommunityLinkWrapper = styled(Link)` background-color: ${colors.backgroundLight}; border: 1px solid #dbdfdd; padding: 50px; display: flex; flex-direction: column; align-items: center; justify-content: center; text-align: center; `; const CommunityIcon = styled(Icon)` @media (min-width: 900px) { height: 98px; width: 98px; } `;