components

This commit is contained in:
Tatiana Nikolaeva 2025-04-04 21:41:22 +05:00
commit 009a214b40
40 changed files with 966 additions and 0 deletions

View file

@ -0,0 +1,9 @@
/*Logo.module.css*/
.logo {
margin: 0;
padding: 0;
height: 52px;
width: 52px;
margin: 31px auto 25px 40px;
}

View 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;