feat: apply success stubs to landing content (#33)

This commit is contained in:
RustamRu
2024-11-17 18:07:35 +03:00
parent 409473413a
commit 407da721af
13 changed files with 109 additions and 63 deletions

View File

@@ -6,7 +6,7 @@ import { ButtonProps, Button } from '@chakra-ui/react';
import { URLs } from '../../../__data__/urls';
export const CtaButton: FC<ButtonProps> = (props) => {
const { t } = useTranslation();
const { t } = useTranslation('~', { keyPrefix: 'dry-wash.landing' });
return (
<Button
@@ -15,7 +15,7 @@ export const CtaButton: FC<ButtonProps> = (props) => {
colorScheme='primary'
{...props}
>
{t('~:dry-wash.landing.make-order-button')}
{t('make-order-button')}
</Button>
);
};