feat: add translations to landing (#18)
This commit is contained in:
@@ -1,15 +1,17 @@
|
||||
import React, { FC } from 'react';
|
||||
import {
|
||||
Heading,
|
||||
HStack,
|
||||
} from '@chakra-ui/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'>Нас выбирают</Heading>
|
||||
<Heading as='h2'>{t('heading')}</Heading>
|
||||
<ReviewsSlider />
|
||||
<HStack w='full' justify='flex-end'>
|
||||
<CtaButton />
|
||||
|
||||
Reference in New Issue
Block a user