components
This commit is contained in:
commit
009a214b40
40 changed files with 966 additions and 0 deletions
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