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

@@ -5,9 +5,9 @@ import { Image } from '@chakra-ui/react';
import { LogoSvg } from '../../../assets/icons';
export const SiteLogo: FC = () => {
const { t } = useTranslation();
const { t } = useTranslation('~', { keyPrefix: 'dry-wash.landing' });
return <Image src={LogoSvg} alt={t('~:dry-wash.landing.site-logo')} w={40} />;
return <Image src={LogoSvg} alt={t('site-logo')} w={40} />;
};
// todo: replace Image by SVG React component