styles for navigation and survey info

This commit is contained in:
Tatiana Nikolaeva 2025-04-05 19:31:48 +05:00
parent 1bc96d830e
commit 2cbfb06b4a
30 changed files with 199 additions and 555 deletions

View file

@ -1,7 +1,5 @@
/// <reference types="vite-plugin-svgr/client" />
import React from 'react';
import styles from './Account.module.css'
import AccountSvg from '../../../public/account.svg?react'
interface AccountProps {
href: string;
@ -10,9 +8,9 @@ interface AccountProps {
const Account: React.FC<AccountProps> = ({href, user}) => {
return (
<div>
<a className={styles.account} href={href}>
<AccountSvg className={styles.accountImg}/>
<div className={styles.account}>
<a className={styles.accountText} href={href}>
<img src='../../../public/account.svg' className={styles.accountImg} alt='account'/>
{user}
</a>
</div>