feat: test landing page render (#85)

This commit is contained in:
RustamRu
2025-02-15 19:46:43 +03:00
parent 88242c5681
commit bbc96a2f27
11 changed files with 529 additions and 17 deletions

View File

@@ -9,12 +9,12 @@ import { BenefitsSectionProps } from './types';
import { iconsMap } from './helper';
export const BenefitsSection: FC<BenefitsSectionProps> = ({
data: { heading, description, list } = {},
data: { heading, description, list } = {}, ...props
}) => {
const { t } = useTranslation('~', { keyPrefix: 'dry-wash.landing' });
return (
<PageSection>
<PageSection {...props}>
<VStack w='full' spacing={2}>
<Heading as='h2'>{t(heading)}</Heading>
<Text>{t(description)}</Text>