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