components
This commit is contained in:
commit
009a214b40
40 changed files with 966 additions and 0 deletions
9
SurveyFrontend/src/components/Logo/Logo.module.css
Normal file
9
SurveyFrontend/src/components/Logo/Logo.module.css
Normal file
|
|
@ -0,0 +1,9 @@
|
|||
/*Logo.module.css*/
|
||||
|
||||
.logo {
|
||||
margin: 0;
|
||||
padding: 0;
|
||||
height: 52px;
|
||||
width: 52px;
|
||||
margin: 31px auto 25px 40px;
|
||||
}
|
||||
16
SurveyFrontend/src/components/Logo/Logo.tsx
Normal file
16
SurveyFrontend/src/components/Logo/Logo.tsx
Normal file
|
|
@ -0,0 +1,16 @@
|
|||
import React from "react";
|
||||
import styles from './Logo.module.css'
|
||||
|
||||
interface LogoProps {
|
||||
href: string;
|
||||
}
|
||||
|
||||
const Logo: React.FC<LogoProps> = ({href}) => {
|
||||
return (
|
||||
<a className={styles.logo} href={href}>
|
||||
<img src='../../../public/logo.svg' alt='Логотип'/>
|
||||
</a>
|
||||
);
|
||||
};
|
||||
|
||||
export default Logo;
|
||||
Loading…
Add table
Add a link
Reference in a new issue