diff --git a/README.md b/README.md
index 96b9d3b..d322d72 100644
--- a/README.md
+++ b/README.md
@@ -1,93 +1,8 @@
# Desafio REACT e Typescript
+Para rodar o projeto, use o no terminal:
+cd react-project
+npm start
-## Getting started
-
-To make it easy for you to get started with GitLab, here's a list of recommended next steps.
-
-Already a pro? Just edit this README.md and make it your own. Want to make it easy? [Use the template at the bottom](#editing-this-readme)!
-
-## Add your files
-
-- [ ] [Create](https://gitlab.com/-/experiment/new_project_readme_content:6ad80019019932803f32a91ae13cb05b?https://docs.gitlab.com/ee/user/project/repository/web_editor.html#create-a-file) or [upload](https://gitlab.com/-/experiment/new_project_readme_content:6ad80019019932803f32a91ae13cb05b?https://docs.gitlab.com/ee/user/project/repository/web_editor.html#upload-a-file) files
-- [ ] [Add files using the command line](https://gitlab.com/-/experiment/new_project_readme_content:6ad80019019932803f32a91ae13cb05b?https://docs.gitlab.com/ee/gitlab-basics/add-file.html#add-a-file-using-the-command-line) or push an existing Git repository with the following command:
-
-```
-cd existing_repo
-git remote add origin https://gitlab.com/m3-academy/fase-06/desafio-react-e-typescript.git
-git branch -M main
-git push -uf origin main
-```
-
-## Integrate with your tools
-
-- [ ] [Set up project integrations](https://gitlab.com/-/experiment/new_project_readme_content:6ad80019019932803f32a91ae13cb05b?https://gitlab.com/m3-academy/fase-06/desafio-react-e-typescript/-/settings/integrations)
-
-## Collaborate with your team
-
-- [ ] [Invite team members and collaborators](https://gitlab.com/-/experiment/new_project_readme_content:6ad80019019932803f32a91ae13cb05b?https://docs.gitlab.com/ee/user/project/members/)
-- [ ] [Create a new merge request](https://gitlab.com/-/experiment/new_project_readme_content:6ad80019019932803f32a91ae13cb05b?https://docs.gitlab.com/ee/user/project/merge_requests/creating_merge_requests.html)
-- [ ] [Automatically close issues from merge requests](https://gitlab.com/-/experiment/new_project_readme_content:6ad80019019932803f32a91ae13cb05b?https://docs.gitlab.com/ee/user/project/issues/managing_issues.html#closing-issues-automatically)
-- [ ] [Enable merge request approvals](https://gitlab.com/-/experiment/new_project_readme_content:6ad80019019932803f32a91ae13cb05b?https://docs.gitlab.com/ee/user/project/merge_requests/approvals/)
-- [ ] [Automatically merge when pipeline succeeds](https://gitlab.com/-/experiment/new_project_readme_content:6ad80019019932803f32a91ae13cb05b?https://docs.gitlab.com/ee/user/project/merge_requests/merge_when_pipeline_succeeds.html)
-
-## Test and Deploy
-
-Use the built-in continuous integration in GitLab.
-
-- [ ] [Get started with GitLab CI/CD](https://gitlab.com/-/experiment/new_project_readme_content:6ad80019019932803f32a91ae13cb05b?https://docs.gitlab.com/ee/ci/quick_start/index.html)
-- [ ] [Analyze your code for known vulnerabilities with Static Application Security Testing(SAST)](https://gitlab.com/-/experiment/new_project_readme_content:6ad80019019932803f32a91ae13cb05b?https://docs.gitlab.com/ee/user/application_security/sast/)
-- [ ] [Deploy to Kubernetes, Amazon EC2, or Amazon ECS using Auto Deploy](https://gitlab.com/-/experiment/new_project_readme_content:6ad80019019932803f32a91ae13cb05b?https://docs.gitlab.com/ee/topics/autodevops/requirements.html)
-- [ ] [Use pull-based deployments for improved Kubernetes management](https://gitlab.com/-/experiment/new_project_readme_content:6ad80019019932803f32a91ae13cb05b?https://docs.gitlab.com/ee/user/clusters/agent/)
-- [ ] [Set up protected environments](https://gitlab.com/-/experiment/new_project_readme_content:6ad80019019932803f32a91ae13cb05b?https://docs.gitlab.com/ee/ci/environments/protected_environments.html)
-
-***
-
-# Editing this README
-
-When you're ready to make this README your own, just edit this file and use the handy template below (or feel free to structure it however you want - this is just a starting point!). Thank you to [makeareadme.com](https://gitlab.com/-/experiment/new_project_readme_content:6ad80019019932803f32a91ae13cb05b?https://www.makeareadme.com/) for this template.
-
-## Suggestions for a good README
-Every project is different, so consider which of these sections apply to yours. The sections used in the template are suggestions for most open source projects. Also keep in mind that while a README can be too long and detailed, too long is better than too short. If you think your README is too long, consider utilizing another form of documentation rather than cutting out information.
-
-## Name
-Choose a self-explaining name for your project.
-
-## Description
-Let people know what your project can do specifically. Provide context and add a link to any reference visitors might be unfamiliar with. A list of Features or a Background subsection can also be added here. If there are alternatives to your project, this is a good place to list differentiating factors.
-
-## Badges
-On some READMEs, you may see small images that convey metadata, such as whether or not all the tests are passing for the project. You can use Shields to add some to your README. Many services also have instructions for adding a badge.
-
-## Visuals
-Depending on what you are making, it can be a good idea to include screenshots or even a video (you'll frequently see GIFs rather than actual videos). Tools like ttygif can help, but check out Asciinema for a more sophisticated method.
-
-## Installation
-Within a particular ecosystem, there may be a common way of installing things, such as using Yarn, NuGet, or Homebrew. However, consider the possibility that whoever is reading your README is a novice and would like more guidance. Listing specific steps helps remove ambiguity and gets people to using your project as quickly as possible. If it only runs in a specific context like a particular programming language version or operating system or has dependencies that have to be installed manually, also add a Requirements subsection.
-
-## Usage
-Use examples liberally, and show the expected output if you can. It's helpful to have inline the smallest example of usage that you can demonstrate, while providing links to more sophisticated examples if they are too long to reasonably include in the README.
-
-## Support
-Tell people where they can go to for help. It can be any combination of an issue tracker, a chat room, an email address, etc.
-
-## Roadmap
-If you have ideas for releases in the future, it is a good idea to list them in the README.
-
-## Contributing
-State if you are open to contributions and what your requirements are for accepting them.
-
-For people who want to make changes to your project, it's helpful to have some documentation on how to get started. Perhaps there is a script that they should run or some environment variables that they need to set. Make these steps explicit. These instructions could also be useful to your future self.
-
-You can also document commands to lint the code or run tests. These steps help to ensure high code quality and reduce the likelihood that the changes inadvertently break something. Having instructions for running tests is especially helpful if it requires external setup, such as starting a Selenium server for testing in a browser.
-
-## Authors and acknowledgment
-Show your appreciation to those who have contributed to the project.
-
-## License
-For open source projects, say how it is licensed.
-
-## Project status
-If you have run out of energy or time for your project, put a note at the top of the README saying that development has slowed down or stopped completely. Someone may choose to fork your project or volunteer to step in as a maintainer or owner, allowing your project to keep going. You can also make an explicit request for maintainers.
-
+O projeto irá rodar localmente na porta 3000.
diff --git a/react-project/README.md b/react-project/README.md
deleted file mode 100644
index de5a25e..0000000
--- a/react-project/README.md
+++ /dev/null
@@ -1 +0,0 @@
-# REACT APP - INSTITUCIONAL
diff --git a/react-project/package-lock.json b/react-project/package-lock.json
index 128dd0d..f310550 100644
--- a/react-project/package-lock.json
+++ b/react-project/package-lock.json
@@ -20,6 +20,7 @@
"react": "^18.2.0",
"react-dom": "^18.2.0",
"react-input-mask": "^2.0.4",
+ "react-modal": "^3.16.1",
"react-router-dom": "^6.6.1",
"react-scripts": "5.0.1",
"react-text-mask": "^5.5.0",
@@ -7827,6 +7828,11 @@
"url": "https://github.com/sindresorhus/execa?sponsor=1"
}
},
+ "node_modules/exenv": {
+ "version": "1.2.2",
+ "resolved": "https://registry.npmjs.org/exenv/-/exenv-1.2.2.tgz",
+ "integrity": "sha512-Z+ktTxTwv9ILfgKCk32OX3n/doe+OcLTRtqK9pcL+JsP3J1/VW8Uvl4ZjLlKqeW4rzK4oesDOGMEMRIZqtP4Iw=="
+ },
"node_modules/exit": {
"version": "0.1.2",
"resolved": "https://registry.npmjs.org/exit/-/exit-0.1.2.tgz",
@@ -15109,6 +15115,29 @@
"resolved": "https://registry.npmjs.org/react-is/-/react-is-17.0.2.tgz",
"integrity": "sha512-w2GsyukL62IJnlaff/nRegPQR94C/XXamvMWmSHRJ4y7Ts/4ocGRmTHvOs8PSE6pB3dWOrD/nueuU5sduBsQ4w=="
},
+ "node_modules/react-lifecycles-compat": {
+ "version": "3.0.4",
+ "resolved": "https://registry.npmjs.org/react-lifecycles-compat/-/react-lifecycles-compat-3.0.4.tgz",
+ "integrity": "sha512-fBASbA6LnOU9dOU2eW7aQ8xmYBSXUIWr+UmF9b1efZBazGNO+rcXT/icdKnYm2pTwcRylVUYwW7H1PHfLekVzA=="
+ },
+ "node_modules/react-modal": {
+ "version": "3.16.1",
+ "resolved": "https://registry.npmjs.org/react-modal/-/react-modal-3.16.1.tgz",
+ "integrity": "sha512-VStHgI3BVcGo7OXczvnJN7yT2TWHJPDXZWyI/a0ssFNhGZWsPmB8cF0z33ewDXq4VfYMO1vXgiv/g8Nj9NDyWg==",
+ "dependencies": {
+ "exenv": "^1.2.0",
+ "prop-types": "^15.7.2",
+ "react-lifecycles-compat": "^3.0.0",
+ "warning": "^4.0.3"
+ },
+ "engines": {
+ "node": ">=8"
+ },
+ "peerDependencies": {
+ "react": "^0.14.0 || ^15.0.0 || ^16 || ^17 || ^18",
+ "react-dom": "^0.14.0 || ^15.0.0 || ^16 || ^17 || ^18"
+ }
+ },
"node_modules/react-refresh": {
"version": "0.11.0",
"resolved": "https://registry.npmjs.org/react-refresh/-/react-refresh-0.11.0.tgz",
@@ -24128,6 +24157,11 @@
"strip-final-newline": "^2.0.0"
}
},
+ "exenv": {
+ "version": "1.2.2",
+ "resolved": "https://registry.npmjs.org/exenv/-/exenv-1.2.2.tgz",
+ "integrity": "sha512-Z+ktTxTwv9ILfgKCk32OX3n/doe+OcLTRtqK9pcL+JsP3J1/VW8Uvl4ZjLlKqeW4rzK4oesDOGMEMRIZqtP4Iw=="
+ },
"exit": {
"version": "0.1.2",
"resolved": "https://registry.npmjs.org/exit/-/exit-0.1.2.tgz",
@@ -29264,6 +29298,22 @@
"resolved": "https://registry.npmjs.org/react-is/-/react-is-17.0.2.tgz",
"integrity": "sha512-w2GsyukL62IJnlaff/nRegPQR94C/XXamvMWmSHRJ4y7Ts/4ocGRmTHvOs8PSE6pB3dWOrD/nueuU5sduBsQ4w=="
},
+ "react-lifecycles-compat": {
+ "version": "3.0.4",
+ "resolved": "https://registry.npmjs.org/react-lifecycles-compat/-/react-lifecycles-compat-3.0.4.tgz",
+ "integrity": "sha512-fBASbA6LnOU9dOU2eW7aQ8xmYBSXUIWr+UmF9b1efZBazGNO+rcXT/icdKnYm2pTwcRylVUYwW7H1PHfLekVzA=="
+ },
+ "react-modal": {
+ "version": "3.16.1",
+ "resolved": "https://registry.npmjs.org/react-modal/-/react-modal-3.16.1.tgz",
+ "integrity": "sha512-VStHgI3BVcGo7OXczvnJN7yT2TWHJPDXZWyI/a0ssFNhGZWsPmB8cF0z33ewDXq4VfYMO1vXgiv/g8Nj9NDyWg==",
+ "requires": {
+ "exenv": "^1.2.0",
+ "prop-types": "^15.7.2",
+ "react-lifecycles-compat": "^3.0.0",
+ "warning": "^4.0.3"
+ }
+ },
"react-refresh": {
"version": "0.11.0",
"resolved": "https://registry.npmjs.org/react-refresh/-/react-refresh-0.11.0.tgz",
diff --git a/react-project/package.json b/react-project/package.json
index 081aa34..8d8bcc3 100644
--- a/react-project/package.json
+++ b/react-project/package.json
@@ -15,6 +15,7 @@
"react": "^18.2.0",
"react-dom": "^18.2.0",
"react-input-mask": "^2.0.4",
+ "react-modal": "^3.16.1",
"react-router-dom": "^6.6.1",
"react-scripts": "5.0.1",
"react-text-mask": "^5.5.0",
diff --git a/react-project/public/index.html b/react-project/public/index.html
index 2923ec7..90fbfb0 100644
--- a/react-project/public/index.html
+++ b/react-project/public/index.html
@@ -1,5 +1,5 @@
-
+
@@ -9,34 +9,11 @@
content="Web site created using create-react-app"
/>
-
-
-
- React App
+
+ Desafio React M3
-
-
+
diff --git a/react-project/public/logo512.png b/react-project/public/logo512.png
deleted file mode 100644
index a4e47a6..0000000
Binary files a/react-project/public/logo512.png and /dev/null differ
diff --git a/react-project/src/App.tsx b/react-project/src/App.tsx
index 773fa05..6354bed 100644
--- a/react-project/src/App.tsx
+++ b/react-project/src/App.tsx
@@ -1,4 +1,5 @@
import React from "react";
+
import logo from "./logo.svg";
import "../src/assets/styles/global.scss";
import { Institucional } from "./pages/Institucional";
diff --git a/react-project/src/Declarations.d.ts b/react-project/src/Declarations.d.ts
index b614a49..ff21304 100644
--- a/react-project/src/Declarations.d.ts
+++ b/react-project/src/Declarations.d.ts
@@ -1 +1,2 @@
declare module "react-text-mask";
+declare module "react-modal";
diff --git a/react-project/src/assets/styles/variables.scss b/react-project/src/assets/styles/variables.scss
index b14bee3..cf335db 100644
--- a/react-project/src/assets/styles/variables.scss
+++ b/react-project/src/assets/styles/variables.scss
@@ -12,6 +12,8 @@
--gray-200: #7d7d7d;
--gray-300: #e5e5e5;
--gray-400: #b9b7b7;
+ --gray-500: #f2f2f2;
+ --gray-600: #c6c6c6;
--red-100: #ff0000;
diff --git a/react-project/src/components/Footer.tsx b/react-project/src/components/Footer/Footer.tsx
similarity index 84%
rename from react-project/src/components/Footer.tsx
rename to react-project/src/components/Footer/Footer.tsx
index 09fef9a..354d4b6 100644
--- a/react-project/src/components/Footer.tsx
+++ b/react-project/src/components/Footer/Footer.tsx
@@ -1,5 +1,3 @@
-import React from "react";
-
import { Newsletter } from "./Newsletter";
const Footer = () => {
diff --git a/react-project/src/components/Newsletter.tsx b/react-project/src/components/Footer/Newsletter.tsx
similarity index 94%
rename from react-project/src/components/Newsletter.tsx
rename to react-project/src/components/Footer/Newsletter.tsx
index 75a9a5b..f2c7f57 100644
--- a/react-project/src/components/Newsletter.tsx
+++ b/react-project/src/components/Footer/Newsletter.tsx
@@ -1,4 +1,4 @@
-import newsletter from "../assets/styles/modules/Newsletter.module.scss";
+import newsletter from "./assets/modules/Newsletter.module.scss";
import { Formik, Form, Field, ErrorMessage } from "formik";
diff --git a/react-project/src/assets/styles/modules/Newsletter.module.scss b/react-project/src/components/Footer/assets/modules/Newsletter.module.scss
similarity index 100%
rename from react-project/src/assets/styles/modules/Newsletter.module.scss
rename to react-project/src/components/Footer/assets/modules/Newsletter.module.scss
diff --git a/react-project/src/components/Header.tsx b/react-project/src/components/Header.tsx
deleted file mode 100644
index b4c852b..0000000
--- a/react-project/src/components/Header.tsx
+++ /dev/null
@@ -1,7 +0,0 @@
-import React from "react";
-
-const Header = () => {
- return Header;
-};
-
-export { Header };
diff --git a/react-project/src/components/Header/Cart.tsx b/react-project/src/components/Header/Cart.tsx
new file mode 100644
index 0000000..8eea37f
--- /dev/null
+++ b/react-project/src/components/Header/Cart.tsx
@@ -0,0 +1,15 @@
+import cart from "./assets/svgs/cart.svg";
+
+import cartStyle from "./assets/modules/Cart.module.scss";
+
+const Cart = () => {
+ return (
+
+
+
+ );
+};
+
+export { Cart };
diff --git a/react-project/src/components/Header/Hamburguer.tsx b/react-project/src/components/Header/Hamburguer.tsx
new file mode 100644
index 0000000..247d859
--- /dev/null
+++ b/react-project/src/components/Header/Hamburguer.tsx
@@ -0,0 +1,49 @@
+import { useState } from "react";
+import Modal from "react-modal";
+
+import hamburguer from "./assets/modules/Hamburguer.module.scss";
+
+import hamb from "./assets/svgs/hamburguer.svg";
+import close from "./assets/svgs/close.svg";
+
+const Hamburguer = () => {
+ const [hambActive, setHamb] = useState(false);
+ const HambMode = () => {
+ setHamb(!hambActive);
+ };
+
+ return (
+ <>
+
+
+