1
0
Fork 0
mirror of https://github.com/muerwre/vault-frontend.git synced 2025-04-25 12:56:41 +07:00

fixed semantic markup

This commit is contained in:
Fedor Katurov 2022-03-03 20:00:46 +07:00
parent 746e323baf
commit 4e5a6d727a
5 changed files with 20 additions and 17 deletions

View file

@ -5,10 +5,10 @@ import styles from './styles.module.scss';
interface IProps {}
const Footer: FC<IProps> = memo(() => (
<div className={styles.footer}>
<footer className={styles.footer}>
<div className={styles.slogan}>Уделяй больше времени тишине. Спасибо</div>
<div className={styles.copy}>2009 - {new Date().getFullYear()}</div>
</div>
</footer>
));
export { Footer };

View file

@ -64,13 +64,13 @@ const NodeTitle: VFC<IProps> = memo(
</div>
{!!username && (
<div className={styles.name}>
<aside className={styles.name}>
{isLoading ? (
<Placeholder width="100px" />
) : (
`~${username.toLocaleLowerCase()}, ${getPrettyDate(createdAt)}`
)}
</div>
</aside>
)}
</div>