diff --git a/src/components/Main/Contato.jsx b/src/components/Main/Contato/Contato.jsx similarity index 98% rename from src/components/Main/Contato.jsx rename to src/components/Main/Contato/Contato.jsx index 6ea923a..5960e50 100644 --- a/src/components/Main/Contato.jsx +++ b/src/components/Main/Contato/Contato.jsx @@ -1,5 +1,5 @@ import { Formik, Field, Form, ErrorMessage } from "formik"; -import schema from "./schema.js"; +import schema from "../schema.js"; const Contato = () => { return ( diff --git a/src/components/Main/Entrega.tsx b/src/components/Main/Entrega/Entrega.tsx similarity index 100% rename from src/components/Main/Entrega.tsx rename to src/components/Main/Entrega/Entrega.tsx diff --git a/src/components/Main/FormaDePagamento.tsx b/src/components/Main/FormaDePagamento/FormaDePagamento.tsx similarity index 100% rename from src/components/Main/FormaDePagamento.tsx rename to src/components/Main/FormaDePagamento/FormaDePagamento.tsx diff --git a/src/components/Main/SegurancaEPrivacidade.tsx b/src/components/Main/SegurancaEPrivacidade/SegurancaEPrivacidade.tsx similarity index 100% rename from src/components/Main/SegurancaEPrivacidade.tsx rename to src/components/Main/SegurancaEPrivacidade/SegurancaEPrivacidade.tsx diff --git a/src/components/Main/Sobre.tsx b/src/components/Main/Sobre/Sobre.tsx similarity index 100% rename from src/components/Main/Sobre.tsx rename to src/components/Main/Sobre/Sobre.tsx diff --git a/src/components/Main/TrocaEDevolucao.tsx b/src/components/Main/TrocaEDevolucao/TrocaEDevolucao.tsx similarity index 100% rename from src/components/Main/TrocaEDevolucao.tsx rename to src/components/Main/TrocaEDevolucao/TrocaEDevolucao.tsx diff --git a/src/config/routes.js b/src/config/routes.js index 956ac57..c2f1fc6 100644 --- a/src/config/routes.js +++ b/src/config/routes.js @@ -1,9 +1,9 @@ -import Sobre from "../components/Main/Sobre"; -import FormaDePagamento from "../components/Main/FormaDePagamento"; -import Entrega from "../components/Main/Entrega"; -import TrocaEDevolucao from "../components/Main/TrocaEDevolucao"; -import SegurancaEPrivacidade from "../components/Main/SegurancaEPrivacidade"; -import Contato from "../components/Main/Contato"; +import Sobre from "../components/Main/Sobre/Sobre"; +import FormaDePagamento from "../components/Main/FormaDePagamento/FormaDePagamento"; +import Entrega from "../components/Main/Entrega/Entrega"; +import TrocaEDevolucao from "../components/Main/TrocaEDevolucao/TrocaEDevolucao"; +import SegurancaEPrivacidade from "../components/Main/SegurancaEPrivacidade/SegurancaEPrivacidade"; +import Contato from "../components/Main/Contato/Contato"; import { Routes, Route } from "react-router-dom"; const Rotas = () => {