import React, { Fragment } from 'react'; import styled from 'styled-components'; import * as tokens from '@tokens'; import { mq } from '@tokensDir/media-query'; import { dim } from '@dim'; const LegalSection = styled.div` align-items: center; border-top: 1px solid ${tokens.colorGrey5}; display: flex; justify-content: space-between; padding-top: ${dim(2)}; ${mq.md` margin: 0 ${dim(4)} ${dim(2)}; `} .logo { width: 52px; vertical-align: center; } `; const Logo = styled.img` width: 52px; vertical-align: center; `; const LegalNotice = styled.p` -webkit-font-smoothing: antialiased; font-family: ${tokens.fontBody}; font-size: ${tokens.fontSizeBody}; font-weight: ${tokens.fontWeightNormal}; line-height: ${tokens.lineHeightText}; text-rendering: optimizelegibility; `; interface Props { legal: string; } const Legal: React.FC = ({ legal }) => ( {legal} ); export default Legal;