From bee11a3783b87c2201e3579508fb3cd6c87ad9b7 Mon Sep 17 00:00:00 2001 From: MateusLopes Date: Wed, 11 Jan 2023 13:43:50 -0300 Subject: [PATCH] fix: separando componente main --- src/pages/App.tsx | 47 ++------------ src/pages/app.scss | 158 --------------------------------------------- 2 files changed, 4 insertions(+), 201 deletions(-) diff --git a/src/pages/App.tsx b/src/pages/App.tsx index 3c7d3e8..f60f5a4 100644 --- a/src/pages/App.tsx +++ b/src/pages/App.tsx @@ -1,51 +1,12 @@ -import Header from "../components/header/Header"; -import Footer from "../components/footer/Footer"; -import iconHome from '../assets/svgs/icon-home.svg'; -import iconArrowRight from '../assets/svgs/icon-arrow-right.svg'; -import { ContactForm } from "../components/form/ContactForm"; +import { Header } from "../components/header/Header"; +import { Footer } from "../components/footer/Footer"; +import { Main } from "../components/main/Main"; function App() { return (
-
-
- Icone de casa - Seta para direita -
Institucional
-
- -

- Institucional -

- -
-
    -
  • Sobre
  • -
  • Forma de Pagamento
  • -
  • Entrega
  • -
  • Troca e Devolução
  • -
  • Segurança e Privacidade
  • -
  • Contato
  • -
- -
-

Sobre

-
-

Lorem ipsum dolor sit amet, consectetur adipiscing elit, sed do eiusmod tempor incididunt ut labore et dolore magna aliqua. Ut enim ad minim veniam, quis nostrud exercitation ullamco laboris nisi ut aliquip ex ea commodo consequat. Duis aute irure dolor in reprehenderit in voluptate velit esse cillum dolore eu fugiat nulla pariatur. Excepteur sint occaecat cupidatat non proident, sunt in culpa qui officia deserunt mollit anim id est laborum.

-
-

Sed ut perspiciatis unde omnis iste natus error sit voluptatem accusantium doloremque laudantium, totam rem aperiam, eaque ipsa quae ab illo inventore veritatis et quasi architecto beatae vitae dicta sunt explicabo. Nemo enim ipsam voluptatem quia voluptas sit aspernatur aut odit aut fugit, sed quia consequuntur magni dolores eos qui ratione voluptatem sequi nesciunt. Neque porro quisquam est, qui dolorem ipsum quia dolor sit amet, consectetur, adipisci velit, sed quia non numquam eius modi tempora incidunt ut labore et dolore magnam aliquam quaerat voluptatem.

-
-

Ut enim ad minima veniam, quis nostrum exercitationem ullam corporis suscipit laboriosam, nisi ut aliquid ex ea commodi consequatur? Quis autem vel eum iure reprehenderit qui in ea voluptate velit esse quam nihil molestiae consequatur, vel illum qui dolorem eum fugiat quo voluptas nulla pariatur?

-
-
- -
-

Preencha o formulário

- -
-
-
+
); diff --git a/src/pages/app.scss b/src/pages/app.scss index bedd0a6..b34e00b 100644 --- a/src/pages/app.scss +++ b/src/pages/app.scss @@ -3,161 +3,3 @@ body { width: 100%; font-family: $font-family-Roboto; } - -.main { - padding: 29px 100px 70px 100px; - - @media (max-width: 1024px) { - padding: 29px 16px 70px 16px; - } - - .article-name { - display: flex; - gap: 8px; - - @media (min-width: 2500px) { - gap: 8.75px; - - img.icon-home { - width: 31.25px; - } - - img.icon-arrow-right { - width: 15.62px; - } - } - - h5.article-name-title { - font-family: $font-family-Roboto; - font-weight: 400; - font-size: 12px; - line-height: 14px; - text-transform: uppercase; - color: $color-gray-600; - - @media (min-width: 2500px) { - font-size: 24px; - line-height: 28px; - } - } - } - - h1.article-title { - font-family: $font-family-Roboto; - font-weight: 400; - font-size: 24px; - line-height: 28px; - letter-spacing: 0.1em; - text-transform: uppercase; - text-align: center; - color: $color-gray-200; - margin: 80px 0; - - @media (max-width: 1024px) { - margin: 80px 0 40px 0; - } - - @media (min-width: 2500px) { - font-size: 48px; - line-height: 56px; - } - } - - article.article-container { - display: flex; - gap: 30px; - - @media (max-width: 1024px) { - flex-direction: column; - } - - ul.sections-list { - border-right: 1px solid $color-black; - width: 28.094%; - - @media (max-width: 1024px) { - width: 100%; - border-right: none; - } - - @media (min-width: 2500px) { - width: 25.6523%; - } - - li { - font-family: $font-family-Roboto; - color: $color-gray-350; - font-weight: 400; - font-size: 16px; - line-height: 19px; - padding: 10px 0 10px 16px; - - @media (min-width: 2500px) { - font-size: 32px; - line-height: 38px; - } - } - - li.active { - color: $color-white; - background-color: $color-black; - font-weight: 700; - } - } - - section { - display: none; - } - - section.active { - display: block; - width: 69.26%; - margin-bottom: 11px; - - @media (max-width: 1024px) { - width: 100%; - } - - @media (min-width: 2500px) { - width: 73.044%; - } - - h2.section-title { - font-family: $font-family-Roboto; - font-weight: 700; - font-size: 24px; - line-height: 28px; - margin-bottom: 12px; - color: $color-gray-200; - - @media (max-width: 1024px) { - text-align: center; - } - - @media (min-width: 2500px) { - font-size: 48px; - line-height: 56px; - } - } - - .section-description p { - font-family: $font-family-Roboto; - font-weight: 400; - font-size: 13px; - line-height: 15px; - color: $color-gray-350; - - @media (max-width: 1024px) { - font-size: 12px; - line-height: 18px; - text-align: justify; - } - - @media (min-width: 2500px) { - font-size: 26px; - line-height: 30px; - } - } - } - } -}