import React, { FC } from 'react'; import { useTranslation } from 'react-i18next'; import { Box, Heading, Text, Center, VStack } from '@chakra-ui/react'; import { DemoVideoPosterImg } from '../../../assets/images'; import { CtaButton, SiteLogo, PageSection } from '../'; import { HeroSectionProps } from './types'; export const HeroSection: FC = ({ data: { headline, description, video } = {}, flexShrink, }) => { const { t } = useTranslation('~', { keyPrefix: 'dry-wash.landing' }); return (
{t(headline)} {t(description)}
); };