feat(header): Cria o header bottom desktop

This commit is contained in:
Sabrina Miranda 2023-01-07 22:31:49 -03:00
parent 53d8bc6971
commit c8787ccafb
3 changed files with 25 additions and 0 deletions

View File

@ -0,0 +1,7 @@
@use '../../variables';
.header-bottom {
@media (max-width: 1024px) {
display: none;
}
}

View File

@ -0,0 +1,16 @@
import React from 'react';
import styles from "./HeaderBottom.module.scss";
import { HeaderNavBar } from '../HeaderNavBar/HeaderNavBar';
const HeaderBottom = () => {
return (
<div className={styles["header-bottom"]}>
<HeaderNavBar />
</div>
);
}
export {HeaderBottom};

View File

@ -3,6 +3,7 @@ import React from 'react';
import styles from "./Home.module.scss";
import { HeaderTop } from '../components/HeaderTop/HeaderTop';
import { HeaderBottom } from '../components/HeaderBottom/HeaderBottom';
const Home = () => {
@ -10,6 +11,7 @@ const Home = () => {
<>
<header className={styles["header"]}>
<HeaderTop />
<HeaderBottom />
</header>
<main></main>