import { ColorScheme } from './colors'; import { Link } from 'react-router-dom'; import * as React from 'react'; import styled from '@emotion/styled'; import { Row } from './Boxes'; type Props = { embed?: boolean; fontSize?: number; collapseWidth?: number; }; const SHADOW_COLOR = ColorScheme.primary; const LogoText = styled.div(({ fontSize, collapseWidth }: Props) => ({ // fontFamily: "'Titillium Web', sans-serif", fontSize, color: '#fff', fontWeight: 'bold', textShadow: `1px -1px 1px ${SHADOW_COLOR}, 1px 1px 1px ${SHADOW_COLOR}, -1px -1px 1px ${SHADOW_COLOR}, -1px 1px 1px ${SHADOW_COLOR}`, [`@media (max-width: ${collapseWidth}px)`]: { display: 'none', }, })); const Logo = ({ fontSize = 25, collapseWidth = 525, embed }: Props) => { const size = Math.ceil(fontSize * 1.5); const content = flowmap.blue ; if (embed) { return ( {content} ); } return ( {content} ); }; export default Logo;