diff --git a/src/components/landing/BenefitsSection/BenefitsSection.tsx b/src/components/landing/BenefitsSection/BenefitsSection.tsx
index d03b322..e45766a 100644
--- a/src/components/landing/BenefitsSection/BenefitsSection.tsx
+++ b/src/components/landing/BenefitsSection/BenefitsSection.tsx
@@ -9,12 +9,12 @@ import { BenefitsSectionProps } from './types';
import { iconsMap } from './helper';
export const BenefitsSection: FC = ({
- data: { heading, description, list } = {},
+ data: { heading, description, list } = {}, ...props
}) => {
const { t } = useTranslation('~', { keyPrefix: 'dry-wash.landing' });
return (
-
+
{t(heading)}
{t(description)}
diff --git a/src/components/landing/Footer/Copyright/Copyright.tsx b/src/components/landing/Footer/Copyright/Copyright.tsx
index 95acf2d..2271297 100644
--- a/src/components/landing/Footer/Copyright/Copyright.tsx
+++ b/src/components/landing/Footer/Copyright/Copyright.tsx
@@ -5,7 +5,9 @@ import { Text } from '@chakra-ui/react';
const currentYear = new Date().getFullYear();
export const Copyright: FC = () => {
- const { t } = useTranslation();
+ const { t } = useTranslation('~', {
+ keyPrefix: 'dry-wash.landing.footer'
+ });
- return {t('dry-wash.landing.footer.copyright', { currentYear })};
+ return {t('copyright', { currentYear })};
};
diff --git a/src/components/landing/Footer/Footer.tsx b/src/components/landing/Footer/Footer.tsx
index f483994..6e881f7 100644
--- a/src/components/landing/Footer/Footer.tsx
+++ b/src/components/landing/Footer/Footer.tsx
@@ -7,7 +7,7 @@ import { SiteLogo, PageSection } from '../';
import { Copyright } from './Copyright';
-export const Footer: FC = () => {
+export const Footer: FC = (props) => {
const { t } = useTranslation('~', {
keyPrefix: 'dry-wash.landing.footer.links',
});
@@ -15,11 +15,17 @@ export const Footer: FC = () => {
const listData = [
{ to: '#', label: t('privacy-policy') },
{ to: '#', label: t('service-terms') },
- { to: '#', label: t('faq') },
+ { to: '#', label: t('faq') },
];
return (
-
+
diff --git a/src/components/landing/HeroSection/HeroSection.tsx b/src/components/landing/HeroSection/HeroSection.tsx
index 0a90622..b70f81f 100644
--- a/src/components/landing/HeroSection/HeroSection.tsx
+++ b/src/components/landing/HeroSection/HeroSection.tsx
@@ -10,11 +10,18 @@ import { HeroSectionProps } from './types';
export const HeroSection: FC = ({
data: { headline, description, video } = {},
flexShrink,
+ ...props
}) => {
const { t } = useTranslation('~', { keyPrefix: 'dry-wash.landing' });
return (
-
+
{
- const { t } = useTranslation();
+ const { t } = useTranslation('~', { keyPrefix: 'dry-wash.landing' });
- return ;
+ return ;
};
// todo: replace Image by SVG React component
diff --git a/src/components/landing/SocialProofSection/SocialProofSection.tsx b/src/components/landing/SocialProofSection/SocialProofSection.tsx
index 798ed67..c0306d3 100644
--- a/src/components/landing/SocialProofSection/SocialProofSection.tsx
+++ b/src/components/landing/SocialProofSection/SocialProofSection.tsx
@@ -9,11 +9,12 @@ import { SocialProofSectionProps } from './types';
export const SocialProofSection: FC = ({
data: { heading } = {},
+ ...props
}) => {
const { t } = useTranslation('~', { keyPrefix: 'dry-wash.landing' });
return (
-
+
{t(heading)}
diff --git a/src/models/index.ts b/src/models/index.ts
index 13c310b..977a771 100644
--- a/src/models/index.ts
+++ b/src/models/index.ts
@@ -1 +1,2 @@
-export * from './i18n';
\ No newline at end of file
+export * from './i18n';
+export * from './landing';
\ No newline at end of file
diff --git a/src/pages/__tests__/__snapshots__/arm.test.tsx.snap b/src/pages/__tests__/__snapshots__/arm.test.tsx.snap
index f8291d5..cd5ce1f 100644
--- a/src/pages/__tests__/__snapshots__/arm.test.tsx.snap
+++ b/src/pages/__tests__/__snapshots__/arm.test.tsx.snap
@@ -74,7 +74,7 @@ exports[`Arm Page render 1`] = `
- 09.02.2025
+ 15.02.2025