forked from M3-Academy/desafio-react-e-typescript
feat(main): classes e estilização
This commit is contained in:
parent
a48dc8ace3
commit
fe00fdd506
@ -2,13 +2,14 @@ import React from 'react';
|
||||
import Institucional from '../../pages/institucional/Institucional';
|
||||
import Home from '../../assets/img/home.png'
|
||||
import Arrow from '../../assets/img/arrow-point-to-right.png'
|
||||
import styles from '../../styles/Main.module.scss'
|
||||
|
||||
const Main = () => {
|
||||
return(
|
||||
<div>
|
||||
<div>
|
||||
<img src={Home} alt='home'></img>
|
||||
<img src={Arrow} alt='arrow'></img>
|
||||
<div className={styles['container__main']}>
|
||||
<div className={styles['main__route']}>
|
||||
<img className={styles['main__home']} src={Home} alt='home'></img>
|
||||
<img className={styles['main__arrow']} src={Arrow} alt='arrow'></img>
|
||||
<p>Institucional</p>
|
||||
</div>
|
||||
<Institucional/>
|
||||
|
26
src/styles/Main.module.scss
Normal file
26
src/styles/Main.module.scss
Normal file
@ -0,0 +1,26 @@
|
||||
.main__route {
|
||||
display: flex;
|
||||
padding: 29px 100px;
|
||||
width: 8%;
|
||||
justify-content: space-around;
|
||||
align-items: center;
|
||||
|
||||
.main__home {
|
||||
width: 15.69%;
|
||||
height: 16px;
|
||||
}
|
||||
|
||||
.main__arrow {
|
||||
width: 4.47%;
|
||||
height: 8px;
|
||||
}
|
||||
|
||||
p {
|
||||
font-family: 'Roboto', sans-serif;
|
||||
font-style: normal;
|
||||
font-weight: 400;
|
||||
font-size: 12px;
|
||||
line-height: 14px;
|
||||
color: #C4C4C4;
|
||||
}
|
||||
}
|
Loading…
Reference in New Issue
Block a user