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 ( -
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 ( -
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 ( -
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 ( -
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 ( -
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 (
+