forked from M3-Academy/desafio-react-e-typescript
feat: cria o header bottom para telas desktop
This commit is contained in:
parent
ee9227f9c3
commit
c1036e2e7a
26
pagina-institucional/src/components/HeaderBottom.tsx
Normal file
26
pagina-institucional/src/components/HeaderBottom.tsx
Normal file
@ -0,0 +1,26 @@
|
||||
import React from "react";
|
||||
import styles from "../style/HeaderBottom.module.scss";
|
||||
|
||||
const HeaderBottom = () => {
|
||||
return (
|
||||
<div className={styles.header___wrapper}>
|
||||
<div className={styles.textcontainer}>
|
||||
<a className={styles.textlinks1} href="/">
|
||||
Cursos
|
||||
</a>
|
||||
</div>
|
||||
<div className={styles.textcontainer}>
|
||||
<a className={styles.textlinks2} href="/">
|
||||
Saiba Mais
|
||||
</a>
|
||||
</div>
|
||||
<div className={styles.textcontainer}>
|
||||
<a className={styles.textlinks3} href="/">
|
||||
Institucionais
|
||||
</a>
|
||||
</div>
|
||||
</div>
|
||||
);
|
||||
};
|
||||
|
||||
export { HeaderBottom };
|
@ -2,9 +2,15 @@ import React from "react";
|
||||
import { Route } from "react-router";
|
||||
import { BrowserRouter } from "react-router-dom";
|
||||
import { Header } from "../components/Header";
|
||||
import { HeaderBottom } from "../components/HeaderBottom";
|
||||
|
||||
const Home = () => {
|
||||
return <Header />;
|
||||
return (
|
||||
<>
|
||||
<Header />
|
||||
<HeaderBottom />
|
||||
</>
|
||||
);
|
||||
};
|
||||
|
||||
export { Home };
|
||||
|
27
pagina-institucional/src/style/HeaderBottom.module.scss
Normal file
27
pagina-institucional/src/style/HeaderBottom.module.scss
Normal file
@ -0,0 +1,27 @@
|
||||
.header___wrapper {
|
||||
display: flex;
|
||||
background: #000;
|
||||
gap: 55px;
|
||||
height: 44px;
|
||||
|
||||
.textlinks1 {
|
||||
margin-left: 125px;
|
||||
}
|
||||
|
||||
.textlinks1,
|
||||
.textlinks2,
|
||||
.textlinks3 {
|
||||
display: flex;
|
||||
align-self: center;
|
||||
text-transform: uppercase;
|
||||
color: white;
|
||||
text-align: center;
|
||||
text-decoration: none;
|
||||
}
|
||||
|
||||
.textcontainer {
|
||||
display: flex;
|
||||
align-items: center;
|
||||
justify-content: space-between;
|
||||
}
|
||||
}
|
Loading…
Reference in New Issue
Block a user