diff --git a/src/assets/svgs/seta.svg b/src/assets/svgs/seta.svg new file mode 100644 index 0000000..f9d5afd --- /dev/null +++ b/src/assets/svgs/seta.svg @@ -0,0 +1,3 @@ + + + diff --git a/src/components/Caminho.tsx b/src/components/Caminho.tsx new file mode 100644 index 0000000..6888faa --- /dev/null +++ b/src/components/Caminho.tsx @@ -0,0 +1,17 @@ +import React from "react"; +import home from "../assets/svgs/home.svg"; +import seta from "../assets/svgs/seta.svg"; + +import styles from "../styles/main.module.scss"; + +const Caminho = () => { + return ( +
+ home + seta + INSTITUCIONAL +
+ ); +}; + +export { Caminho }; diff --git a/src/components/Main.tsx b/src/components/Main.tsx index 3a9c418..c9c53ac 100644 --- a/src/components/Main.tsx +++ b/src/components/Main.tsx @@ -1,13 +1,17 @@ import React from "react"; import styles from "../styles/main.module.scss"; +import { Caminho } from "./Caminho"; import { Newsletter } from "./Newsletter"; import { ScrollPage } from "./ScrollPage"; +import { Titulo } from "./Titulo"; const Main = () => { return (
+ +
diff --git a/src/components/Modal.scss b/src/components/Modal.scss index 22a63c3..26d31b2 100644 --- a/src/components/Modal.scss +++ b/src/components/Modal.scss @@ -66,4 +66,5 @@ .opened { opacity: 1; pointer-events: all; + z-index: 8; } diff --git a/src/components/ScrollPage.tsx b/src/components/ScrollPage.tsx index 2c5c71e..a29e952 100644 --- a/src/components/ScrollPage.tsx +++ b/src/components/ScrollPage.tsx @@ -15,7 +15,7 @@ const ScrollPage = () => { return (
whatsapp - {pageYPosition > 600 && ( + {pageYPosition > 400 && ( seta diff --git a/src/components/Titulo.tsx b/src/components/Titulo.tsx new file mode 100644 index 0000000..e649ade --- /dev/null +++ b/src/components/Titulo.tsx @@ -0,0 +1,13 @@ +import React from "react"; + +import styles from "../styles/main.module.scss"; + +const Titulo = () => { + return ( +
+

INSTUCIONAL

+
+ ); +}; + +export { Titulo }; diff --git a/src/styles/partials/MainContent.module.scss b/src/styles/partials/MainContent.module.scss index 38664e0..64d48d7 100644 --- a/src/styles/partials/MainContent.module.scss +++ b/src/styles/partials/MainContent.module.scss @@ -1,6 +1,34 @@ .main-wrapper { position: relative; height: 1200px; + + &__caminho { + display: flex; + gap: 10px; + padding: 29px 0 0 100px; + align-items: center; + + a { + font-weight: 400; + font-size: 12px; + line-height: 14px; + text-decoration: none; + color: $gray2; + padding-top: 2px; + } + } + + &__titulo { + padding: 80px 0; + .titulo-text { + font-size: 24px; + line-height: 28px; + text-align: center; + margin: 0; + font-weight: 400; + } + } + &__newsletter { display: flex; flex-direction: column; @@ -98,6 +126,9 @@ @media screen and (max-width: 1024px) { .main-wrapper { + &__caminho { + padding: 29px 0 0 16px; + } &__newsletter { padding: 16px; width: auto; @@ -135,6 +166,30 @@ @media screen and (min-width: 2500px) { .main-wrapper { + &__caminho { + gap: 12px; + .caminho-image { + width: 31px; + } + + .caminho-seta { + width: 9px; + height: 16px; + } + + a { + font-size: 24px; + line-height: 28px; + } + } + + &__titulo { + .titulo-text { + font-size: 48px; + line-height: 56px; + } + } + &__newsletter { width: 39.7%; &-title {