import React from 'react'; import styled from 'styled-components'; import { Icon } from 'ts/components/icon'; import { Heading, Paragraph } from 'ts/components/text'; import { Link } from '@0x/react-shared'; import { colors } from 'ts/style/colors'; export interface IShortcutLinkProps { heading: string; icon: string; description?: string; url: string; } export const ShortcutLink: React.FC = props => (
{props.heading} {props.description}
); const ShortcutIcon = styled(Icon)` margin-bottom: 1rem; @media (min-width: 900px) { margin-right: 40px; margin-bottom: 0; } `; const ShortcutLinkWrapper = styled(Link)` background-color: ${colors.backgroundLight}; border: 1px solid #dbdfdd; padding: 50px; display: flex; align-items: center; flex-direction: column; text-align: center; @media (min-width: 900px) { flex-direction: row; text-align: left; } `;