mirror of
https://github.com/muerwre/vault-frontend.git
synced 2025-04-25 12:56:41 +07:00
cleanup
This commit is contained in:
parent
d6cb9bcb8e
commit
ef261ca186
6 changed files with 71 additions and 87 deletions
13
src/components/main/Footer/index.tsx
Normal file
13
src/components/main/Footer/index.tsx
Normal file
|
@ -0,0 +1,13 @@
|
|||
import React, { FC, memo } from 'react';
|
||||
import styles from './styles.scss';
|
||||
|
||||
interface IProps {}
|
||||
|
||||
const Footer: FC<IProps> = memo(() => (
|
||||
<div className={styles.footer}>
|
||||
<div className={styles.slogan}>Уделяй больше времени тишине. Спасибо</div>
|
||||
<div className={styles.copy}>2009 - {new Date().getFullYear()}</div>
|
||||
</div>
|
||||
));
|
||||
|
||||
export { Footer };
|
23
src/components/main/Footer/styles.scss
Normal file
23
src/components/main/Footer/styles.scss
Normal file
|
@ -0,0 +1,23 @@
|
|||
.footer {
|
||||
display: flex;
|
||||
flex-direction: row;
|
||||
font: $font_12_semibold;
|
||||
background: transparentize(black, 0.9);
|
||||
border-radius: 0 0 $radius $radius;
|
||||
align-items: center;
|
||||
text-transform: uppercase;
|
||||
color: darken(white, 80%);
|
||||
padding-top: 2px;
|
||||
box-sizing: border-box;
|
||||
|
||||
@include outer_shadow();
|
||||
}
|
||||
|
||||
.slogan {
|
||||
flex: 1;
|
||||
padding: $gap;
|
||||
}
|
||||
|
||||
.copy {
|
||||
padding: $gap;
|
||||
}
|
Loading…
Add table
Add a link
Reference in a new issue