diff --git a/desafio-5/public/index.html b/desafio-5/public/index.html index 198333f..1491767 100644 --- a/desafio-5/public/index.html +++ b/desafio-5/public/index.html @@ -10,16 +10,7 @@ /> Desafio-5 - + -
- -
-
- -
- diff --git a/desafio-5/src/components/modules/home.module.scss b/desafio-5/src/components/modules/home.module.scss index 3321b31..011fc82 100644 --- a/desafio-5/src/components/modules/home.module.scss +++ b/desafio-5/src/components/modules/home.module.scss @@ -104,6 +104,9 @@ width: 100%; } #contact{ + .submitted{ + color: green; + } display: flex; flex-direction: column; gap :12px; diff --git a/desafio-5/src/components/scripts/footer.tsx b/desafio-5/src/components/scripts/footer.tsx index 49fd935..ba43922 100644 --- a/desafio-5/src/components/scripts/footer.tsx +++ b/desafio-5/src/components/scripts/footer.tsx @@ -4,9 +4,11 @@ import FooterStyles from "../modules/footer.module.scss" const Footer = () =>{ return ( -
- conteudo do footer -
+ ) }; diff --git a/desafio-5/src/components/scripts/header.tsx b/desafio-5/src/components/scripts/header.tsx index a4f9e4a..6667921 100644 --- a/desafio-5/src/components/scripts/header.tsx +++ b/desafio-5/src/components/scripts/header.tsx @@ -28,61 +28,19 @@ const Header = () =>{ } return ( -
-
-
- - Logo - -
- -
- - - -
- - -
- - -
-
- -
-
- {setisOpened(true)}} - className={HeaderStyles["hamburguer"]} - src={MenuMobile} - alt="Logo-mobile" - /> - -
-
- - Logo-mobile - -
- -
-
- +
+
+
+ + Logo + +
+ -
+ -
-
+ -
- + +
+ + +
+
+ +
+
+ {setisOpened(true)}} + className={HeaderStyles["hamburguer"]} + src={MenuMobile} + alt="Logo-mobile" + /> + +
+
+ + Logo-mobile + +
+ +
+
+ +
+ + + +
+
+ +
+ +
-
+ ) }; diff --git a/desafio-5/src/components/scripts/main.tsx b/desafio-5/src/components/scripts/main.tsx new file mode 100644 index 0000000..c437e69 --- /dev/null +++ b/desafio-5/src/components/scripts/main.tsx @@ -0,0 +1,15 @@ +import React from "react" + +import Institucional from "../../pages/Institucional"; + +const Main = () => { + return ( +
+ +
+ ) +}; + + + +export default Main \ No newline at end of file diff --git a/desafio-5/src/index.tsx b/desafio-5/src/index.tsx index cdeceee..927825c 100644 --- a/desafio-5/src/index.tsx +++ b/desafio-5/src/index.tsx @@ -3,34 +3,21 @@ import ReactDOM from 'react-dom/client'; import Routers from "./pages/router/Pathrooter" import { Header } from './components/scripts/header'; import { Footer } from './components/scripts/footer'; +import Main from './components/scripts/main'; import {SubmenuProvider} from "./contexts/SubmenuContext" import './components/Main.scss'; import './components/common/global.scss'; import './components/common/resets.scss'; const rootElement = document.getElementById('root'); -const rootheader = document.getElementById('rootheader'); -const rootfooter = document.getElementById('rootfooter'); -if (rootheader) { - ReactDOM.createRoot(rootheader).render( - -
- - ); -} else { - // rootElement não foi encontrado. Talvez seja necessário aguardar o carregamento da página. -} if (rootElement) { ReactDOM.createRoot(rootElement).render( - - ); -} else { - // rootElement não foi encontrado. Talvez seja necessário aguardar o carregamento da página. -} -if (rootfooter) { - ReactDOM.createRoot(rootfooter).render( -