Merge pull request 'feature/desafio-react-e-typescript' (#1) from feature/desafio-react-e-typescript into main

Reviewed-on: #1
This commit is contained in:
Eleonora Otz de Mendonça Soares 2023-01-17 12:15:43 +00:00
commit 9a802ad09a
72 changed files with 32356 additions and 73 deletions

23
.gitignore vendored Normal file
View File

@ -0,0 +1,23 @@
# See https://help.github.com/articles/ignoring-files/ for more about ignoring files.
# dependencies
/node_modules
/.pnp
.pnp.js
# testing
/coverage
# production
/build
# misc
.DS_Store
.env.local
.env.development.local
.env.test.local
.env.production.local
npm-debug.log*
yarn-debug.log*
yarn-error.log*

View File

@ -1,93 +1,46 @@
# Desafio REACT e Typescript
# Getting Started with Create React App
This project was bootstrapped with [Create React App](https://github.com/facebook/create-react-app).
## Available Scripts
## Getting started
In the project directory, you can run:
To make it easy for you to get started with GitLab, here's a list of recommended next steps.
### `npm start`
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)!
Runs the app in the development mode.\
Open [http://localhost:3000](http://localhost:3000) to view it in the browser.
## Add your files
The page will reload if you make edits.\
You will also see any lint errors in the console.
- [ ] [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:
### `npm test`
```
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
```
Launches the test runner in the interactive watch mode.\
See the section about [running tests](https://facebook.github.io/create-react-app/docs/running-tests) for more information.
## Integrate with your tools
### `npm run build`
- [ ] [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)
Builds the app for production to the `build` folder.\
It correctly bundles React in production mode and optimizes the build for the best performance.
## Collaborate with your team
The build is minified and the filenames include the hashes.\
Your app is ready to be deployed!
- [ ] [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)
See the section about [deployment](https://facebook.github.io/create-react-app/docs/deployment) for more information.
## Test and Deploy
### `npm run eject`
Use the built-in continuous integration in GitLab.
**Note: this is a one-way operation. Once you `eject`, you cant go back!**
- [ ] [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)
If you arent satisfied with the build tool and configuration choices, you can `eject` at any time. This command will remove the single build dependency from your project.
***
Instead, it will copy all the configuration files and the transitive dependencies (webpack, Babel, ESLint, etc) right into your project so you have full control over them. All of the commands except `eject` will still work, but they will point to the copied scripts so you can tweak them. At this point youre on your own.
# Editing this README
You dont have to ever use `eject`. The curated feature set is suitable for small and middle deployments, and you shouldnt feel obligated to use this feature. However we understand that this tool wouldnt be useful if you couldnt customize it when you are ready for it.
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.
## Learn More
## 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.
You can learn more in the [Create React App documentation](https://facebook.github.io/create-react-app/docs/getting-started).
To learn React, check out the [React documentation](https://reactjs.org/).

29265
package-lock.json generated Normal file

File diff suppressed because it is too large Load Diff

57
package.json Normal file
View File

@ -0,0 +1,57 @@
{
"name": "desafio-react-e-typescript-eleonora-otz",
"version": "0.1.0",
"private": true,
"dependencies": {
"@testing-library/jest-dom": "^5.16.5",
"@testing-library/react": "^13.4.0",
"@testing-library/user-event": "^13.5.0",
"@types/jest": "^27.5.2",
"@types/node": "^16.18.11",
"@types/react": "^18.0.26",
"@types/react-dom": "^18.0.10",
"cpf-cnpj-validator": "^1.0.3",
"formik": "^2.2.9",
"react": "^18.2.0",
"react-dom": "^18.2.0",
"react-headless-accordion": "^1.0.2",
"react-modal": "^3.16.1",
"react-router-dom": "^6.6.1",
"react-scripts": "5.0.1",
"react-scroll-to-top": "^3.0.0",
"react-text-mask": "^5.5.0",
"sass": "^1.57.1",
"typescript": "^4.9.4",
"web-vitals": "^2.1.4",
"yup": "^0.32.11"
},
"scripts": {
"start": "react-scripts start",
"build": "react-scripts build",
"test": "react-scripts test",
"eject": "react-scripts eject"
},
"eslintConfig": {
"extends": [
"react-app",
"react-app/jest"
]
},
"browserslist": {
"production": [
">0.2%",
"not dead",
"not op_mini all"
],
"development": [
"last 1 chrome version",
"last 1 firefox version",
"last 1 safari version"
]
},
"devDependencies": {
"@types/babel__core": "^7.1.20",
"@types/react-modal": "^3.13.1",
"@types/react-text-mask": "^5.4.11"
}
}

BIN
public/favicon.ico Normal file

Binary file not shown.

After

Width:  |  Height:  |  Size: 4.2 KiB

28
public/index.html Normal file
View File

@ -0,0 +1,28 @@
<!DOCTYPE html>
<html lang="pt-br">
<head>
<meta charset="utf-8" />
<link rel="icon" href="%PUBLIC_URL%/favicon.ico" />
<meta name="viewport" content="width=device-width, initial-scale=1" />
<meta name="theme-color" content="#000000" />
<meta
name="description"
content="Web site created using create-react-app"
/>
<title>M3 Academy</title>
</head>
<body>
<noscript>You need to enable JavaScript to run this app.</noscript>
<div id="root"></div>
<!--
This HTML file is a template.
If you open it directly in the browser, you will see an empty page.
You can add webfonts, meta tags, or analytics to this file.
The build step will place the bundled scripts into the <body> tag.
To begin the development, run `npm start` or `yarn start`.
To create a production bundle, use `npm run build` or `yarn build`.
-->
</body>
</html>

25
public/manifest.json Normal file
View File

@ -0,0 +1,25 @@
{
"short_name": "React App",
"name": "Create React App Sample",
"icons": [
{
"src": "favicon.ico",
"sizes": "64x64 32x32 24x24 16x16",
"type": "image/x-icon"
},
{
"src": "logo192.png",
"type": "image/png",
"sizes": "192x192"
},
{
"src": "logo512.png",
"type": "image/png",
"sizes": "512x512"
}
],
"start_url": ".",
"display": "standalone",
"theme_color": "#000000",
"background_color": "#ffffff"
}

3
public/robots.txt Normal file
View File

@ -0,0 +1,3 @@
# https://www.robotstxt.org/robotstxt.html
User-agent: *
Disallow:

Binary file not shown.

After

Width:  |  Height:  |  Size: 6.2 KiB

Binary file not shown.

After

Width:  |  Height:  |  Size: 1.6 KiB

Binary file not shown.

After

Width:  |  Height:  |  Size: 1.8 KiB

File diff suppressed because one or more lines are too long

After

Width:  |  Height:  |  Size: 92 KiB

View File

@ -0,0 +1,3 @@
<svg width="6" height="8" viewBox="0 0 6 8" fill="none" xmlns="http://www.w3.org/2000/svg">
<path d="M5.11608 3.60396L1.6762 0.164193C1.45738 -0.0547314 1.10261 -0.0547314 0.883896 0.164193C0.665166 0.382921 0.665166 0.737679 0.883896 0.95639L3.92766 4.00006L0.883984 7.04362C0.665255 7.26244 0.665255 7.61716 0.883984 7.83589C1.10271 8.0547 1.45747 8.0547 1.67629 7.83589L5.11617 4.39607C5.22553 4.28665 5.28015 4.1434 5.28015 4.00008C5.28015 3.85668 5.22543 3.71332 5.11608 3.60396Z" fill="#C4C4C4"/>
</svg>

After

Width:  |  Height:  |  Size: 510 B

View File

@ -0,0 +1,4 @@
<svg xmlns="http://www.w3.org/2000/svg" xmlns:xlink="http://www.w3.org/1999/xlink" width="66" height="66" viewBox="0 0 66 66">
<image width="66" height="66" xlink:href="data:img/png;base64,iVBORw0KGgoAAAANSUhEUgAAAEIAAABCCAYAAADjVADoAAAD7UlEQVR4nO1czVXjMBAeyQ4HTukAU8GGYwiwpAKgAqCCpYOFDnYrIFsBbAXOAoEjdLCmgs2Ng2zNvsmT8xzHTmzH/+I78R7EGX18M5JGn8ygBLy8vFhCiGPO+RfGmIWIFgB0AcAKfbsDAFPGmIOIjpTyj2EYzmAweCs6ysKIeHx8PGaMnSDiBWOsu+HjiKCxlPL30dHRfU4hLiBXImzbtra2ts6llFc5DD4OM1KEEDfD4dDJ66G5EEEEdDqd7wBwkcfzUmCUFyEbEWHbdlcRcLVpIBtiY0IyE/H8/Hzqed5tgSmQFg5j7GYwGIyyfDg1ETVSQRx+KHVM03woFRGqFtwBQC+PiAuEI4QYpkmVxETYtt1TJITn/roiFRmJiCASTNO0a1QPkoIWZ8MkC7K1RFA6mKb52kASfCQig6/6paoJTVRCEF1EvKOxrPqjWEWo2eG1QTVhHd5UzYicTWIVoabItpBA6KkxRSJSEZPJ5AIRb0sNsyRIKc+iNm5LRPh1oWVqCGIqhNgNp8hSarQwJcLoRqXIgiKUGv5WFWGZUKqYL7YWFLGqmLQN4bHOFaGTGnwEVTFXhE5q8GGa5ryRFEyN48oiqgiMsW/+N8+IeHh4OG35TBGHLjWZwSeCc35SxyhLAolgnhrapYUPxtg5/chUw+W1FlFVhO3tbYsbhqFjbVjAx8fHkDPGtE0LH1LKHtWInXqEUx3oPJYUoX1qkBi4OpXWGtSK5JoupBZANoWVzVud8EmEwicRClwZL7QGWZWIiFSnxm0EIk45mbZ0JwIA3kkR7zUIpFKQGEgRhVv36g5EHHPP88a6E0FezlkX++np6Z/GS23n4OBgd7aOQMRf1cdTGWYZ4S+oCnGzNgHk5oXgAY+m6TFLCwgusRHxZ6UhVYP5RDEnwnXdTEbNJoP8mEtE0BmglFKnojmKPQ33PO+6kpAqQFANECaCGNKkVozCRtSlfoTrutct35E6YTVAFBHkLZJSXpYWVskgB3+ULTmyQ0WuszamCI0p7hpDbKtOpUibdqaOGlMkYomgFBFCnLWkleesct1CElP6ZDLpIaLd1OU3teFc191bd11hbRebXO3kbm/iTKJISHRnI1E7n8gQQuw1LE0cRUKiOpflKlMT7Mn0jztLc5Up1QEPPZiUUeeplWJLe58LNrnuqBz8tfFtUz0wDONyf38/U5Mp85EfLUyI+TrsWEkFruvuZiUB8rwSbRjGNef8PI/npUA9rkSHESDka1EpQykAAKSApR3kJijstQnKzXuaBylq8JSC94eHh4Wcw5TyIg1anXqeZ5GDj3O+k+RFGlLKdzqF63Q6436/X+z6BQD+A8td0q9G7QDqAAAAAElFTkSuQmCC"/>
<image id="Vector_1_" data-name="Vector (1)" x="20" y="26" width="25" height="13" xlink:href="data:img/png;base64,iVBORw0KGgoAAAANSUhEUgAAABkAAAANCAYAAABcrsXuAAABFUlEQVQ4ja3SLUsEURjFcYeVDVs2bbMIVqsYRYymbSb3Gyz4ATSYtRmNNsFgMxkUi1ksmgyi4rv4gviTC3fwMgzrjO4pM3fueZ7/ee6dkarCLK5wh8XKhTUAXTz50TOWhgnoFQC5Amh1GIB+yQTF9cZ/AMuFhuF9BQuF7y/YQlYXsB5TpoB+sj+PxwJoF40qzTNslgB6Jd4ZPCS+V+yjOQjQwHZMlQK6A2qm4i+d6w3HaJWZm9iLaXKF45irMP0kbpK6D5ygnZpaOMR7YgzHMP0bIOkxgcuk/hNn6OSGg0jPdRvSVQUkoDFc4Cv2Cc9zjIbN9A6uQ6q6gATUiROESYLuMR421uIFn4Y0fwUkoDaOYs8dZN8I0hPIVBZGhgAAAABJRU5ErkJggg=="/>
</svg>

After

Width:  |  Height:  |  Size: 2.1 KiB

File diff suppressed because one or more lines are too long

After

Width:  |  Height:  |  Size: 18 KiB

View File

@ -0,0 +1,4 @@
<svg width="15" height="15" viewBox="0 0 15 15" fill="none" xmlns="http://www.w3.org/2000/svg">
<path d="M11.2284 1.28215L1.22996 10.9942C0.550673 11.6541 0.568968 12.7044 1.27083 13.3401C1.97268 13.9759 3.09232 13.9564 3.77161 13.2966L13.77 3.58449C14.4493 2.92466 14.431 1.87436 13.7292 1.23858C13.0273 0.602806 11.9077 0.622311 11.2284 1.28215Z" fill="white"/>
<path d="M1.65213 3.40819L10.8751 13.7186C11.5082 14.4263 12.6262 14.5239 13.3724 13.9366C14.1185 13.3493 14.2102 12.2995 13.5771 11.5918L4.35414 1.28143C3.72107 0.573715 2.603 0.476092 1.85686 1.06338C1.11072 1.65067 1.01906 2.70048 1.65213 3.40819Z" fill="white"/>
</svg>

After

Width:  |  Height:  |  Size: 638 B

9
src/assets/svgs/elo.svg Normal file

File diff suppressed because one or more lines are too long

After

Width:  |  Height:  |  Size: 25 KiB

View File

@ -0,0 +1,11 @@
<svg width="70" height="71" viewBox="0 0 70 71" fill="none" xmlns="http://www.w3.org/2000/svg">
<g clip-path="url(#clip0_4383_313)">
<path d="M38.3557 55.2232V37.329H44.3468L45.2457 30.3532H38.3557V25.9002C38.3557 23.8812 38.9129 22.5052 41.8052 22.5052L45.4882 22.5037V16.2643C44.8513 16.1814 42.665 15.9912 40.1204 15.9912C34.8068 15.9912 31.1691 19.2415 31.1691 25.2093V30.3532H25.1598V37.329H31.1691V55.2232H38.3557Z" fill="#303030"/>
</g>
<circle cx="35" cy="35.2412" r="34" stroke="#303030" stroke-width="2"/>
<defs>
<clipPath id="clip0_4383_313">
<rect width="39.148" height="39.232" fill="white" transform="translate(15.75 15.9912)"/>
</clipPath>
</defs>
</svg>

After

Width:  |  Height:  |  Size: 670 B

File diff suppressed because one or more lines are too long

After

Width:  |  Height:  |  Size: 24 KiB

10
src/assets/svgs/home.svg Normal file
View File

@ -0,0 +1,10 @@
<svg width="32" height="32" viewBox="0 0 32 32" fill="none" xmlns="http://www.w3.org/2000/svg">
<g clip-path="url(#clip0_3751_556)">
<path d="M30.9231 14.8352L28.692 12.6041L16.4147 0.326808C15.9789 -0.108936 15.2723 -0.108936 14.8365 0.326808L2.55915 12.6041L0.326936 14.8364C-0.101287 15.2798 -0.089058 15.9863 0.354338 16.4146C0.786878 16.8323 1.47257 16.8323 1.90511 16.4146L2.23099 16.0864V30.1339C2.23099 30.7503 2.73069 31.25 3.34713 31.25H27.9018C28.5182 31.25 29.0179 30.7503 29.0179 30.1339V16.0864L29.3449 16.4134C29.7883 16.8417 30.4949 16.8294 30.9231 16.386C31.3408 15.9535 31.3408 15.2677 30.9231 14.8352ZM18.9728 29.0178H12.2761V20.0888H18.9728V29.0178ZM26.7856 29.0178H21.2051V18.9727C21.2051 18.3563 20.7054 17.8566 20.0889 17.8566H11.16C10.5436 17.8566 10.0438 18.3563 10.0438 18.9727V29.0178H4.46327V13.8542L15.6244 2.69296L26.7856 13.8542V29.0178Z" fill="#C4C4C4"/>
</g>
<defs>
<clipPath id="clip0_3751_556">
<rect width="31.25" height="31.25" fill="white"/>
</clipPath>
</defs>
</svg>

After

Width:  |  Height:  |  Size: 1007 B

View File

@ -0,0 +1,13 @@
<svg width="70" height="71" viewBox="0 0 70 71" fill="none" xmlns="http://www.w3.org/2000/svg">
<g clip-path="url(#clip0_4383_318)">
<path d="M44.1992 15.9912H26.5932C20.6143 15.9912 15.75 20.8481 15.75 26.8178V44.3965C15.75 50.3663 20.6143 55.223 26.5932 55.223H44.1992C50.1786 55.223 55.0429 50.3661 55.0429 44.3965V26.8178C55.0431 20.8481 50.1786 15.9912 44.1992 15.9912ZM51.5568 44.3965C51.5568 48.447 48.2563 51.7422 44.1994 51.7422H26.5932C22.5366 51.7424 19.2363 48.447 19.2363 44.3965V26.8178C19.2363 22.7675 22.5366 19.472 26.5932 19.472H44.1992C48.2561 19.472 51.5566 22.7675 51.5566 26.8178V44.3965H51.5568Z" fill="#303030"/>
<path d="M35.3965 25.4987C29.8136 25.4987 25.2717 30.0335 25.2717 35.6077C25.2717 41.1817 29.8136 45.7163 35.3965 45.7163C40.9794 45.7163 45.5213 41.1817 45.5213 35.6077C45.5213 30.0335 40.9794 25.4987 35.3965 25.4987ZM35.3965 42.2352C31.7362 42.2352 28.758 39.2621 28.758 35.6075C28.758 31.9526 31.7359 28.9793 35.3965 28.9793C39.0571 28.9793 42.035 31.9526 42.035 35.6075C42.035 39.2621 39.0568 42.2352 35.3965 42.2352Z" fill="#303030"/>
<path d="M45.9459 22.5472C45.2742 22.5472 44.6144 22.8187 44.14 23.2945C43.6633 23.7679 43.3893 24.4269 43.3893 25.0999C43.3893 25.7707 43.6635 26.4295 44.14 26.9052C44.6141 27.3786 45.2742 27.6525 45.9459 27.6525C46.6199 27.6525 47.2776 27.3786 47.7541 26.9052C48.2305 26.4295 48.5024 25.7705 48.5024 25.0999C48.5024 24.4269 48.2305 23.7679 47.7541 23.2945C47.2799 22.8187 46.6199 22.5472 45.9459 22.5472Z" fill="#303030"/>
</g>
<circle cx="35" cy="35.2412" r="34" stroke="#303030" stroke-width="2"/>
<defs>
<clipPath id="clip0_4383_318">
<rect width="39.2931" height="39.232" fill="white" transform="translate(15.75 15.9912)"/>
</clipPath>
</defs>
</svg>

After

Width:  |  Height:  |  Size: 1.7 KiB

View File

@ -0,0 +1,13 @@
<svg width="70" height="71" viewBox="0 0 70 71" fill="none" xmlns="http://www.w3.org/2000/svg">
<circle cx="35" cy="35.2412" r="34" stroke="#303030" stroke-width="2"/>
<g clip-path="url(#clip0_4383_333)">
<path d="M26.8893 27.9594H20.5962C20.3169 27.9594 20.0906 28.1858 20.0906 28.465V48.6821C20.0906 48.9614 20.3169 49.1877 20.5962 49.1877H26.8893C27.1686 49.1877 27.3949 48.9614 27.3949 48.6821V28.465C27.3949 28.1858 27.1686 27.9594 26.8893 27.9594Z" fill="#303030"/>
<path d="M23.7451 17.9089C21.4553 17.9089 19.5924 19.7698 19.5924 22.0571C19.5924 24.3454 21.4553 26.2069 23.7451 26.2069C26.0331 26.2069 27.8944 24.3453 27.8944 22.0571C27.8945 19.7698 26.0331 17.9089 23.7451 17.9089Z" fill="#303030"/>
<path d="M42.8963 27.4569C40.3688 27.4569 38.5004 28.5435 37.3671 29.7781V28.465C37.3671 28.1858 37.1408 27.9594 36.8615 27.9594H30.8347C30.5554 27.9594 30.3291 28.1858 30.3291 28.465V48.6821C30.3291 48.9614 30.5554 49.1877 30.8347 49.1877H37.1141C37.3934 49.1877 37.6197 48.9614 37.6197 48.6821V38.6793C37.6197 35.3086 38.5353 33.9955 40.8849 33.9955C43.4439 33.9955 43.6473 36.1006 43.6473 38.8528V48.6822C43.6473 48.9615 43.8736 49.1878 44.1529 49.1878H50.4346C50.7139 49.1878 50.9402 48.9615 50.9402 48.6822V37.5928C50.9402 32.5807 49.9845 27.4569 42.8963 27.4569Z" fill="#303030"/>
</g>
<defs>
<clipPath id="clip0_4383_333">
<rect width="31.3478" height="31.3478" fill="white" transform="translate(19.5924 17.8744)"/>
</clipPath>
</defs>
</svg>

After

Width:  |  Height:  |  Size: 1.4 KiB

View File

@ -0,0 +1,4 @@
<svg width="55" height="31" viewBox="0 0 55 31" fill="none" xmlns="http://www.w3.org/2000/svg">
<path d="M32.0509 10.5038C31.193 9.36605 30.1154 8.41986 28.8848 7.72371C27.6543 7.02756 26.2968 6.59626 24.8963 6.45646C23.4959 6.31666 22.0822 6.47133 20.7426 6.91091C19.4031 7.35049 18.1662 8.06564 17.1083 9.01217L16.1944 8.30363C9.91571 3.79137 1.12377 7.62306 0.301235 15.3517C0.0510173 19.0751 -0.0130404 22.8091 0.109311 26.5391C0.0891261 27.0178 0.1656 27.4956 0.333985 27.9428C0.502371 28.3901 0.759074 28.7972 1.08816 29.1391C1.41725 29.4809 1.8117 29.75 2.24702 29.9299C2.68235 30.1097 3.14926 30.1963 3.61878 30.1844C4.07828 30.1823 4.53264 30.0856 4.95456 29.8999C5.37647 29.7142 5.75722 29.4434 6.07393 29.1038C6.39065 28.7641 6.63678 28.3627 6.79754 27.9236C6.9583 27.4845 7.03038 27.0167 7.00943 26.5485C7.00943 23.8635 7.00943 21.1785 7.00943 18.4842C7.00204 17.6854 7.05705 16.8874 7.17394 16.0975C7.32135 15.2891 7.76335 14.5677 8.41104 14.0782C9.05873 13.5887 9.86408 13.3675 10.6651 13.4592C11.4482 13.5194 12.1828 13.8689 12.7313 14.4421C13.2798 15.0154 13.6045 15.773 13.6445 16.573C13.6902 17.5612 13.6445 18.5494 13.6445 19.5377C13.6445 21.943 13.6445 24.3483 13.6445 26.7536C13.6351 27.4512 13.8385 28.1346 14.2266 28.7091C14.6146 29.2837 15.1681 29.721 15.8105 29.9606C18.141 30.9488 20.5172 29.2148 20.5629 26.4832C20.5629 23.3041 20.5629 20.125 20.6543 16.9459C20.6851 16.1774 20.9153 15.431 21.3215 14.783C21.7082 14.2116 22.2686 13.786 22.9162 13.572C23.5637 13.358 24.2623 13.3675 24.904 13.599C25.6279 13.806 26.2608 14.2589 26.6979 14.8828C27.135 15.5067 27.3501 16.2642 27.3077 17.0298C27.3077 20.2462 27.3077 23.4626 27.3077 26.679C27.3077 27.1405 27.3968 27.5976 27.5699 28.024C27.7431 28.4504 27.9969 28.8379 28.3168 29.1643C28.6368 29.4906 29.0166 29.7495 29.4346 29.9262C29.8526 30.1028 30.3007 30.1937 30.7532 30.1937C31.2056 30.1937 31.6537 30.1028 32.0717 29.9262C32.4897 29.7495 32.8695 29.4906 33.1895 29.1643C33.5094 28.8379 33.7632 28.4504 33.9364 28.024C34.1095 27.5976 34.1986 27.1405 34.1986 26.679C34.1986 23.388 34.1986 20.153 34.1986 16.8154C34.2049 14.524 33.4476 12.2985 32.0509 10.5038Z" fill="white"/>
<path d="M49.315 12.3683L48.2275 11.9115C49.3059 11.0538 50.3295 10.3173 51.2434 9.47821C52.0554 8.82607 52.7563 8.04174 53.318 7.15682C54.9631 4.02434 52.6417 0.379101 48.9586 0.295195C45.5588 0.248581 42.1682 0.248581 38.7684 0.248581C38.3519 0.219225 37.9341 0.280017 37.5423 0.426971C37.1505 0.573925 36.7936 0.803718 36.495 1.10128C36.1964 1.39883 35.9629 1.75743 35.8097 2.15354C35.6565 2.54965 35.5872 2.97433 35.6062 3.39971C35.5655 3.83297 35.6176 4.27008 35.759 4.68075C35.9004 5.09141 36.1276 5.4658 36.4249 5.77797C36.7223 6.09014 37.0826 6.33263 37.4809 6.48862C37.8793 6.64461 38.3061 6.71037 38.7318 6.68135C40.3952 6.68135 42.0585 6.68135 43.7218 6.68135C44.0051 6.77458 44.2976 6.77458 44.846 6.77458C42.5886 8.63915 40.5048 10.4105 38.4485 12.1632C37.1233 13.2819 36.7212 14.5032 37.1873 15.8923C37.4349 16.578 37.8962 17.1618 38.5004 17.5542C39.1047 17.9466 39.8185 18.1259 40.5322 18.0646C42.2961 18.0646 44.0691 18.0646 45.833 18.0646C46.2286 17.9899 46.6354 18.0051 47.0246 18.1088C47.4138 18.2125 47.7759 18.4024 48.0851 18.6648C48.3944 18.9273 48.6432 19.256 48.814 19.6275C48.9847 19.9991 49.0732 20.4044 49.0732 20.8148C49.0732 21.2252 48.9847 21.6305 48.814 22.0021C48.6432 22.3736 48.3944 22.7023 48.0851 22.9648C47.7759 23.2272 47.4138 23.4171 47.0246 23.5208C46.6354 23.6245 46.2286 23.6397 45.833 23.565C43.5482 23.565 41.2634 23.565 38.9786 23.565C38.1776 23.6092 37.4238 23.9649 36.8721 24.5588C36.3205 25.1528 36.013 25.9399 36.013 26.7581C36.013 27.5763 36.3205 28.3634 36.8721 28.9574C37.4238 29.5514 38.1776 29.907 38.9786 29.9512C41.3639 29.9512 43.7584 29.9512 46.1437 29.9512C48.2391 29.897 50.2525 29.1097 51.8465 27.7213C53.4406 26.3328 54.5183 24.4277 54.8991 22.3251C55.2027 20.2666 54.8165 18.1638 53.8032 16.3569C52.7898 14.55 51.2085 13.1447 49.315 12.3683Z" fill="white"/>
</svg>

After

Width:  |  Height:  |  Size: 3.9 KiB

File diff suppressed because one or more lines are too long

After

Width:  |  Height:  |  Size: 14 KiB

5
src/assets/svgs/menu.svg Normal file
View File

@ -0,0 +1,5 @@
<svg width="28" height="23" viewBox="0 0 28 23" fill="none" xmlns="http://www.w3.org/2000/svg">
<path d="M26.25 19.0001H1.75002C0.783509 19.0001 0 19.7836 0 20.7501C0 21.7166 0.783508 22.5001 1.75002 22.5001H26.25C27.2165 22.5001 28 21.7166 28 20.7501C28 19.7836 27.2165 19.0001 26.25 19.0001Z" fill="white"/>
<path d="M26.25 9.5H1.75002C0.783509 9.5 0 10.2835 0 11.25C0 12.2165 0.783508 13 1.75002 13H26.25C27.2165 13 28 12.2165 28 11.25C28 10.2835 27.2165 9.5 26.25 9.5Z" fill="white"/>
<path d="M26.25 0H1.75002C0.783509 0 0 0.783509 0 1.75002C0 2.71652 0.783508 3.50003 1.75002 3.50003H26.25C27.2165 3.50003 28 2.71652 28 1.75002C28 0.783509 27.2165 0 26.25 0Z" fill="white"/>
</svg>

After

Width:  |  Height:  |  Size: 688 B

View File

@ -0,0 +1,12 @@
<svg width="55" height="55" viewBox="0 0 55 55" fill="none" xmlns="http://www.w3.org/2000/svg">
<g clip-path="url(#clip0_3751_539)">
<path d="M54.3344 7.95273C54.0351 7.57862 53.5819 7.36086 53.1027 7.36086H11.1231L9.9492 2.27412C9.78398 1.55848 9.14672 1.05151 8.41228 1.05151H1.57728C0.706248 1.05151 0 1.75776 0 2.6289C0 3.50004 0.706248 4.20619 1.57728 4.20619H7.15753L15.1259 38.7358C15.291 39.4515 15.9283 39.9585 16.6628 39.9585H48.2656C49.1367 39.9585 49.8428 39.2522 49.8428 38.3812C49.8428 37.51 49.1366 36.8039 48.2656 36.8039H17.9176L16.7044 31.5462H48.3709C49.1086 31.5462 49.7478 31.0348 49.9097 30.3151L54.6416 9.28438C54.7467 8.81682 54.6338 8.32694 54.3344 7.95273Z" fill="white"/>
<path d="M23.1338 42.0615C19.9449 42.0615 17.3503 44.6559 17.3503 47.845C17.3503 51.0341 19.9448 53.6285 23.1338 53.6285C26.3228 53.6285 28.9173 51.0341 28.9173 47.845C28.9173 44.6559 26.3229 42.0615 23.1338 42.0615Z" fill="white"/>
<path d="M42.0614 42.0615C38.8725 42.0615 36.278 44.6559 36.278 47.845C36.278 51.0341 38.8724 53.6285 42.0614 53.6285C45.2504 53.6285 47.8449 51.0341 47.8449 47.845C47.8449 44.6559 45.2505 42.0615 42.0614 42.0615Z" fill="white"/>
</g>
<defs>
<clipPath id="clip0_3751_539">
<rect width="54.68" height="54.68" fill="white"/>
</clipPath>
</defs>
</svg>

After

Width:  |  Height:  |  Size: 1.3 KiB

File diff suppressed because one or more lines are too long

After

Width:  |  Height:  |  Size: 28 KiB

View File

@ -0,0 +1,10 @@
<svg width="36" height="36" viewBox="0 0 36 36" fill="none" xmlns="http://www.w3.org/2000/svg">
<g clip-path="url(#clip0_3751_533)">
<path d="M25.7949 22.6886C27.5246 20.3265 28.5592 17.4252 28.5592 14.2799C28.5592 6.40637 22.1531 0.000244141 14.2796 0.000244141C6.40606 0.000244141 0 6.40637 0 14.2799C0 22.1534 6.40613 28.5596 14.2797 28.5596C17.4249 28.5596 20.3266 27.5248 22.6886 25.7951L32.0435 35.15L35.15 32.0436C35.15 32.0435 25.7949 22.6886 25.7949 22.6886ZM14.2797 24.1658C8.82824 24.1658 4.39377 19.7313 4.39377 14.2799C4.39377 8.82848 8.82824 4.39401 14.2797 4.39401C19.7311 4.39401 24.1655 8.82848 24.1655 14.2799C24.1655 19.7313 19.731 24.1658 14.2797 24.1658Z" fill="#292929"/>
</g>
<defs>
<clipPath id="clip0_3751_533">
<rect width="35.15" height="35.15" rx="5" fill="white"/>
</clipPath>
</defs>
</svg>

After

Width:  |  Height:  |  Size: 821 B

View File

@ -0,0 +1,4 @@
<svg width="70" height="71" viewBox="0 0 70 71" fill="none" xmlns="http://www.w3.org/2000/svg">
<circle cx="35" cy="35.2412" r="34" stroke="#303030" stroke-width="2"/>
<path d="M59.9828 20.554C58.1893 21.3407 56.2783 21.8622 54.2859 22.1154C56.3356 20.8916 57.9 18.9686 58.6354 16.6506C56.7244 17.79 54.6145 18.5948 52.3659 19.0439C50.5513 17.1118 47.9651 15.9152 45.1438 15.9152C39.67 15.9152 35.2632 20.3581 35.2632 25.8048C35.2632 26.5885 35.3295 27.342 35.4923 28.0594C27.2725 27.6585 19.9992 23.719 15.1132 17.7177C14.2602 19.1976 13.7598 20.8916 13.7598 22.7152C13.7598 26.1394 15.5231 29.1747 18.1515 30.932C16.563 30.9018 15.0047 30.4407 13.6845 29.7142C13.6845 29.7444 13.6845 29.7836 13.6845 29.8227C13.6845 34.6274 17.1116 38.6182 21.6058 39.5376C20.801 39.7576 19.9239 39.8631 19.0136 39.8631C18.3806 39.8631 17.7416 39.8269 17.1418 39.6943C18.4228 43.6098 22.058 46.4883 26.3803 46.5818C23.0165 49.2132 18.7453 50.7987 14.1215 50.7987C13.3107 50.7987 12.533 50.7625 11.7554 50.663C16.135 53.4873 21.3255 55.0999 26.9229 55.0999C45.1167 55.0999 55.0636 40.0289 55.0636 26.9653C55.0636 26.5282 55.0485 26.1062 55.0274 25.6872C56.9897 24.2947 58.6385 22.5555 59.9828 20.554Z" fill="#303030"/>
</svg>

After

Width:  |  Height:  |  Size: 1.2 KiB

9
src/assets/svgs/visa.svg Normal file

File diff suppressed because one or more lines are too long

After

Width:  |  Height:  |  Size: 26 KiB

View File

@ -0,0 +1,7 @@
<svg width="86" height="31" viewBox="0 0 86 31" fill="none" xmlns="http://www.w3.org/2000/svg">
<path d="M61.688 11.474H58.6746V21.7206C58.6746 21.9124 58.5087 22.0768 58.3152 22.0768H55.9929C55.7994 22.0768 55.6335 21.9124 55.6335 21.7206V11.474H52.5924C52.5095 11.474 52.3989 11.4466 52.3436 11.3918C52.2883 11.337 52.233 11.2548 52.233 11.1453V9.33703C52.233 9.25484 52.2607 9.14525 52.3436 9.09046C52.3989 9.03566 52.5095 8.98087 52.5924 9.00826H61.688C61.8815 9.00826 62.0474 9.14525 62.0474 9.33703V11.1453C62.0474 11.337 61.8815 11.474 61.688 11.474Z" fill="white"/>
<path d="M71.3915 21.9948C70.2027 22.1592 68.9863 22.2414 67.7975 22.214C65.5029 22.214 63.4847 21.6387 63.4847 18.4332V12.5975C63.4847 9.39207 65.5306 8.84412 67.8252 8.84412C69.014 8.81672 70.2027 8.89891 71.3915 9.0633C71.6403 9.0907 71.7509 9.20028 71.7509 9.41946V11.0633C71.7509 11.2551 71.585 11.4195 71.3915 11.4195H67.6593C66.8299 11.4195 66.5258 11.6934 66.5258 12.6249V14.214H71.2533C71.4468 14.214 71.6127 14.3784 71.6127 14.5702V16.2414C71.6127 16.4332 71.4468 16.5976 71.2533 16.5976H66.5258V18.4606C66.5258 19.3647 66.8299 19.666 67.6593 19.666H71.3915C71.585 19.666 71.7509 19.8304 71.7509 20.0222V21.666C71.7509 21.8578 71.6403 21.9674 71.3915 21.9948Z" fill="white"/>
<path d="M84.7725 22.0764H81.9526C81.759 22.1038 81.5655 21.9942 81.4826 21.8025L79.0221 17.9668L76.8104 21.7203C76.6998 21.9394 76.5616 22.0764 76.368 22.0764H73.7417C73.6864 22.0764 73.6034 22.0764 73.5481 22.0216C73.4929 21.9668 73.4652 21.9121 73.4652 21.8299C73.4652 21.7751 73.4929 21.7477 73.4929 21.7203L77.3357 15.3641L73.4376 9.33672C73.4099 9.30932 73.4099 9.25452 73.4099 9.22713C73.4099 9.09014 73.5481 8.98055 73.6864 9.00795H76.5892C76.7827 9.00795 76.921 9.17233 77.0316 9.33672L79.2985 12.8984L81.5102 9.33672C81.5932 9.14494 81.759 9.03535 81.9526 9.00795H84.579C84.7172 9.00795 84.8554 9.09014 84.8554 9.22713C84.8554 9.25452 84.8278 9.30932 84.8278 9.33672L80.9573 15.4189L84.9936 21.7203C85.0213 21.7751 85.0489 21.8299 85.0489 21.8847C85.0213 21.9942 84.9107 22.0764 84.7725 22.0764Z" fill="white"/>
<path d="M48.0031 9.03577C47.8649 9.03577 47.7543 9.11796 47.7266 9.25494L45.1555 18.707C45.1279 18.8988 45.0726 18.981 44.9067 18.981C44.7409 18.981 44.6856 18.8988 44.6579 18.707L42.0868 9.25494C42.0592 9.11796 41.9486 9.03577 41.8104 9.03577H39.2669C39.184 9.03577 39.101 9.06316 39.0458 9.14536C38.9905 9.20015 38.9628 9.28234 38.9905 9.36453C38.9905 9.36453 42.1421 20.2138 42.1698 20.3234C42.5845 21.6111 43.6074 22.2412 44.9067 22.2412C46.1508 22.296 47.2843 21.5015 47.6437 20.3234C47.699 20.1864 50.7677 9.36453 50.7677 9.36453C50.7954 9.28234 50.7677 9.20015 50.7124 9.14536C50.6571 9.09056 50.5742 9.03577 50.4912 9.03577H48.0031Z" fill="white"/>
<path d="M33.6271 0.241211H7.16977C6.20215 0.241211 5.31748 0.761759 4.84749 1.55628C4.34986 2.3782 4.32222 3.3919 4.76455 4.21381L7.41858 9.20012H2.60816C1.99994 9.20012 1.41937 9.50148 1.08762 10.022C0.755866 10.5426 0.755866 11.2001 1.03233 11.7481L9.54733 27.6933C9.85144 28.2686 10.4597 28.6248 11.0955 28.6248C11.7314 28.6248 12.3396 28.2686 12.6437 27.6933L14.966 23.3645L17.8688 28.8166C18.3388 29.6933 19.2788 30.2412 20.274 30.2412C21.2693 30.2412 22.2093 29.6933 22.6792 28.8166L35.9494 4.07683C36.3917 3.25491 36.3641 2.26861 35.8664 1.50148C35.4241 0.706964 34.5394 0.241211 33.6271 0.241211ZM21.7946 10.6796L15.9889 21.4741C15.7954 21.8576 15.4083 22.0768 14.966 22.0768C14.5236 22.0768 14.1366 21.8303 13.9431 21.4741L8.22032 10.7892C8.05444 10.4604 8.05444 10.0768 8.24796 9.74806C8.44149 9.41929 8.80089 9.22751 9.16029 9.22751H20.8822C21.2416 9.22751 21.5734 9.3919 21.7393 9.69327C21.9604 9.99464 21.9604 10.3782 21.7946 10.6796Z" fill="white"/>
</svg>

After

Width:  |  Height:  |  Size: 3.6 KiB

View File

@ -0,0 +1,9 @@
<svg width="107" height="67" viewBox="0 0 107 67" fill="none" xmlns="http://www.w3.org/2000/svg" xmlns:xlink="http://www.w3.org/1999/xlink">
<rect x="0.415771" y="0.241211" width="106" height="66" fill="url(#pattern0)"/>
<defs>
<pattern id="pattern0" patternContentUnits="objectBoundingBox" width="1" height="1">
<use xlink:href="#image0_4383_352" transform="translate(0 -0.00590909) scale(0.005 0.0080303)"/>
</pattern>
<image id="image0_4383_352" width="200" height="126" xlink:href="data:image/png;base64,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"/>
</defs>
</svg>

After

Width:  |  Height:  |  Size: 4.2 KiB

View File

@ -0,0 +1,11 @@
<svg width="66" height="66" viewBox="0 0 66 66" fill="none" xmlns="http://www.w3.org/2000/svg">
<g clip-path="url(#clip0_3751_658)">
<path d="M33.0083 0H32.9917C14.7964 0 0 14.8005 0 33C0 40.2188 2.3265 46.9095 6.28237 52.3421L2.16975 64.6016L14.8541 60.5468C20.0723 64.0035 26.2969 66 33.0083 66C51.2036 66 66 51.1954 66 33C66 14.8046 51.2036 0 33.0083 0Z" fill="#4CAF50"/>
<path d="M52.21 46.6001C51.4139 48.8483 48.2542 50.7128 45.7338 51.2573C44.0095 51.6244 41.7573 51.9173 34.1755 48.774C24.4777 44.7563 18.2324 34.9016 17.7457 34.2623C17.2795 33.6229 13.8269 29.0441 13.8269 24.3086C13.8269 19.5731 16.2318 17.2673 17.2012 16.2773C17.9973 15.4646 19.3132 15.0934 20.5754 15.0934C20.9838 15.0934 21.3509 15.114 21.6809 15.1305C22.6503 15.1718 23.137 15.2295 23.7764 16.7599C24.5725 18.678 26.5113 23.4135 26.7423 23.9003C26.9774 24.387 27.2125 25.047 26.8825 25.6864C26.5732 26.3464 26.3009 26.6393 25.8142 27.2003C25.3274 27.7613 24.8654 28.1903 24.3787 28.7925C23.9332 29.3164 23.4299 29.8774 23.9909 30.8468C24.5519 31.7955 26.4907 34.9594 29.3452 37.5004C33.0288 40.7798 36.0153 41.8275 37.0837 42.273C37.8798 42.603 38.8285 42.5246 39.4102 41.9059C40.1485 41.1098 41.0602 39.7898 41.9883 38.4904C42.6483 37.5581 43.4815 37.4426 44.356 37.7726C45.247 38.082 49.9619 40.4126 50.9313 40.8953C51.9007 41.382 52.54 41.613 52.7752 42.0214C53.0062 42.4298 53.0062 44.3479 52.21 46.6001Z" fill="white"/>
</g>
<defs>
<clipPath id="clip0_3751_658">
<rect width="66" height="66" fill="white"/>
</clipPath>
</defs>
</svg>

After

Width:  |  Height:  |  Size: 1.5 KiB

View File

@ -0,0 +1,4 @@
<svg width="70" height="71" viewBox="0 0 70 71" fill="none" xmlns="http://www.w3.org/2000/svg">
<circle cx="35" cy="35.2412" r="34" stroke="#303030" stroke-width="2"/>
<path d="M55.6054 24.7388C55.0895 22.8207 53.5772 21.3087 51.6594 20.7922C48.1558 19.8336 34.1412 19.8336 34.1412 19.8336C34.1412 19.8336 20.1271 19.8336 16.6235 20.7559C14.7426 21.2718 13.1934 22.821 12.6775 24.7388C11.7555 28.2421 11.7555 35.5075 11.7555 35.5075C11.7555 35.5075 11.7555 42.8096 12.6775 46.2763C13.194 48.1941 14.7057 49.7061 16.6238 50.2225C20.164 51.1814 34.1417 51.1814 34.1417 51.1814C34.1417 51.1814 48.1558 51.1814 51.6594 50.2592C53.5775 49.743 55.0895 48.231 55.6059 46.3132C56.5277 42.8096 56.5277 35.5444 56.5277 35.5444C56.5277 35.5444 56.5646 28.2421 55.6054 24.7388ZM29.6792 42.2196V28.7955L41.3331 35.5075L29.6792 42.2196Z" fill="#303030"/>
</svg>

After

Width:  |  Height:  |  Size: 848 B

View File

@ -0,0 +1,30 @@
import React from "react";
import styles from "../breadcrumbs-title/style.module.scss";
import RightArrow from "../../assets/svgs/arrow-point-to-right.svg";
import Home from "../../assets/svgs/home.svg";
const Breadcrumb = () => {
return (
<div>
<div className={styles["breadcrumb"]}>
<a href="/" className={styles["breadcrumb__home"]}>
<img src={Home} alt="Voltar para a home" />
</a>
<div className={styles["breadcrumb__right-arrow"]}>
<img src={RightArrow} alt="Seta para a direita" />
</div>
<a href="/" className={styles["breadcrumb__title"]}>
<h3>Institucional</h3>
</a>
</div>
<div className={styles["page-title"]}>
<h1>Institucional</h1>
</div>
</div>
);
};
export { Breadcrumb };

View File

@ -0,0 +1,76 @@
.breadcrumb {
display: flex;
align-items: center;
margin: 29px 100px 81px;
gap: 9.73px;
@media (max-width: 1024px) {
margin: 29px 16px 80px;
}
&__home {
height: 16px;
@media (min-width: 2500px) {
height: auto;
}
img {
width: 16px;
@media (min-width: 2500px) {
width: 31.22px;
}
}
}
&__right-arrow {
img {
width: 4.56px;
@media (min-width: 2500px) {
width: 8.9px;
}
}
}
&__title {
text-decoration: none;
h3 {
margin: 0;
font-weight: 400;
font-size: 12px;
line-height: 14px;
color: var(--light-gray-500);
text-transform: uppercase;
cursor: pointer;
@media (min-width: 2500px) {
font-size: 24px;
line-height: 28px;
}
}
}
}
.page-title {
h1 {
font-weight: 400;
font-size: 24px;
line-height: 28px;
letter-spacing: 0.1em;
text-transform: uppercase;
text-align: center;
margin: 0 0 80px;
@media (min-width: 2500px) {
font-size: 48px;
line-height: 56px;
}
@media (max-width: 1024px) {
margin: 0 0 40px;
}
}
}

View File

@ -0,0 +1,141 @@
import React, { useState } from "react";
import { Formik, Form, Field, ErrorMessage } from "formik";
import FormSchema from "../../../schema/FormSchema";
import styles from "./style.module.scss";
interface IFormikValues {
name: string;
email: string;
cpf: string;
date: string;
tel: string;
instagram: string;
termsAndConditions: boolean;
}
const initialValues = {
name: "",
email: "",
cpf: "",
date: "",
tel: "",
instagram: "",
termsAndConditions: false,
};
const CustomForm = () => {
const [successFeedback, setSuccessFeedback] = useState(false);
const handleFormikSubmit = (values: IFormikValues, { resetForm }: any) => {
resetForm();
setSuccessFeedback(true);
setTimeout(() => setSuccessFeedback(false), 3000);
console.log(values);
};
return (
<div className={styles["form-wrapper"]}>
<Formik
onSubmit={handleFormikSubmit}
initialValues={initialValues}
validationSchema={FormSchema}
>
<Form>
<div className={styles["form-inputs"]}>
<label htmlFor="name">Nome</label>
<Field
type="text"
id="name"
name="name"
placeholder="Seu nome completo"
/>
<ErrorMessage
component="span"
name="name"
className="invalid-feedback"
/>
</div>
<div className={styles["form-inputs"]}>
<label htmlFor="email">E-mail</label>
<Field
type="text"
id="email"
name="email"
placeholder="Seu e-mail"
/>
<ErrorMessage
component="span"
name="email"
className="invalid-feedback"
/>
</div>
<div className={styles["form-inputs"]}>
<label htmlFor="cpf">CPF</label>
<Field
type="text"
id="cpf"
name="cpf"
placeholder="000.000.000-00"
/>
<ErrorMessage
component="span"
name="cpf"
className="invalid-feedback"
/>
</div>
<div className={styles["form-inputs"]}>
<label htmlFor="date">Data de Nascimento:</label>
<Field type="text" id="date" name="date" placeholder="00.00.0000" />
<ErrorMessage
component="span"
name="date"
className="invalid-feedback"
/>
</div>
<div className={styles["form-inputs"]}>
<label htmlFor="tel">Telefone:</label>
<Field
type="tel"
id="tel"
name="tel"
placeholder="(00) 00000-0000"
/>
<ErrorMessage
component="span"
name="tel"
className="invalid-feedback"
/>
</div>
<div className={styles["form-inputs"]}>
<label htmlFor="instagram">Instagram</label>
<Field id="instagram" name="instagram" placeholder="@seuuser" />
<ErrorMessage
component="span"
name="instagram"
className="invalid-feedback"
/>
</div>
<div className={styles["form-terms"]}>
<p className={styles["form-terms__red"]}>*</p>
<label className={styles["form-terms__content"]}>
Declaro que li e aceito
<Field type="checkbox" name="termsAndConditions" />
</label>
</div>
<button type="submit">CADASTRE-SE</button>
{successFeedback ? (
<p className={styles["success-feedback"]}>
*Formulário enviado com sucesso!
</p>
) : (
""
)}
</Form>
</Formik>
</div>
);
};
export { CustomForm };

View File

@ -0,0 +1,148 @@
.form-wrapper {
width: 100%;
// height: auto;
.form-inputs {
display: flex;
flex-direction: column;
position: relative;
label {
font-weight: 400;
font-size: 14px;
line-height: 16px;
color: var(--dark-gray-300);
margin-left: 15px;
@media (min-width: 2500px) {
font-size: 28px;
line-height: 33px;
}
}
input {
border: 1px solid var(--dark-gray-300);
border-radius: 25px;
padding: 15px 20px;
margin: 12px 0;
&::placeholder {
font-family: "Roboto", sans-serif;
font-weight: 400;
font-size: 14px;
line-height: 16px;
color: var(--medium-gray-100);
@media (min-width: 2500px) {
font-size: 28px;
line-height: 33px;
}
}
@media (min-width: 2500px) {
font-size: 28px;
line-height: 33px;
}
}
span {
position: absolute;
right: 15px;
top: 14px;
font-weight: 400;
font-size: 12px;
line-height: 14px;
text-align: right;
color: var(--red);
@media (min-width: 2500px) {
font-size: 24px;
line-height: 28px;
}
}
}
.form-terms {
display: flex;
justify-content: center;
&__content {
display: flex;
align-items: end;
align-self: center;
justify-content: center;
margin: 0 0 12px;
text-decoration: underline;
font-weight: 400;
font-size: 14px;
line-height: 16px;
@media (min-width: 2500px) {
font-size: 28px;
line-height: 33px;
}
input {
border: 1px solid var(--black);
border-radius: 3px;
width: 18px;
height: 18px;
margin: 0 0 0 4.28px;
@media (min-width: 2500px) {
width: 36.4px;
height: 36.4px;
}
}
}
&__red {
margin: 0 4px 0 0;
font-weight: 400;
font-size: 14px;
line-height: 16px;
color: var(--red);
@media (min-width: 2500px) {
font-size: 28px;
line-height: 33px;
}
}
}
button {
font-family: "Roboto", sans-serif;
font-weight: 400;
font-size: 16px;
line-height: 19px;
letter-spacing: 0.05em;
border: 0;
border-radius: 25px;
background: var(--black);
color: var(--white);
padding: 17px;
width: 100%;
cursor: pointer;
&:hover {
background: var(--dark-gray-200);
}
@media (min-width: 2500px) {
font-size: 32px;
line-height: 38px;
}
}
.success-feedback {
font-weight: 400;
font-size: 12px;
line-height: 14px;
color: var(--green);
@media (min-width: 2500px) {
font-size: 24px;
line-height: 28px;
}
}
}

View File

@ -0,0 +1,16 @@
import React from "react";
import styles from "./style.module.scss"
import { CustomForm } from "./custom-form";
const Contato = () => {
return (
<section className={styles["contato"]}>
<h3>Preencha o formulário</h3>
<CustomForm />
</section>
);
};
export { Contato };

View File

@ -0,0 +1,38 @@
.contato {
width: 58.438%;
height: auto;
margin: 0 0 0 30px;
@media (min-width: 2500px) {
width: 67.2%;
}
@media (max-width: 1024px) {
width: 96.88%;
margin: auto;
}
@media (max-width: 599px) {
width: 91.6%;
}
h3 {
font-weight: 700;
font-size: 24px;
line-height: 28px;
color: var(--dark-gray-200);
margin: 12px 0;
@media (min-width: 2500px) {
font-size: 48px;
line-height: 56px;
}
@media (max-width: 1024px) {
text-align: center;
margin: 30px 0 12px 0;
}
}
}

View File

@ -0,0 +1,44 @@
import React from "react";
import styles from "./style.module.scss"
const Entrega = () => {
return (
<div>
<section className={styles["entrega"]}>
<h3>Entrega</h3>
<p>
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.
</p>
<p>
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.
</p>
<p>
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?
</p>
</section>
</div>
);
};
export { Entrega };

View File

@ -0,0 +1,54 @@
.entrega {
width: 85.22%;
height: auto;
margin: 0 0 0 30px;
@media (min-width: 2500px) {
width: 67.2%;
}
@media (max-width: 1024px) {
width: 96.88%;
margin: auto;
}
@media (max-width: 599px) {
width: 91.6%;
}
h3 {
font-weight: 700;
font-size: 24px;
line-height: 28px;
color: var(--dark-gray-200);
margin: 12px 0;
@media (min-width: 2500px) {
font-size: 48px;
line-height: 56px;
}
@media (max-width: 1024px) {
text-align: center;
}
}
p {
font-weight: 400;
font-size: 13px;
line-height: 15px;
color: var(--medium-gray-200);
margin: 12px 0;
@media (min-width: 2500px) {
font-size: 26px;
line-height: 30px;
}
@media (max-width: 1024px) {
font-size: 12px;
line-height: 18px;
text-align: justify;
}
}
}

View File

@ -0,0 +1,90 @@
import React from "react";
import styles from "./style.module.scss"
import { Accordion, AccordionBody, AccordionHeader, AccordionItem } from "react-headless-accordion";
const AccordionMenu = () => {
return (
<div className={styles["accordion-menu"]}>
<Accordion>
<AccordionItem>
<AccordionHeader className={styles["accordion-menu__title"]}>
<h3>Institucional</h3>
{/* <button><h3>+</h3></button> */}
</AccordionHeader>
<AccordionBody>
<ul>
<li>
<a href="/">Quem Somos</a>
</li>
<li>
<a href="/">Política de Privacidade</a>
</li>
<li>
<a href="/">Segurança</a>
</li>
<li>
<a className={styles["line"]} href="/">
Seja um Revendedor
</a>
</li>
</ul>
</AccordionBody>
</AccordionItem>
<AccordionItem>
<AccordionHeader className={styles["accordion-menu__title"]}>
<h3>Dúvidas</h3>
</AccordionHeader>
<AccordionBody>
<ul>
<li>
<a href="/">Entrega</a>
</li>
<li>
<a href="/">Pagamento</a>
</li>
<li>
<a href="/">Trocas e Devoluções</a>
</li>
<li>
<a className={styles["line"]} href="/">
Dúvidas Frequentes
</a>
</li>
</ul>
</AccordionBody>
</AccordionItem>
<AccordionItem>
<AccordionHeader className={styles["accordion-menu__title"]}>
<h3>Fale Conosco</h3>
</AccordionHeader>
<AccordionBody>
<ul>
<li>
<p className={styles["atendimento"]}>
Atendimento ao Consumidor
</p>
</li>
<li>
<a href="tel:+551141599504" className={styles["call-link"]}>(11) 4159 9504</a>
</li>
<li>
<p className={styles["atendimento"]}>Atendimento Online</p>
</li>
<li>
<a href="tel:+5511994338825" className={styles["call-link"]}>
(11) 99433-8825
</a>
</li>
</ul>
</AccordionBody>
</AccordionItem>
</Accordion>
</div>
)
}
export { AccordionMenu }

View File

@ -0,0 +1,85 @@
.accordion-menu {
width: 96.88%;
margin: 24px auto 0 auto;
@media (max-width: 599px) {
width: 91.6%;
}
&__title {
// display: flex;
// justify-content: space-between;
font-family: "Roboto", sans-serif;
width: 100%;
margin: 0;
padding: 0;
background: var(--white);
border: none;
h3 {
margin: 0 0 12px;
font-weight: 500;
font-size: 14px;
line-height: 16px;
text-transform: capitalize;
display: flex;
justify-content: space-between;
&::after {
content: "+";
cursor: pointer;
}
}
button {
background-color: var(--white);
border: none;
font-weight: 500;
font-size: 14px;
line-height: 16px;
}
}
ul {
padding: 0;
margin: 0;
li {
list-style: none;
font-weight: 400;
font-size: 12px;
line-height: 14px;
text-transform: capitalize;
color: var(--dark-gray-100);
margin-bottom: 12px;
@media (min-width: 2500px) {
font-size: 24px;
line-height: 28px;
}
a {
text-decoration: none;
color: var(--dark-gray-100);
}
.atendimento {
margin: 0;
font-weight: 500;
}
.line {
text-decoration: underline;
}
}
li .call-link {
cursor: pointer;
}
}
@media (min-width: 1025px) {
display: none;
}
}

View File

@ -0,0 +1,221 @@
import React from "react";
import styles from "./style.module.scss";
import ScrollToTop from "react-scroll-to-top"
// Social media icons
import Facebook from "../../assets/svgs/facebook-icon.svg";
import Instagram from "../../assets/svgs/instagram-icon.svg";
import Twitter from "../../assets/svgs/twitter-icon.svg";
import Youtube from "../../assets/svgs/youtube-icon.svg";
import LinkedIn from "../../assets/svgs/linkedin-icon.svg";
// Creditcard icons
import MasterCard from "../../assets/svgs/master.svg";
import Visa from "../../assets/svgs/visa.svg";
import Amex from "../../assets/svgs/american-express.svg";
import Elo from "../../assets/svgs/elo.svg";
import Hipercard from "../../assets/svgs/hiper.svg";
import PayPal from "../../assets/svgs/paypal.svg";
import Boleto from "../../assets/svgs/boleto.svg";
import PCIVtex from "../../assets/svgs/vtex-pci-200.svg";
// Botão flutuante
import Whatsapp from "../../assets/svgs/whatsapp.svg";
// Scroll up
import { ReactComponent as ScrollUp } from "../../assets/svgs/arrow-up.svg"
// Vtex e M3 logo
import Vtex from "../../assets/svgs/vtex-logo.svg";
import M3 from "../../assets/svgs/m3-logo.svg";
import { AccordionMenu } from "./AccordionMenu";
const Footer = () => {
return (
<div>
<section className={styles["footer-top"]}>
<AccordionMenu></AccordionMenu>
<div className={styles["footer-top__menu-list"]}>
<div className={styles["menu"]}>
<h3>Institucional</h3>
<ul>
<li>
<a href="/">Quem Somos</a>
</li>
<li>
<a href="/">Política de Privacidade</a>
</li>
<li>
<a href="/">Segurança</a>
</li>
<li>
<a className={styles["line"]} href="/">
Seja um Revendedor
</a>
</li>
</ul>
</div>
<div className={styles["menu"]}>
<h3>Dúvidas</h3>
<ul>
<li>
<a href="/">Entrega</a>
</li>
<li>
<a href="/">Pagamento</a>
</li>
<li>
<a href="/">Trocas e Devoluções</a>
</li>
<li>
<a className={styles["line"]} href="/">
Dúvidas Frequentes
</a>
</li>
</ul>
</div>
<div className={styles["menu"]}>
<h3>Fale Conosco</h3>
<ul>
<li>
<p className={styles["atendimento"]}>
Atendimento ao Consumidor
</p>
</li>
<li>(11) 4159 9504</li>
<li>
<p className={styles["atendimento"]}>Atendimento Online</p>
</li>
<li>(11) 99433-8825</li>
</ul>
</div>
<div className={styles["social-media-icons"]}>
<ul>
<li>
<a target={"_blank"} rel="noopener noreferrer" href="https://www.facebook.com/digitalm3/">
<img src={Facebook} alt="Link para o Facebook" />
</a>
</li>
<li>
<a target={"_blank"} rel="noopener noreferrer" href="https://www.instagram.com/m3.ecommerce/">
<img src={Instagram} alt="Link para o Instagram" />
</a>
</li>
<li>
<a target={"_blank"} rel="noopener noreferrer" href="https://twitter.com/">
<img src={Twitter} alt="Link para o Twitter" />
</a>
</li>
<li>
<a target={"_blank"} rel="noopener noreferrer" href="https://www.youtube.com/@m3academy392">
<img src={Youtube} alt="Link para o Youtube" />
</a>
</li>
<li>
<a target={"_blank"} rel="noopener noreferrer" href="https://www.linkedin.com/company/m3ecommerce/">
<img src={LinkedIn} alt="Link para o LinkedIn" />
</a>
</li>
</ul>
<a href="/">
<p>www.loremipsum.com</p>
</a>
</div>
</div>
</section>
<section className={styles["footer-bottom"]}>
<div className={styles["footer-bottom__wrapper"]}>
<div className={styles["address"]}>
<p>
Lorem ipsum dolor sit amet, consectetur adipiscing elit, sed do
eiusmod tempor
</p>
</div>
<ul className={styles["stamps"]}>
<li className={styles["creditcard"]}>
<img src={MasterCard} alt="Mastercard" />
</li>
<li className={styles["creditcard"]}>
<img src={Visa} alt="Visa" />
</li>
<li className={styles["creditcard"]}>
<img src={Amex} alt="American Express" />
</li>
<li className={styles["creditcard"]}>
<img src={Elo} alt="Elo" />
</li>
<li className={styles["creditcard"]}>
<img src={Hipercard} alt="Hipercard" />
</li>
<li className={styles["creditcard"]}>
<img src={PayPal} alt="PayPal" />
</li>
<li className={styles["creditcard"]}>
<img src={Boleto} alt="Boleto" />
</li>
<li>
<span className={styles["stamps__divider"]}></span>
</li>
<li className={styles["vtex"]}>
<img
className={styles["vtex-pci"]}
src={PCIVtex}
alt="PCI VTEX"
/>
</li>
</ul>
<ul className={styles["developedBy"]}>
<li>
<div className={styles["by-vtex"]}>
<a target={"_blank"} rel="noopener noreferrer" href="https://vtex.com/br-pt/">
<span>Powered By</span>
</a>
<img className={styles["vtex-logo"]} src={Vtex} alt="VTEX" />
</div>
</li>
<li>
<div className={styles["by-m3"]}>
<a target={"_blank"} rel="noopener noreferrer" href="https://m3ecommerce.com/">
<span>Developed By</span>
</a>
<img className={styles["m3-logo"]} src={M3} alt="M3" />
</div>
</li>
</ul>
</div>
</section>
<div className={styles["whatsapp-scrollup"]}>
<a
href="https://wa.me/5579995657055?text=Olá! Tudo bem? Quero conhecer o M3 Academy."
rel=" noopener noreferrer"
target={"_blank"}
>
<img src={Whatsapp} alt="Fale conosco pelo Whatsapp" />
</a>
< ScrollToTop smooth component={ <ScrollUp /> } />
</div>
</div>
);
};
export { Footer };

View File

@ -0,0 +1,379 @@
.footer-top {
@media (max-width: 1024px) {
width: 100%;
}
&__menu-list {
display: flex;
margin: 38px 100px 38px;
justify-content: space-between;
@media (max-width: 1024px) {
margin: 0;
}
.menu {
@media (max-width: 1024px) {
display: none;
}
h3 {
font-weight: 500;
font-size: 14px;
line-height: 16px;
text-transform: uppercase;
color: var(--dark-gray-100);
margin: 12px 0;
@media (min-width: 2500px) {
font-size: 28px;
line-height: 33px;
}
}
ul {
padding: 0;
margin: 0;
li {
list-style: none;
font-weight: 400;
font-size: 12px;
line-height: 14px;
text-transform: capitalize;
color: var(--dark-gray-100);
margin-bottom: 12px;
@media (min-width: 2500px) {
font-size: 24px;
line-height: 28px;
}
a {
text-decoration: none;
color: var(--dark-gray-100);
}
.atendimento {
margin: 0;
font-weight: 500;
}
.line {
text-decoration: underline;
}
}
@media (max-width: 1024px) {
display: none;
}
}
}
}
.social-media-icons {
ul {
display: flex;
gap: 10px;
margin: 0 0 12px 0;
padding: 0;
li {
list-style: none;
img {
width: 35px;
@media (min-width: 2500px) {
width: 100%;
}
}
}
@media (max-width: 1024px) {
margin: 0 16px 12px 16px;
}
}
a {
text-decoration: none;
color: var(--dark-gray-100);
p {
margin: 0;
font-weight: 400;
font-size: 14px;
line-height: 16px;
@media (min-width: 2500px) {
font-size: 28px;
line-height: 33px;
}
@media (max-width: 1024px) {
margin: 0 16px 24px;
}
}
}
}
}
.footer-bottom {
width: 100%;
background-color: var(--black);
display: flex;
&__wrapper {
align-items: center;
display: flex;
justify-content: space-between;
width: 84.38%;
margin: auto;
@media (min-width: 2500px) {
width: 100%;
margin: 0 100px;
}
@media (max-width: 1024px) {
flex-direction: column;
align-items: flex-start !important;
gap: 0;
margin: 0;
}
@media (max-width: 375px) {
width: 91.6%;
}
.address {
color: var(--white);
font-style: normal;
font-weight: 400;
font-size: 10px;
line-height: 12px;
text-transform: capitalize;
width: 20%;
p {
@media (max-width: 1024px) {
margin: 0;
}
}
@media (min-width: 2500px) {
width: 467px;
margin: 0;
font-size: 20px;
line-height: 27px;
}
@media (max-width: 1024px) {
order: 2;
margin: 0 0 17px 16px;
width: 234px;
}
}
.stamps {
margin: 0;
padding: 0;
width: 36.89%;
align-items: center;
display: flex;
justify-self: center;
list-style: none;
gap: 12px;
@media (min-width: 2500px) {
width: 30.087%;
margin: 15px 0;
}
@media (min-width: 768px) and (max-width: 1024px) {
width: 46.134%;
margin: 15px 0 11px 16px;
}
@media (max-width: 767px) {
width: 100%;
order: 1;
gap: 11px;
margin: 22px 16px 11px 16px;
}
.creditcard {
img {
width: 36px;
@media (min-width: 2500px) {
width: 70px;
}
@media (max-width: 767px) {
width: 100%;
}
}
}
.vtex {
.vtex-pci {
width: 54.61px;
@media (min-width: 2500px) {
width: 106px;
}
@media (max-width: 767px) {
width: 100%;
}
}
}
&__divider {
content: "";
background-color: var(--light-gray-500);
display: inline-block;
height: 24px;
width: 1px;
@media (max-width: 375px) {
height: 20px;
}
}
}
.developedBy {
width: 226.58px;
align-items: center;
display: flex;
list-style-type: none;
color: var(--white);
margin: 27px 0 22px;
padding: 0;
@media (min-width: 2500px) {
width: 404.17px;
}
@media (max-width: 1024px) {
order: 3;
margin: 0;
margin: 0 0 17px 16px;
}
div {
display: flex;
}
.vtex-logo {
width: 32.86%;
@media (min-width: 2500px) {
width: 87.73px;
}
@media (max-width: 1024px) {
width: 36.615%;
}
}
.m3-logo {
width: 23.699%;
@media (min-width: 2500px) {
width: 55.98px;
}
@media (max-width: 1024px) {
width: 26.4%;
}
}
li .by-vtex {
gap: 13px;
}
li .by-m3 {
gap: 13px;
}
a {
align-items: center;
color: var(--white);
display: flex;
font-weight: 400;
font-size: 10px;
line-height: 12px;
text-transform: capitalize;
text-decoration: none;
span {
font-size: 10px;
line-height: 12px;
@media (min-width: 2500px) {
font-size: 20px;
line-height: 23px;
}
}
}
}
}
}
.whatsapp-scrollup {
display: flex;
flex-direction: column;
align-items: center;
position: fixed;
z-index: 9999;
a {
position: fixed;
bottom: 225px;
right: 16px;
@media (max-width: 1024px) {
bottom: 91px;
right: 17px;
}
@media (max-width: 767px) {
bottom: 69px;
right: 17px;
}
}
button {
position: fixed;
bottom: 224px;
right: 50px;
background: transparent;
margin: 0;
padding: 0;
width: 0;
height: 0;
@media (max-width: 1024px) {
bottom: 92px;
right: 51px;
}
@media (max-width: 767px) {
bottom: 68px;
right: 51px;
}
}
img,
svg {
width: 34px;
height: 34px;
@media (min-width: 2500px) {
width: 66px;
height: 66px;
}
}
}

View File

@ -0,0 +1,53 @@
import React from "react";
// Modal
import Modal from "react-modal";
import styles from "../MenuModal/style.module.scss";
// Botão fechar
import CloseButton from "../../../assets/svgs/close.svg";
interface BurgerMenuProps {
isOpen: boolean;
onRequestClose: () => void;
}
function BurgerMenu({ isOpen, onRequestClose }: BurgerMenuProps) {
return (
<Modal
isOpen={isOpen}
onRequestClose={onRequestClose}
overlayClassName={styles["overlay"]}
className={styles["menu"]}
ariaHideApp={false}
>
<div className={styles["login"]}>
<a href="/">
<h2>Entrar</h2>
</a>
<button className={styles["login__close-menu"]} >
<img src={CloseButton} alt="Fechar menu" onClick={onRequestClose} />
</button>
</div>
<nav className={styles["menu-open"]}>
<ul className={styles["menu-list"]}>
<li>
<a href="/">Cursos</a>
</li>
<li>
<a href="/">Saiba mais</a>
</li>
<li>
<a href="/">Institucionais</a>
</li>
</ul>
</nav>
</Modal>
);
}
export { BurgerMenu };

View File

@ -0,0 +1,59 @@
.login {
background: var(--black);
display: flex;
justify-content: space-between;
&__close-menu {
background: transparent;
border: none;
margin-right: 16px;
}
a {
text-decoration: none;
h2 {
font-weight: 400;
font-size: 14px;
line-height: 16px;
text-transform: uppercase;
margin: 31px 16px;
color: var(--white);
}
}
}
.menu-list {
list-style: none;
padding: 0;
margin: 19px 4px;
a {
text-decoration: none;
color: var(--light-gray-500);
}
li {
font-weight: 500;
font-size: 14px;
line-height: 16px;
text-transform: uppercase;
margin: 12px;
}
}
.menu {
background: white;
width: 100%;
height: 585px;
}
.overlay {
background: rgba(69, 69, 69, 0.7);
position: fixed;
top: 0;
right: 0;
bottom: 0;
left: 0;
padding-right: 36px;
}

View File

@ -0,0 +1,80 @@
import React from "react";
import logom3Academy from "../../assets/imgs/Logo-M3Academy.png";
import styles from "../header/style.module.scss";
import Search from "../../assets/svgs/search.svg";
import miniCart from "../../assets/svgs/minicart.svg";
import BurgerMenu from "../../assets/svgs/menu.svg";
interface MenuProps {
handleOpenModal:() => void;
}
const Header = ({handleOpenModal}:MenuProps) => {
return (
<div>
<div className={styles["header-top"]}>
<div className={styles["header-top__wrapper"]}>
<div className={styles["menu-mobile"]}>
<button className={styles["menu-mobile__burger-menu"]} onClick={handleOpenModal}>
<img src={BurgerMenu} alt="Abrir menu" />
</button>
</div>
<a className={styles["header-top__logo"]} href="/">
<img src={logom3Academy} alt="Logo M3 Academy" />
</a>
<div className={styles["header-top__search-box"]}>
<input
className="search-box-text"
type="text"
placeholder="Buscar..."
/>
<button className={styles["search-button"]}>
<img src={Search} alt="" />
</button>
</div>
<div className={styles["header-top__user-info"]}>
<a href="./">
<h2>Entrar</h2>
</a>
<a href="./">
<figure className={styles["mini-cart"]}>
<img src={miniCart} alt="Meu carrinho" />
</figure>
</a>
</div>
</div>
</div>
<div className={styles["header-bottom"]}>
<nav className={styles["header-bottom__nav-menu"]}>
<ul className={styles["menu-list"]}>
<li className={styles["first-li"]}>Cursos</li>
<li className={styles["second-li"]}>Saiba mais</li>
<li className={styles["third-li"]}>Institucionais</li>
</ul>
</nav>
<div className={styles["header-bottom__search-box"]}>
<div className={styles["search-box-wrapper"]}>
<input
className="search-box-text"
type="text"
placeholder="Buscar..."
/>
<button className={styles["search-button"]}>
<img src={Search} alt="" />
</button>
</div>
</div>
</div>
</div>
);
};
export { Header };

View File

@ -0,0 +1,308 @@
.header-top {
width: 100%;
background: var(--black);
border-bottom: 1px solid var(--light-gray-500);
@media (max-width: 1024px) {
border: none;
}
// Menu hambúrguer
.menu-mobile {
@media (min-width: 1025px) {
display: none;
}
&__burger-menu {
background: transparent;
border: none;
padding: 0;
}
}
// Parte de cima do header
&__wrapper {
width: 84.38%;
margin: auto;
display: flex;
align-items: center;
justify-content: space-between;
@media (min-width: 2500px) {
width: 92%;
}
@media (max-width: 1024px) {
width: 96.88%;
}
@media (max-width: 599px) {
width: 91.6%;
}
}
@media (max-width: 1024px) {
border: none;
}
&__logo {
width: 12.6%;
img {
width: 100%;
margin: auto;
@media (min-width: 2500px) {
width: auto;
max-width: 100%;
}
}
@media (min-width: 2500px) {
width: auto;
}
@media (min-width: 600px) and (max-width: 1024px) {
width: 13.71%;
margin: 25px 0 27.14px;
}
@media (max-width: 599px) {
width: 36.27%;
margin: 25px 0 27.14px;
}
}
// Caixa de pesquisa
&__search-box {
position: relative;
input {
width: 204px;
background-color: var(--white);
color: var(--light-gray-600);
border: 2px solid var(--light-gray-300);
border-radius: 5px;
margin: 22px 0;
padding: 6px 44px 6px 16px;
font-weight: 400;
font-size: 14px;
line-height: 16.41px;
outline: none;
&::placeholder {
color: var(--light-gray-600);
}
@media (min-width: 2500px) {
font-size: 28px;
line-height: 33px;
padding: 12px 291px 12px 16px;
}
}
.search-button {
position: absolute;
right: 16px;
background-color: transparent;
border: 0;
padding: 0;
width: 6.72%;
top: 28px;
img {
width: 100%;
margin: 0;
}
@media (min-width: 2500px) {
right: 16px;
top: 34px;
}
}
@media (max-width: 1024px) {
display: none;
}
}
// Links de página do usuário e carrinho
&__user-info {
display: flex;
align-items: center;
gap: 55px;
@media (max-width: 1024px) {
gap: 0;
}
a {
text-decoration: none;
h2 {
font-weight: 400;
font-size: 14px;
line-height: 16px;
text-transform: uppercase;
color: var(--white);
@media (min-width: 2500px) {
font-size: 28px;
line-height: 33px;
}
@media (max-width: 1024px) {
display: none;
}
}
}
.mini-cart {
margin: 0;
img {
width: 28px;
@media (min-width: 2500px) {
width: 54.68px;
}
}
}
}
}
// Menu do header
.header-bottom {
background: var(--black);
&__nav-menu {
width: 84.38%;
margin: auto;
@media (min-width: 2500px) {
width: 92%;
}
ul {
display: flex;
align-items: center;
text-decoration: none;
margin: 0;
padding: 0;
@media (max-width: 1024px) {
display: none;
}
li {
font-weight: 500;
font-size: 14px;
line-height: 16px;
text-transform: uppercase;
list-style: none;
color: var(--white);
cursor: pointer;
// &:hover {
// color: var(--blue);
// }
@media (min-width: 2500px) {
font-size: 28px;
line-height: 33px;
}
}
.first-li {
padding: 14px 27.5px 14px 0;
}
.second-li,
.third-li {
padding: 14px 27.5px;
}
}
}
&__search-box {
display: none;
@media (max-width: 1024px) {
display: block;
position: relative;
width: 93.36%;
// margin: 0 auto;
.search-box-wrapper {
width: 100%;
}
input {
width: 100%;
background-color: var(--white);
border: 2px solid var(--light-gray-300);
color: var(--light-gray-600);
border-radius: 5px;
margin: 0 16px 25px 16px;
padding: 10px 16px;
font-weight: 400;
font-size: 14px;
line-height: 16px;
outline: none;
&::placeholder {
width: 100px;
color: var(--light-gray-600);
}
}
@media (max-width: 599px) {
display: block;
position: relative;
width: 81.9%;
input {
width: 100%;
background-color: var(--white);
border: 2px solid var(--light-gray-300);
color: var(--light-gray-600);
border-radius: 5px;
margin: 0 16px 25px 16px;
padding: 10px 16px;
font-weight: 400;
font-size: 14px;
line-height: 16px;
outline: none;
&::placeholder {
color: var(--light-gray-600);
}
}
}
.search-button {
position: absolute;
right: -34px;
background-color: transparent;
border: 0;
padding: 0;
width: 1.872%;
top: 11px;
img {
width: 100%;
margin: 0;
}
@media (max-width: 599px) {
width: 5.886%;
}
}
}
}
}

View File

@ -0,0 +1,46 @@
import React from "react";
import { Formik, Form, Field, ErrorMessage } from "formik";
import NewsFormSchema from "../../schema/NewsFormSchema";
import styles from "./style.module.scss";
interface IFormikValues {
Email: string;
}
const initialValues = {
Email: "",
};
const Newsletter = () => {
const handleFormikSubmit = (values: IFormikValues, { resetForm }: any) => {
resetForm();
console.log(values);
};
return (
<section className={styles["newsletter"]}>
<div className={styles["newsletter__wrapper"]}>
<h2 className={styles["newsletter__title"]}>Assine nossa newsletter</h2>
<Formik
onSubmit={handleFormikSubmit}
initialValues={initialValues}
validationSchema={NewsFormSchema}
>
<Form>
<Field type="text" id="Email" name="Email" placeholder="E-mail" />
<ErrorMessage
component="span"
name="Email"
className="invalid-feedback"
/>
<button type="submit">Enviar</button>
</Form>
</Formik>
</div>
</section>
);
};
export { Newsletter };

View File

@ -0,0 +1,144 @@
.newsletter {
width: 100%;
border-width: 1px 0px;
border-style: solid;
border-color: var(--black);
background: var(--white);
margin-top: 70px;
@media (max-width: 1024px) {
margin-top: 81.56px;
}
&__wrapper {
width: 474px;
margin: 16px auto;
@media (min-width: 2500px) {
width: 36.88%;
}
@media (max-width: 1024px) {
width: 96.88%;
margin: 16px;
}
@media (max-width: 599px) {
width: 91.6%;
margin: 16px auto;
}
}
&__title {
margin: 0 0 8px;
font-weight: 500;
font-size: 18px;
line-height: 21px;
letter-spacing: 0.05em;
text-transform: uppercase;
color: var(--dark-gray-100);
@media (min-width: 2500px) {
font-size: 36px;
line-height: 42px;
}
@media (max-width: 1024px) {
margin: 0 0 16px;
font-size: 14px;
line-height: 16px;
}
}
form {
position: relative;
@media (max-width: 599px) {
width: 100%;
}
}
input {
width: 64.557%;
border: 1px solid var(--light-gray-400);
border-radius: 4px;
padding: 13px 16px;
color: var(--light-gray-500);
font-weight: 400;
font-size: 14px;
line-height: 16px;
&::placeholder {
color: var(--light-gray-500);
}
@media (min-width: 2500px) {
font-size: 28px;
line-height: 33px;
}
@media (max-width: 1024px) {
width: 96.88%;
margin: 0 0 16px;
border-radius: 0;
padding: 16px 17px;
}
@media (max-width: 599px) {
width: 90%;
}
}
span {
position: absolute;
left: 2px;
bottom: -14px;
font-weight: 400;
font-size: 12px;
line-height: 14px;
text-align: right;
color: var(--red);
@media (min-width: 2500px) {
font-size: 24px;
line-height: 28px;
}
}
button {
width: 26.585%;
padding: 14px 20px;
margin-left: 8px;
background: var(--black);
color: var(--white);
box-shadow: 0px 4px 4px rgba(0, 0, 0, 0.25);
border: none;
border-radius: 4px;
font-family: "Roboto", sans-serif;
font-weight: 700;
font-size: 12px;
line-height: 14px;
letter-spacing: 0.05em;
text-align: center;
text-transform: uppercase;
cursor: pointer;
&:hover {
background: var(--dark-gray-200);
}
@media (min-width: 2500px) {
font-size: 24px;
line-height: 28px;
}
@media (max-width: 1024px) {
width: 100%;
margin: 0;
border-radius: 0;
font-size: 14px;
line-height: 16px;
box-shadow: none;
}
}
}

View File

@ -0,0 +1,44 @@
import React from "react";
import styles from "./style.module.scss";
const Pagamento = () => {
return (
<>
<section className={styles["pagamento"]}>
<h3>Forma de Pagamento</h3>
<p>
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.
</p>
<p>
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.
</p>
<p>
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?
</p>
</section>
</>
);
}
export { Pagamento };

View File

@ -0,0 +1,55 @@
.pagamento {
width: 58.438%;
height: auto;
margin: 0 0 0 30px;
@media (min-width: 2500px) {
width: 67.2%;
}
@media (max-width: 1024px) {
width: 96.88%;
margin: auto;
}
@media (max-width: 599px) {
width: 91.6%;
}
h3 {
font-weight: 700;
font-size: 24px;
line-height: 28px;
color: var(--dark-gray-200);
margin: 12px 0;
@media (min-width: 2500px) {
font-size: 48px;
line-height: 56px;
}
@media (max-width: 1024px) {
text-align: center;
}
}
p {
font-weight: 400;
font-size: 13px;
line-height: 15px;
color: var(--medium-gray-200);
margin: 12px 0;
@media (min-width: 2500px) {
font-size: 26px;
line-height: 30px;
}
@media (max-width: 1024px) {
font-size: 12px;
line-height: 18px;
text-align: justify;
}
}
}

View File

@ -0,0 +1,44 @@
import React from "react";
import styles from "./style.module.scss"
const Segurança = () => {
return (
<>
<section className={styles["segurança"]}>
<h3>Segurança e Privacidade</h3>
<p>
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.
</p>
<p>
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.
</p>
<p>
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?
</p>
</section>
</>
);
}
export { Segurança };

View File

@ -0,0 +1,55 @@
.segurança {
width: 58.438%;
height: auto;
margin: 0 0 0 30px;
@media (min-width: 2500px) {
width: 67.2%;
}
@media (max-width: 1024px) {
width: 96.88%;
margin: auto;
}
@media (max-width: 599px) {
width: 91.6%;
}
h3 {
font-weight: 700;
font-size: 24px;
line-height: 28px;
color: var(--dark-gray-200);
margin: 12px 0;
@media (min-width: 2500px) {
font-size: 48px;
line-height: 56px;
}
@media (max-width: 1024px) {
text-align: center;
}
}
p {
font-weight: 400;
font-size: 13px;
line-height: 15px;
color: var(--medium-gray-200);
margin: 12px 0;
@media (min-width: 2500px) {
font-size: 26px;
line-height: 30px;
}
@media (max-width: 1024px) {
font-size: 12px;
line-height: 18px;
text-align: justify;
}
}
}

View File

@ -0,0 +1,71 @@
import React from "react";
import { Root } from "../../routes/root";
import styles from "./style.module.scss";
import { NavLink } from "react-router-dom";
export default function SideBar() {
return (
<>
<div className={styles["sidebar"]}>
<nav className={styles["sidebar__list"]}>
<ul>
<li>
<NavLink
to="/"
className={({ isActive }) => (isActive ? styles.activeLink : undefined)}
>
Sobre
</NavLink>
</li>
<li>
<NavLink
to="/pagamento"
className={({ isActive }) => (isActive ? styles.activeLink : undefined)}
>
Forma de Pagamento
</NavLink>
</li>
<li>
<NavLink
to="/entrega"
className={({ isActive }) => (isActive ? styles.activeLink : undefined)}
>
Entrega
</NavLink>
</li>
<li>
<NavLink
to="/troca"
className={({ isActive }) => (isActive ? styles.activeLink : undefined)}
>
Troca e Devolução
</NavLink>
</li>
<li>
<NavLink
to="/segurança"
className={({ isActive }) => (isActive ? styles.activeLink : undefined)}
>
Segurança e Privacidade
</NavLink>
</li>
<li>
<NavLink
to="/contato"
className={({ isActive }) => (isActive ? styles.activeLink : undefined)}
>
Contato
</NavLink>
</li>
</ul>
</nav>
<div className={styles["sidebar__divider"]}></div>
<Root />
</div>
</>
);
}
export { SideBar };

View File

@ -0,0 +1,77 @@
.sidebar {
display: flex;
@media (max-width: 1024px) {
display: block;
}
&__list {
ul {
list-style: none;
padding: 0;
margin-left: 100px;
@media (max-width: 1024px) {
margin: 16px;
}
li {
margin: 20px 0;
width: 302px;
@media (min-width: 2500px) {
// width: 23.6%;
width: 590px;
}
@media (max-width: 1024px) {
width: 100%;
}
a {
display: block;
padding-left: 16px;
font-weight: 400;
font-size: 16px;
line-height: 19px;
text-decoration: none;
color: var(--medium-gray-200);
cursor: pointer;
@media (min-width: 2500px) {
font-weight: 400;
font-size: 32px;
line-height: 38px;
}
}
.activeLink {
background: var(--black);
color: var(--white);
font-weight: 700;
padding: 10px 10px 12px 16px;
// margin: 20px 16px;
}
}
}
@media (max-width: 1024px) {
margin: 0 0 10px 0;
}
}
&__divider {
content: "";
background-color: var(--black);
width: 1px;
height: 285px;
@media (min-width: 2500px) {
height: 465px;
}
@media (max-width: 1024px) {
display: none;
}
}
}

View File

@ -0,0 +1,44 @@
import React from "react";
import styles from "./style.module.scss";
const Sobre = () => {
return (
<>
<section className={styles["sobre"]}>
<h3>Sobre</h3>
<p>
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.
</p>
<p>
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.
</p>
<p>
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?
</p>
</section>
</>
);
};
export { Sobre };

View File

@ -0,0 +1,54 @@
.sobre {
width: 58.438%;
height: auto;
margin: 0 0 0 30px;
@media (min-width: 2500px) {
width: 67.2%;
}
@media (max-width: 1024px) {
width: 96.88%;
margin: auto;
}
@media (max-width: 599px) {
width: 91.6%;
}
h3 {
font-weight: 700;
font-size: 24px;
line-height: 28px;
color: var(--dark-gray-200);
margin: 12px 0;
@media (min-width: 2500px) {
font-size: 48px;
line-height: 56px;
}
@media (max-width: 1024px) {
text-align: center;
}
}
p {
font-weight: 400;
font-size: 13px;
line-height: 15px;
color: var(--medium-gray-200);
margin: 12px 0;
@media (min-width: 2500px) {
font-size: 26px;
line-height: 30px;
}
@media (max-width: 1024px) {
font-size: 12px;
line-height: 18px;
text-align: justify;
}
}
}

View File

@ -0,0 +1,44 @@
import React from "react";
import styles from "./style.module.scss"
const Troca = () => {
return (
<>
<section className={styles["troca"]}>
<h3>Troca e Devolução</h3>
<p>
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.
</p>
<p>
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.
</p>
<p>
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?
</p>
</section>
</>
);
}
export { Troca };

View File

@ -0,0 +1,55 @@
.troca {
width: 58.438%;
height: auto;
margin: 0 0 0 30px;
@media (min-width: 2500px) {
width: 67.2%;
}
@media (max-width: 1024px) {
width: 96.88%;
margin: auto;
}
@media (max-width: 599px) {
width: 91.6%;
}
h3 {
font-weight: 700;
font-size: 24px;
line-height: 28px;
color: var(--dark-gray-200);
margin: 12px 0;
@media (min-width: 2500px) {
font-size: 48px;
line-height: 56px;
}
@media (max-width: 1024px) {
text-align: center;
}
}
p {
font-weight: 400;
font-size: 13px;
line-height: 15px;
color: var(--medium-gray-200);
margin: 12px 0;
@media (min-width: 2500px) {
font-size: 26px;
line-height: 30px;
}
@media (max-width: 1024px) {
font-size: 12px;
line-height: 18px;
text-align: justify;
}
}
}

42
src/global.scss Normal file
View File

@ -0,0 +1,42 @@
// Fonts
@import url("https://fonts.googleapis.com/css2?family=Roboto:wght@400;500;700&display=swap");
$font-family: "Roboto", sans-serif;
// Colors
:root {
--white: #ffffff;
--light-gray-100: #f9f9f9;
--light-gray-200: #f0f0f0;
--light-gray-300: #f2f2f2;
--light-gray-400: #e5e5e5;
--light-gray-500: #c4c4c4;
--light-gray-600: #c6c6c6;
--medium-gray-100: #b9b7b7;
--medium-gray-200: #7d7d7d;
--dark-gray-100: #303030;
--dark-gray-200: #292929;
--dark-gray-300: #100d0e;
--black: #000000;
--red: #ff0000;
--green: #008000;
--blue: #00c8ff;
}
body {
margin: 0;
font-family: "Roboto", sans-serif;
-webkit-font-smoothing: antialiased;
-moz-osx-font-smoothing: grayscale;
}
code {
font-family: source-code-pro, Menlo, Monaco, Consolas, "Courier New",
monospace;
}

34
src/index.tsx Normal file
View File

@ -0,0 +1,34 @@
import React from 'react';
import ReactDOM from 'react-dom/client';
import {
createBrowserRouter,
RouterProvider,
} from "react-router-dom";
import SideBar from "./components/sidebar";
import './global.scss';
import {Institucional} from "./pages/Institucional";
const root = ReactDOM.createRoot(
document.getElementById('root') as HTMLElement
);
root.render(
<React.StrictMode>
<Institucional />
</React.StrictMode>
);
const router = createBrowserRouter([
{
path: "/",
element: <SideBar />,
},
]);
ReactDOM.createRoot(document.getElementById("#root")!).render(
<React.StrictMode>
<RouterProvider router={router} />
</React.StrictMode>
);

View File

@ -0,0 +1,30 @@
import React, { useState } from "react";
import { Header } from "../components/header";
import { BurgerMenu } from "../components/header/MenuModal";
import { Breadcrumb } from "../components/breadcrumbs-title";
import { SideBar } from "../components/sidebar";
import { Footer } from "../components/footer";
import { BrowserRouter } from "react-router-dom";
import { Newsletter } from "../components/newsletter";
const Institucional = () => {
const [openModal, setOpenModal] = useState(false);
return (
<BrowserRouter>
<Header handleOpenModal={() => setOpenModal(true)} />
<BurgerMenu
isOpen={openModal}
onRequestClose={() => setOpenModal(false)}
/>
<main>
<Breadcrumb />
<SideBar />
<Newsletter />
</main>
<Footer />
</BrowserRouter>
);
};
export { Institucional };

1
src/react-app-env.d.ts vendored Normal file
View File

@ -0,0 +1 @@
/// <reference types="react-scripts" />

23
src/routes/root.tsx Normal file
View File

@ -0,0 +1,23 @@
import React from "react";
import { Routes, Route } from "react-router";
import { Sobre } from "../components/sobre/index"
import { Entrega } from "../components/entrega";
import { Pagamento } from "../components/pagamento";
import { Troca } from "../components/troca";
import { Segurança } from "../components/seguranca";
import { Contato } from "../components/contato";
const Root = () => {
return (
<Routes>
<Route path="/" element={<Sobre />} />
<Route path="/entrega" element={<Entrega />} />
<Route path="/pagamento" element={<Pagamento />} />
<Route path="/troca" element={<Troca />} />
<Route path="/segurança" element={<Segurança />} />
<Route path="/contato" element={<Contato />} />
</Routes>
)
}
export { Root };

14
src/schema/FormSchema.tsx Normal file
View File

@ -0,0 +1,14 @@
import * as Yup from "yup";
import { dateNumber, phoneNumber, instaUser, cpfNumber } from "./validators";
export default Yup.object().shape({
// Formulário de contato
name: Yup.string().required("*Campo obrigatório").min(3, "Nome deve ter no mínimo 3 caracteres"),
email: Yup.string().required("*Campo obrigatório").email("E-mail inválido"),
cpf: Yup.string().matches(cpfNumber, "CPF inválido").required("*Campo obrigatório"),
date: Yup.string().matches(dateNumber, "Data inválida").required("*Campo obrigatório"),
tel: Yup.string().matches(phoneNumber, "Telefone inválido").required("*Campo obrigatório"),
instagram: Yup.string().matches(instaUser, "Username inválido"),
termsAndConditions: Yup.bool().oneOf([true], ""),
});

View File

@ -0,0 +1,6 @@
import * as Yup from "yup";
export default Yup.object().shape({
// Newsletter
Email: Yup.string().email("E-mail inválido"),
});

View File

@ -0,0 +1,6 @@
const dateNumber = /^(?:(?:31(\/|-|\.)(?:0?[13578]|1[02]))\1|(?:(?:29|30)(\/|-|\.)(?:0?[13-9]|1[0-2])\2))(?:(?:1[6-9]|[2-9]\d)?\d{2})$|^(?:29(\/|-|\.)0?2\3(?:(?:(?:1[6-9]|[2-9]\d)?(?:0[48]|[2468][048]|[13579][26])|(?:(?:16|[2468][048]|[3579][26])00))))$|^(?:(?:(?:[01][1-9]|2[1-8])(?:0[1-9]|1[0-2])|(?:29|30)(?:0[13-9]|1[0-2])|31(?:0[13578]|1[02]))[1-9]\d{3}|2902(?:[1-9]\d(?:0[48]|[2468][048]|[13579][26])|(?:[2468][048]|[13579][26])00))$|^(?:0?[1-9]|1\d|2[0-8])(\/|-|\.)(?:(?:0?[1-9])|(?:1[0-2]))\4(?:(?:1[6-9]|[2-9]\d)?\d{2})$/;
const phoneNumber = /^(\d{2})\D*(\d{5}|\d{4})\D*(\d{4})$/;
const instaUser = /^(?:@)([A-Za-z0-9_](?:(?:[A-Za-z0-9_]|(?:\.(?!\.))){1,28}(?:[A-Za-z0-9_]))?)$/;
const cpfNumber = /^(([0-9]{3}.[0-9]{3}.[0-9]{3}-[0-9]{2})|([0-9]{11}))$/;
export { dateNumber, phoneNumber, instaUser, cpfNumber };

5
src/setupTests.ts Normal file
View File

@ -0,0 +1,5 @@
// jest-dom adds custom jest matchers for asserting on DOM nodes.
// allows you to do things like:
// expect(element).toHaveTextContent(/react/i)
// learn more: https://github.com/testing-library/jest-dom
import '@testing-library/jest-dom';

26
tsconfig.json Normal file
View File

@ -0,0 +1,26 @@
{
"compilerOptions": {
"target": "es5",
"lib": [
"dom",
"dom.iterable",
"esnext"
],
"allowJs": true,
"skipLibCheck": true,
"esModuleInterop": true,
"allowSyntheticDefaultImports": true,
"strict": true,
"forceConsistentCasingInFileNames": true,
"noFallthroughCasesInSwitch": true,
"module": "esnext",
"moduleResolution": "node",
"resolveJsonModule": true,
"isolatedModules": true,
"noEmit": true,
"jsx": "react-jsx"
},
"include": [
"src"
]
}