import * as React from 'react'; import { Container } from 'ts/components/ui/container'; import { Image } from 'ts/components/ui/image'; import { Text } from 'ts/components/ui/text'; import { colors } from 'ts/style/colors'; import { ScreenWidths } from 'ts/types'; export const Features = () => ( ); interface LinkInfo { linkSrc: string; displayText: string; } interface FeatureItemProps { imgSrc: string; title: string; description: string; linkInfos: LinkInfo[]; screenWidth: ScreenWidths; } const FeatureItem = (props: FeatureItemProps) => { const { imgSrc, title, description, linkInfos, screenWidth } = props; const shouldShowImage = screenWidth === ScreenWidths.Lg; const image = ; const missionStatementClassName = !shouldShowImage ? 'center' : undefined; const missionStatement = ( {title} {description} ); return (
{shouldShowImage ? ( {image} {missionStatement} ) : ( {missionStatement} )}
); };