24 lines
589 B
TypeScript
24 lines
589 B
TypeScript
import React, { FC } from 'react';
|
|
import { useTranslation } from 'react-i18next';
|
|
import { Heading, HStack } from '@chakra-ui/react';
|
|
|
|
import { CtaButton, PageSection } from '../';
|
|
|
|
import { ReviewsSlider } from './ReviewsSlider';
|
|
|
|
export const SocialProofSection: FC = () => {
|
|
const { t } = useTranslation('~', {
|
|
keyPrefix: 'dry-wash.landing.social-proof-section',
|
|
});
|
|
|
|
return (
|
|
<PageSection>
|
|
<Heading as='h2'>{t('heading')}</Heading>
|
|
<ReviewsSlider />
|
|
<HStack w='full' justify='flex-end'>
|
|
<CtaButton />
|
|
</HStack>
|
|
</PageSection>
|
|
);
|
|
};
|