diff --git a/src/components/section/ContentEntrega.tsx b/src/components/section/ContentEntrega.tsx index d8bd0d7..48181a7 100644 --- a/src/components/section/ContentEntrega.tsx +++ b/src/components/section/ContentEntrega.tsx @@ -2,12 +2,12 @@ import React from "react"; // Estilos -//import styleContentEntrega from "./ContentEntrega.module.scss"; +import styleContentInstitucional from "./ContentInstitucional.module.scss"; const ContentEntrega = () => { return ( -
-

Forma de Pagamento

+
+

Entrega e Devolução

Lorem ipsum dolor sit amet consectetur adipisicing elit. Saepe, alias, diff --git a/src/components/section/ContentInstitucional.tsx b/src/components/section/ContentInstitucional.tsx deleted file mode 100644 index 605109a..0000000 --- a/src/components/section/ContentInstitucional.tsx +++ /dev/null @@ -1,31 +0,0 @@ -// Bibliotecas -import React from "react"; -import { Routes, Route } from "react-router-dom"; - -// Estilos -import styleContentInstitucional from "./ContentInstitucional.module.scss"; - -import { ContentPagamento } from "./ContentPagamento"; -import { ContentEntrega } from "./ContentEntrega"; -import { ContentTroca } from "./ContentTroca"; -import { ContentSeguranca } from "./ContentSeguranca"; -import { ContentContato } from "./ContentContato"; -import { ContentSobre } from "./ContentSobre"; - -const ContentInstitucional = () => { - return ( -

- - } /> - } /> - } /> - } /> - } /> - } /> - } /> - -
- ); -}; - -export { ContentInstitucional }; diff --git a/src/components/section/ContentPagamento.tsx b/src/components/section/ContentPagamento.tsx index 73e1531..5808e62 100644 --- a/src/components/section/ContentPagamento.tsx +++ b/src/components/section/ContentPagamento.tsx @@ -2,11 +2,11 @@ import React from "react"; // Estilos -//import styleContentPagamento from "./ContentPagamento.module.scss"; +import styleContentInstitucional from "./ContentInstitucional.module.scss"; const ContentPagamento = () => { return ( -
+

Forma de Pagamento

diff --git a/src/components/section/ContentSeguranca.tsx b/src/components/section/ContentSeguranca.tsx index dedd0bd..5fa975b 100644 --- a/src/components/section/ContentSeguranca.tsx +++ b/src/components/section/ContentSeguranca.tsx @@ -2,11 +2,11 @@ import React from "react"; // Estilos -//import styleContentSeguranca from "./ContentSeguranca.module.scss"; +import styleContentInstitucional from "./ContentInstitucional.module.scss"; const ContentSeguranca = () => { return ( -

+

Segurança e Privacidade

diff --git a/src/components/section/ContentSobre.tsx b/src/components/section/ContentSobre.tsx index e499ba0..e329af8 100644 --- a/src/components/section/ContentSobre.tsx +++ b/src/components/section/ContentSobre.tsx @@ -1,9 +1,12 @@ // Bibliotecas import React from "react"; +// Estilos +import styleContentInstitucional from "./ContentInstitucional.module.scss"; + const ContentSobre = () => { return ( -

+

Sobre

diff --git a/src/components/section/ContentTroca.tsx b/src/components/section/ContentTroca.tsx index c5efc7d..48f0830 100644 --- a/src/components/section/ContentTroca.tsx +++ b/src/components/section/ContentTroca.tsx @@ -2,11 +2,11 @@ import React from "react"; // Estilos -//import styleContentTroca from "./ContentTroca.module.scss"; +import styleContentInstitucional from "./ContentInstitucional.module.scss"; const ContentTroca = () => { return ( -

+

Troca e Devolução

diff --git a/src/components/section/NavInstitucional.module.scss b/src/components/section/NavInstitucional.module.scss index 59e5a1d..4b86b6a 100644 --- a/src/components/section/NavInstitucional.module.scss +++ b/src/components/section/NavInstitucional.module.scss @@ -19,10 +19,11 @@ } li { - padding: 10px 16px; + display: flex; + align-items: center; width: 302px; height: 39px; - + @media (min-width: 2500px) { width: 590px; height: 58px; @@ -47,16 +48,16 @@ } .active { + display: flex; background-color: $black; + width: 100%; + padding: 10px 16px; + color: $white; + font-weight: 700; - a { - color: $white; - font-weight: 700; - - @media (min-width: 2500px) { - font-size: 32px; - line-height: 38px; - } + @media (min-width: 2500px) { + font-size: 32px; + line-height: 38px; } } } diff --git a/src/components/section/NavInstitucional.tsx b/src/components/section/NavInstitucional.tsx deleted file mode 100644 index f933cf0..0000000 --- a/src/components/section/NavInstitucional.tsx +++ /dev/null @@ -1,46 +0,0 @@ -// Bibliotecas -import React from "react"; - -// Estilos -import styleNavInstitucional from "./NavInstitucional.module.scss"; - -import { ContentPagamento } from "./ContentPagamento"; -import { ContentEntrega } from "./ContentEntrega"; -import { ContentTroca } from "./ContentTroca"; -import { ContentSeguranca } from "./ContentSeguranca"; -import { ContentContato } from "./ContentContato"; -import { ContentSobre } from "./ContentSobre"; - -const NavInstitucional = () => { - return ( -

- ); -}; - -export { NavInstitucional }; diff --git a/src/components/section/Router.tsx b/src/components/section/Router.tsx new file mode 100644 index 0000000..1829b03 --- /dev/null +++ b/src/components/section/Router.tsx @@ -0,0 +1,103 @@ +// Bibliotecas +import React from "react"; +import { Routes, Route, NavLink } from "react-router-dom"; + +// Componentes +import { ContentPagamento } from "./ContentPagamento"; +import { ContentEntrega } from "./ContentEntrega"; +import { ContentTroca } from "./ContentTroca"; +import { ContentSeguranca } from "./ContentSeguranca"; +import { ContentContato } from "./ContentContato"; +import { ContentSobre } from "./ContentSobre"; + +// Estilos +import styleNavInstitucional from "./NavInstitucional.module.scss"; +import styleSection from "./Section.module.scss"; + +const Institucional = () => { + return ( +
+ + + + } /> + } /> + } /> + } /> + } /> + } /> + } /> + +
+ ); +}; + +export { Institucional }; diff --git a/src/pages/Section.tsx b/src/pages/Section.tsx index 738ff92..72712e2 100644 --- a/src/pages/Section.tsx +++ b/src/pages/Section.tsx @@ -4,22 +4,14 @@ import React from "react"; // Componentes import { Breadcrumb } from "../components/section/Breadcrumb"; import { TitleInstitucional } from "../components/section/TitleInstitucional"; -import { NavInstitucional } from "../components/section/NavInstitucional"; -import { ContentInstitucional } from "../components/section/ContentInstitucional"; - -// Estilos -import styleSection from "../components/section/Section.module.scss"; +import { Institucional } from "../components/section/Router"; const Section = () => { return (
- -
- - -
+
); };