add Landing page (#7)
This commit is contained in:
10
src/components/landing/SiteLogo/SiteLogo.tsx
Normal file
10
src/components/landing/SiteLogo/SiteLogo.tsx
Normal file
@@ -0,0 +1,10 @@
|
||||
import React, { FC } from 'react';
|
||||
import { Image } from '@chakra-ui/react';
|
||||
import { LogoSvg } from '../../../assets/icons';
|
||||
|
||||
export const SiteLogo: FC = () => {
|
||||
return <Image src={LogoSvg} alt='Логотип компании "Сухой мастер"' w={40} />;
|
||||
};
|
||||
|
||||
// todo: add i18n for alt
|
||||
// todo: replace Image by SVG React component
|
||||
1
src/components/landing/SiteLogo/index.ts
Normal file
1
src/components/landing/SiteLogo/index.ts
Normal file
@@ -0,0 +1 @@
|
||||
export { SiteLogo } from './SiteLogo';
|
||||
Reference in New Issue
Block a user