Compare commits

...

43 Commits

Author SHA1 Message Date
498f753aed Merge pull request 'development' (#23) from development into main
Reviewed-on: #23
2023-01-19 17:30:56 +00:00
8741c594da Merge pull request 'feature/ajuste4k' (#22) from feature/ajuste4k into development
Reviewed-on: #22
2023-01-19 17:30:05 +00:00
4940f388ca fix: ajuste de tamanho em telas 4k e links redirecionando redes sociais 2023-01-19 14:28:49 -03:00
52120f48d3 Merge pull request 'development' (#21) from development into main
Reviewed-on: #21
2023-01-19 02:44:28 +00:00
29768e017b Merge pull request 'fix: corrige rota no breadcrumb' (#20) from feature/ajustBreadcrumb into development
Reviewed-on: #20
2023-01-19 02:40:34 +00:00
e0452d65e4 fix: corrige rota no breadcrumb 2023-01-18 23:39:26 -03:00
a214d04e1d Merge pull request 'fix: corrige erro inicial das rotas do projeto' (#19) from feature/ajusteDeRotas into development
Reviewed-on: #19
2023-01-19 02:29:23 +00:00
0d1b3d715f Merge pull request 'style: organização e padronizacao de arquivos scss, para utilizar variaveis de cor e de tamanho' (#18) from feature/padronizacaoSASS into development
Reviewed-on: #18
2023-01-19 02:27:23 +00:00
f3e844d4df fix: corrige erro inicial das rotas do projeto 2023-01-18 23:14:35 -03:00
b07ad66065 style: organização e padronizacao de arquivos scss, para utilizar variaveis de cor e de tamanho 2023-01-18 22:13:54 -03:00
6374c3c05b Merge pull request 'feature/ajustesFinos' (#17) from feature/ajustesFinos into development
Reviewed-on: #17
2023-01-18 06:13:25 +00:00
ff0a880329 Merge pull request 'feat: cria botão de scroll para o topo e botao de redirecionar ao whatsapp' (#16) from feature/whatsESeta into development
Reviewed-on: #16
2023-01-18 06:13:11 +00:00
1391d1a151 Merge pull request 'fix: ajusta tamanho de espaçamento em telas 4k' (#15) from feature/ajusteFooter into development
Reviewed-on: #15
2023-01-18 06:12:25 +00:00
8846de48db Merge pull request 'fix: ajusta responsividade em telas acima de 2500' (#14) from feature/organizationContactFormResponsive into development
Reviewed-on: #14
2023-01-18 06:11:20 +00:00
2465e22cf6 fix: ajuste de rotas da spa 2023-01-18 03:08:18 -03:00
722e701fb5 feat: cria botão de scroll para o topo e botao de redirecionar ao whatsapp 2023-01-18 01:00:26 -03:00
19854a0f24 fix: ajusta tamanho de espaçamento em telas 4k 2023-01-17 23:05:21 -03:00
576b376c71 fix: ajusta responsividade em telas acima de 2500 2023-01-17 22:40:59 -03:00
1bd92c572b Merge pull request 'fix: ajuste de formulario de contato' (#13) from feature/organizationContactForm into development
Reviewed-on: #13
2023-01-18 01:08:19 +00:00
d910b1efba fix: ajuste de formulario de contato 2023-01-17 22:04:40 -03:00
78a6ea6b5d Merge pull request 'fix: Corrige alinha mente e responsividade dos conteudos dentro do main' (#12) from feature/responsiveArticle into development
Reviewed-on: #12
2023-01-16 19:26:31 +00:00
665c8e72e1 fix: Corrige alinha mente e responsividade dos conteudos dentro do main 2023-01-16 16:24:31 -03:00
70428932e3 Merge pull request 'feat: criar componente de paginas q serao renderizadas na rotas' (#11) from feature/contentArticle into development
Reviewed-on: #11
2023-01-16 15:17:58 +00:00
a116dea3f6 Merge pull request 'feat: cria rotas para subpastas de institucional' (#10) from feature/router into development
Reviewed-on: #10
2023-01-16 15:16:57 +00:00
5fca2d2bcc Merge pull request 'feat: cria formulario, validação e regex do formulario' (#9) from feature/createForm into development
Reviewed-on: #9
2023-01-16 15:15:40 +00:00
fe2296af78 Merge pull request 'feat: cria organizacao base das pastas e arquivos da parte centrar da SPA' (#8) from feature/mainAreaOrganizationFiles into development
Reviewed-on: #8
2023-01-16 15:14:09 +00:00
48c523599a feat: criar componente de paginas q serao renderizadas na rotas 2023-01-16 12:10:48 -03:00
a2f0995df5 feat: cria rotas para subpastas de institucional 2023-01-15 23:27:54 -03:00
4e339aac77 feat: cria formulario, validação e regex do formulario 2023-01-15 10:48:09 -03:00
58c0040a67 feat: cria organizacao base das pastas e arquivos da parte centrar da SPA 2023-01-14 11:06:03 -03:00
65f02271cd Merge pull request 'fix: corrige organização das pastas do footer e componente do Accordion' (#7) from feature/organizationComponentFooter into development
Reviewed-on: #7
2023-01-13 16:23:43 +00:00
d842468f5a Merge pull request 'feat: cria componente accordion do footer' (#6) from feature/footerAccordion into development
Reviewed-on: #6
2023-01-13 16:23:11 +00:00
aec42122f0 Merge pull request 'feat: cria componente das midias sociais do footer' (#5) from feature/footerSocialMedias into development
Reviewed-on: #5
2023-01-13 16:22:18 +00:00
19ab40f4aa fix: corrige organização das pastas do footer e componente do Accordion 2023-01-13 13:20:56 -03:00
03a52eff11 feat: cria componente accordion do footer 2023-01-12 20:41:58 -03:00
bb5a19c798 feat: cria componente das midias sociais do footer 2023-01-12 20:38:00 -03:00
eea65b1334 Merge pull request 'feat: cria area da newsletter da pagina, com responsividade' (#4) from feature/NewsLetter into development
Reviewed-on: #4
2023-01-12 02:30:01 +00:00
2b6a155e32 Merge pull request 'feat: cria estrutura base do footer da pagina e todo o rodape da pagina responsivo' (#3) from feature/footer into development
Reviewed-on: #3
2023-01-12 02:29:17 +00:00
586dddb142 Merge pull request 'feat: cria componentes para o header, menu hamburguer e header totalmente responsivo' (#2) from feature/header into development
Reviewed-on: #2
2023-01-12 02:28:24 +00:00
da2e066140 Merge pull request 'feat: cria organizacao de pastas e arquivos base do projeto' (#1) from feature/filesOrganization into development
Reviewed-on: #1
2023-01-12 02:27:19 +00:00
8fe5ca1df5 feat: cria area da newsletter da pagina, com responsividade 2023-01-11 17:01:53 -03:00
d5c7adc0fb feat: cria estrutura base do footer da pagina e todo o rodape da pagina responsivo 2023-01-11 15:19:14 -03:00
9b88010cf8 feat: cria componentes para o header, menu hamburguer e header totalmente responsivo 2023-01-11 02:48:07 -03:00
80 changed files with 3090 additions and 71 deletions

View File

@ -10,12 +10,19 @@
"@types/node": "^16.7.13",
"@types/react": "^18.0.0",
"@types/react-dom": "^18.0.0",
"@types/react-input-mask": "^3.0.2",
"@types/react-maskedinput": "^4.0.6",
"formik": "^2.2.9",
"node-sass": "^8.0.0",
"react": "^18.2.0",
"react-dom": "^18.2.0",
"react-headless-accordion": "^1.0.2",
"react-input-mask": "^2.0.4",
"react-router-dom": "^6.6.2",
"react-scripts": "5.0.1",
"typescript": "^4.4.2",
"web-vitals": "^2.1.0"
"web-vitals": "^2.1.0",
"yup": "^0.32.11"
},
"scripts": {
"start": "react-scripts start",

View File

@ -3,6 +3,9 @@
<head>
<meta charset="utf-8" />
<link rel="icon" href="%PUBLIC_URL%/favicon.ico" />
<link rel="preconnect" href="https://fonts.googleapis.com">
<link rel="preconnect" href="https://fonts.gstatic.com" crossorigin>
<link href="https://fonts.googleapis.com/css2?family=Roboto:wght@100;300;400;500;700;900&display=swap" rel="stylesheet">
<meta name="viewport" content="width=device-width, initial-scale=1" />
<meta name="theme-color" content="#000000" />
<meta

46
src/_variaveis.scss Normal file
View File

@ -0,0 +1,46 @@
// /* fonts */
@import url("https://fonts.googleapis.com/css2?family=Roboto:wght@100;300;400;500;700;900&display=swap");
$font-family: "Roboto", sans-serif;
/* Colors */
$color-black: #000000;
$color-black1: #292929;
$color-black2: #100D0E;
$color-white: #fff;
$color-gray: #B9B7B7;
$color-gray2: #7d7d7d;
$color-gray3: #f0f0f0;
$color-gray4: #8d8d8d;
$color-gray5: #e5e5e5;
$color-gray6: #C4C4C4;
$color-gray7: #e0e0e0;
$color-gray8: #303030;
$color-green: #008000;
$color-red: #ff0000;
/* Grid breakpoints */
// Mains breakpoints
$full: 2500px;
$tablets: 1024px;
$phone: 490px;
/* Grid breakpoints */
$grid-breakpoints: (
xs: 0,
cstm: 400,
sm: 576px,
md: 768px,
lg: 992px,
xl: 1200px,
xxl:2500px) !default;
$z-index: (
level1: 5,
level2: 10,
level3: 15,
level4: 20,
level5: 25) !default;

View File

@ -1,12 +0,0 @@
<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>

Before

Width:  |  Height:  |  Size: 1.3 KiB

File diff suppressed because one or more lines are too long

Before

Width:  |  Height:  |  Size: 19 KiB

View File

@ -1,10 +0,0 @@
<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>

Before

Width:  |  Height:  |  Size: 821 B

View File

@ -0,0 +1,36 @@
import React from "react";
import homeIcon from "./assets/svgs/home.svg"
import arrowRight from "./assets/svgs/arrow-right.svg"
import { useLocation, Link } from "react-router-dom"
import styles from "./BreadCrumb.module.scss"
export const BreadCrumb = () => {
const { pathname } = useLocation()
const routeName = pathname.split("/")[1]
return (
<nav >
{pathname !== "/" && (
<ul className={styles["breadNav"]}>
<li className={styles["navItem"]}>
<Link to="/institucional/sobre">
<img src={homeIcon} alt="Icone de home" />
</Link>
</li>
<li className={styles["navItem"]}>
<img src={arrowRight} alt="Icone de seta para a direita" />
<span className={styles["routeName"]}>
{routeName}
</span>
</li>
</ul>
)}
</nav>
);
}

View File

@ -0,0 +1,62 @@
@import "../../variaveis";
.breadNav {
display: flex;
gap: 12px;
align-items: center;
margin: 0 100px;
padding: 30px 16px;
@media (max-width:$tablets) {
margin: 0 16px;
}
a {
img {
@media (min-width:$full) {
min-width: 31.25px;
min-height: 31.25px;
}
}
}
}
.navItem {
display: flex;
gap: 12px;
align-items: center;
img {
@media (min-width:$full) {
width: 100%;
height: 100%;
min-width: 8.9px;
min-height: 15.62px;
}
}
@media (max-width:1025px) {
z-index: -99;
}
}
.routeName {
font-family: $font-family;
font-style: normal;
font-weight: 400;
font-size: 12px;
line-height: 14px;
color: $color-gray6;
text-transform: uppercase;
@media (min-width:$full) {
font-size: 24px;
line-height: 28px;
}
}

View File

@ -0,0 +1,10 @@
<svg width="8" height="8" viewBox="0 0 8 8" fill="none" xmlns="http://www.w3.org/2000/svg">
<g clip-path="url(#clip0_1_310)">
<path d="M6.11608 3.60396L2.6762 0.164193C2.45738 -0.0547314 2.10261 -0.0547314 1.8839 0.164193C1.66517 0.382921 1.66517 0.737679 1.8839 0.95639L4.92766 4.00006L1.88398 7.04362C1.66525 7.26244 1.66525 7.61716 1.88398 7.83589C2.10271 8.0547 2.45747 8.0547 2.67629 7.83589L6.11617 4.39607C6.22553 4.28665 6.28015 4.1434 6.28015 4.00008C6.28015 3.85668 6.22543 3.71332 6.11608 3.60396Z" fill="#C4C4C4"/>
</g>
<defs>
<clipPath id="clip0_1_310">
<rect width="8" height="8" fill="white" transform="matrix(1 0 0 -1 0 8)"/>
</clipPath>
</defs>
</svg>

After

Width:  |  Height:  |  Size: 669 B

View File

@ -0,0 +1,10 @@
<svg width="16" height="16" viewBox="0 0 16 16" fill="none" xmlns="http://www.w3.org/2000/svg">
<g clip-path="url(#clip0_1_306)">
<path d="M15.8326 7.59562L14.6903 6.4533L8.40431 0.167326C8.18118 -0.0557753 7.81942 -0.0557753 7.59628 0.167326L1.31028 6.4533L0.167381 7.59623C-0.0518699 7.82324 -0.0456085 8.185 0.18141 8.40425C0.402871 8.61814 0.753946 8.61814 0.975407 8.40425L1.14226 8.23623V15.4285C1.14226 15.7442 1.3981 16 1.71372 16H14.2857C14.6013 16 14.8572 15.7442 14.8572 15.4285V8.23623L15.0246 8.40368C15.2516 8.62293 15.6134 8.61664 15.8326 8.38965C16.0465 8.16819 16.0465 7.81708 15.8326 7.59562ZM9.71409 14.8571H6.28537V10.2855H9.71409V14.8571ZM13.7142 14.8571H10.857V9.71403C10.857 9.39841 10.6011 9.14256 10.2855 9.14256H5.7139C5.39829 9.14256 5.14244 9.39841 5.14244 9.71403V14.8571H2.28518V7.09334L7.99969 1.3788L13.7142 7.09334V14.8571Z" fill="#C4C4C4"/>
</g>
<defs>
<clipPath id="clip0_1_306">
<rect width="16" height="16" fill="white"/>
</clipPath>
</defs>
</svg>

After

Width:  |  Height:  |  Size: 986 B

View File

@ -0,0 +1,149 @@
@import "../../../variaveis";
h5 {
margin: 0;
font-family: $font-family;
font-style: normal;
font-weight: 500;
font-size: 14px;
line-height: 16.41px;
text-transform: uppercase;
color: $color-gray8;
@media (min-width: $full) {
font-size: 28px;
line-height: 33px;
}
}
.accordion {
padding: 0 16px;
display: flex;
justify-content: space-between;
width: 100%;
max-width: 707px;
height: 100%;
@media (min-width:$full) {
max-width: 1531px;
}
@media (max-width:$tablets) {
flex-direction: column;
width: 99.875%;
max-width: 992px;
justify-content: initial;
height: auto;
}
@media (max-width:$phone) {
width: 96.875%;
}
}
.toggle__accordion {
display: flex;
justify-content: space-between;
align-items: center;
width: 100%;
}
.icon__minus {
&::after {
content: "-";
}
@media (min-width:1025px) {
&::after {
content: " "
}
}
}
.icon__plus {
&::after {
content: "+";
}
@media (min-width:1025px) {
&::after {
content: " "
}
}
}
.accordion__body {
display: flex;
flex-direction: column;
// max-height: 140px;
margin-top: 12px;
gap: 6px;
height: 125px;
@media (min-width:1025px) {
overflow: visible !important;
}
li {
a {
font-family: $font-family;
font-style: normal;
font-weight: 400;
font-size: 12px;
line-height: 14px;
text-transform: capitalize;
color: $color-gray8;
@media (min-width:$full) {
font-size: 24px;
line-height: 28px;
}
}
}
}
.contact__us {
max-width: 155px;
font-size: 12px;
line-height: 14px;
@media (min-width:$full),
(max-width:$tablets) {
max-width: none;
}
li {
a {
font-weight: 500;
@media (min-width:$full) {
font-size: 24px;
line-height: 28px;
}
}
}
}

View File

@ -0,0 +1,14 @@
import React, { ReactNode } from "react";
interface AccordionProps {
children: ReactNode
}
export const AccordionElement = ({ children }: AccordionProps) => {
return (
<>
{children}
</>
);
}

View File

@ -0,0 +1,40 @@
import React, { useState } from "react";
import styleAccordion from "./Accordion.module.scss";
import { ListItem } from "../../utils/ListItem";
import {
Accordion,
} from "react-headless-accordion";
import { AccordionItem } from "./AccordionItem"
export const AccordionFooter = () => {
return (
<Accordion className={styleAccordion["accordion"]}>
<AccordionItem title="Institucional">
<ListItem link={"/"} title={"Quem Somos"} />
<ListItem link={"/"} title={"Política de Privacidade"} />
<ListItem link={"/"} title={"Segurança"} />
<ListItem link={"/"} title={"Seja um Revendedor"} />
</AccordionItem>
<AccordionItem title="Duvidas">
<ListItem link={"/"} title={"Entrega"} />
<ListItem link={"/"} title={"Pagamento"} />
<ListItem link={"/"} title={"Trocas e Devoluções"} />
<ListItem link={"/"} title={"Dúvidas Frequentes"} />
</AccordionItem>
<AccordionItem title="Fale Conosco">
<span className={styleAccordion["contact__us"]}>
<ListItem link="tel:+551141599505" title={"Atendimento ao Consumidor"} />
</span>
<ListItem link="tel:+551141599505" title={"(11) 4159-9504"} />
<span className={styleAccordion["contact__us"]}>
<ListItem link="tel:+5511994338825" title={"Atendimento Online"} />
</span>
<ListItem link="tel:+5511994338825" title={"(11) 99433-8825"} />
</AccordionItem>
</Accordion>
);
};

View File

@ -0,0 +1,40 @@
import { useState, ReactElement } from "react"
import {
AccordionBody,
AccordionHeader,
AccordionItem as HAccordionItem,
} from "react-headless-accordion";
import styleAccordion from "./Accordion.module.scss";
interface AccordionItemFooterProps {
title: string
children: ReactElement | ReactElement[]
}
export const AccordionItem = ({ children, title }: AccordionItemFooterProps) => {
const [isOpen, setIsOpen] = useState(false)
return (
<HAccordionItem>
<div>
<AccordionHeader
as={"div"}
className={isOpen
? `${styleAccordion["toggle__accordion"]} ${styleAccordion["icon__minus"]}`
: `${styleAccordion["toggle__accordion"]} ${styleAccordion["icon__plus"]}`}
onClick={() => setIsOpen((prevState) => !prevState)}
>
<span>
<h5>{title}</h5>
</span>
</AccordionHeader>
<AccordionBody className={styleAccordion["accordion__body"]}>
{children}
</AccordionBody>
</div>
</HAccordionItem>
)
}

View File

@ -0,0 +1,42 @@
import React, { useEffect, useState } from "react";
import buttons from "./Buttons.module.scss";
import arrowTop from "./assets/arrowTop.svg";
export const ButtonTop = () => {
const [showTopBtn, setShowTopBtn] = useState(false);
useEffect(() => {
window.addEventListener("scroll", () => {
if (window.scrollY > 400) {
setShowTopBtn(true);
} else {
setShowTopBtn(false);
}
});
}, []);
const goToTop = () => {
window.scrollTo({
top: 0,
behavior: "smooth",
});
};
return (
<div className={buttons["btn__scroll"]}
onClick={goToTop} >
<img src={arrowTop}
alt="Icone de seta para cima"
className={buttons["icone"]}
/>
</div>
);
}

View File

@ -0,0 +1,24 @@
import React from "react";
import whatsapp from "./assets/whatsapp.svg";
import buttons from "./Buttons.module.scss";
export const ButtonWhatsapp = () => {
return (
<a
href="https://wa.me/11994338825"
target="_blank"
className={buttons["link"]}
>
<img src={whatsapp} alt="Icone do whats" />
</a>
);
}

View File

@ -0,0 +1,57 @@
@import "../../../variaveis";
.wrapper__buttons {
display: flex;
flex-direction: column;
height: 137px;
position: fixed;
bottom: 255px;
right: 16px;
@media (max-width:2499px) {
height: 73px;
position: fixed;
bottom: 225px;
right: 16px;
}
@media (max-width:$tablets) {
height: 73px;
bottom: 60px;
right: 22px;
}
}
.link {
img {
width: 66px;
max-height: 66px;
@media (max-width:2499px) {
width: 34px;
height: 34px;
}
}
}
.btn__scroll {
width: 66px;
height: 66px;
background-color: $color-gray6;
border-radius: 100%;
display: flex;
align-items: center;
justify-content: center;
@media (max-width:2499px) {
width: 34px;
height: 34px;
.icone {
width: 13px;
}
}
}

View File

@ -0,0 +1,14 @@
import React from "react";
import { ButtonTop } from "./ButtonTop";
import { ButtonWhatsapp } from "./ButtonWhatsapp";
import buttons from "./Buttons.module.scss";
export const Buttons = () => {
return (
<div className={buttons["wrapper__buttons"]}>
<ButtonWhatsapp />
<ButtonTop />
</div >
);
}

View File

@ -0,0 +1,13 @@
<svg width="66" height="137" viewBox="0 0 66 137" fill="none" xmlns="http://www.w3.org/2000/svg">
<path d="M66 104C66 122.225 51.2254 137 33 137C14.7746 137 0 122.225 0 104C0 85.7746 14.7746 71 33 71C51.2254 71 66 85.7746 66 104Z" fill="#C4C4C4"/>
<path d="M44.7428 107.396C44.741 107.696 44.6177 107.995 44.373 108.226L44.3728 108.226C43.8668 108.704 43.037 108.703 42.5311 108.226L42.5232 108.235L42.5311 108.226L33.3457 99.5599L33.0712 99.3009L32.7967 99.5599L23.6118 108.226C23.1055 108.703 22.2757 108.703 21.7698 108.226L21.7697 108.226C21.5257 107.996 21.4025 107.697 21.4 107.398C21.4019 107.098 21.5251 106.799 21.7698 106.568L21.7698 106.568L32.1506 96.7738C32.4013 96.5373 32.7333 96.4158 33.0712 96.4158C33.4093 96.4158 33.7415 96.5376 33.9922 96.774L44.3728 106.568L44.3729 106.568C44.6171 106.798 44.7403 107.097 44.7428 107.396Z" fill="white" stroke="white" stroke-width="0.8"/>
<g clip-path="url(#clip0_3751_655)">
<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_655">
<rect width="66" height="66" fill="white"/>
</clipPath>
</defs>
</svg>

After

Width:  |  Height:  |  Size: 2.3 KiB

View File

@ -0,0 +1,3 @@
<svg width="25" height="13" viewBox="0 0 25 13" fill="none" xmlns="http://www.w3.org/2000/svg">
<path d="M23.7428 11.3959C23.741 11.6959 23.6177 11.9953 23.373 12.226L23.3728 12.2261C22.8668 12.7035 22.037 12.7035 21.5311 12.2261L21.5232 12.2345L21.5311 12.2261L12.3457 3.5599L12.0712 3.30091L11.7967 3.5599L2.61178 12.2258C2.10549 12.7033 1.27571 12.7032 0.769767 12.2259L0.769708 12.2258C0.525704 11.9957 0.402467 11.6972 0.400037 11.398C0.401876 11.0981 0.525111 10.7986 0.769782 10.5678L0.769785 10.5678L11.1506 0.773762C11.4013 0.537307 11.7333 0.415846 12.0712 0.415846C12.4093 0.415846 12.7415 0.537566 12.9922 0.773969L23.3728 10.568L23.3729 10.5681C23.6171 10.7983 23.7403 11.0968 23.7428 11.3959Z" fill="white" stroke="white" stroke-width="0.8"/>
</svg>

After

Width:  |  Height:  |  Size: 764 B

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_4136_1027)">
<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.2103 46.6001C51.4142 48.8483 48.2544 50.7128 45.734 51.2573C44.0098 51.6244 41.7575 51.9173 34.1758 48.774C24.4779 44.7563 18.2326 34.9016 17.7459 34.2623C17.2798 33.6229 13.8271 29.0441 13.8271 24.3086C13.8271 19.5731 16.232 17.2673 17.2014 16.2773C17.9975 15.4646 19.3134 15.0934 20.5756 15.0934C20.984 15.0934 21.3511 15.114 21.6811 15.1305C22.6505 15.1718 23.1373 15.2295 23.7766 16.7599C24.5728 18.678 26.5115 23.4135 26.7425 23.9003C26.9776 24.387 27.2128 25.047 26.8828 25.6864C26.5734 26.3464 26.3011 26.6393 25.8144 27.2003C25.3276 27.7613 24.8656 28.1903 24.3789 28.7925C23.9334 29.3164 23.4301 29.8774 23.9911 30.8468C24.5521 31.7955 26.4909 34.9594 29.3454 37.5004C33.029 40.7798 36.0155 41.8275 37.0839 42.273C37.88 42.603 38.8288 42.5246 39.4104 41.9059C40.1488 41.1098 41.0604 39.7898 41.9885 38.4904C42.6485 37.5581 43.4818 37.4426 44.3563 37.7726C45.2473 38.082 49.9622 40.4126 50.9315 40.8953C51.9009 41.382 52.5403 41.613 52.7754 42.0214C53.0064 42.4298 53.0064 44.3479 52.2103 46.6001Z" fill="white"/>
</g>
<defs>
<clipPath id="clip0_4136_1027">
<rect width="66" height="66" fill="white"/>
</clipPath>
</defs>
</svg>

After

Width:  |  Height:  |  Size: 1.5 KiB

View File

@ -0,0 +1,23 @@
import React from "react";
import { NewsLetter } from "./NewsLetter/NewsLetter";
import { AccordionFooter } from "./Accordion/AccordionFooter";
import { Rodape } from "./Rodape/Rodape";
import { SocialMedia } from "./SocialMedia/SocialMedia";
import styleFooter from "./styles/Footer.module.scss";
import { Buttons } from "./ButtonsFixeds/Buttons";
export const Footer = () => {
return (
<footer className={styleFooter["footer"]}>
<NewsLetter />
<div className={styleFooter["footer__middle"]}>
<AccordionFooter />
<SocialMedia />
<Buttons />
</div>
<Rodape />
</footer >
);
}

View File

@ -0,0 +1,18 @@
import React from "react";
import styleNewsLetter from "./Newsletter.module.scss";
export const NewsLetter = () => {
return (
<div className={styleNewsLetter["newsLetter"]}>
<div className={styleNewsLetter["newsLetter__wrapper"]}>
<h3 className={styleNewsLetter["newsLetter__title"]}>Assine nossa Newsletter</h3>
<form className={styleNewsLetter["newsLetter__form"]} action="/">
<input className={styleNewsLetter["newsLetter__form__input"]} type="email" name="email" id="email" placeholder="E-mail" />
<input className={styleNewsLetter["newsLetter__form__submit"]} type="submit" value="Enviar" />
</form>
</div>
</div>
);
}

View File

@ -0,0 +1,161 @@
@import "../../../variaveis";
.newsLetter {
width: 100%;
padding: 16px 0;
border-top: 1px solid;
border-bottom: 1px solid;
&__wrapper {
display: flex;
flex-direction: column;
width: 37.03125%;
margin: 0 auto;
@media (max-width:$tablets) {
row-gap: 16px;
// margin: 0 16px;
width: 96.875%;
}
@media (max-width:768px) {
width: 94%;
}
@media (max-width:$phone) {
width: 91.42%;
}
.newsLetter__title {
font-family: $font-family;
font-style: normal;
font-weight: 500;
font-size: 18px;
line-height: 21px;
letter-spacing: 0.05em;
font-variant: small-caps;
text-transform: uppercase;
color: $color-gray8;
margin: 0;
margin-bottom: 8px;
@media (min-width:$full) {
font-size: 36px;
line-height: 42px;
}
@media (max-width:$tablets) {
font-size: 14px;
line-height: 16px;
}
}
.newsLetter__form {
width: 100%;
display: flex;
align-items: center;
justify-content: space-between;
column-gap: 10px;
@media (max-width:$tablets) {
row-gap: 16px;
flex-direction: column;
}
&__input {
width: 100%;
// max-width: 340px;
height: 42px;
border-radius: 4px;
border: 1px solid $color-gray5;
outline: none;
padding: 0 16px;
font-weight: 400;
font-size: 14px;
line-height: 16px;
color: $color-gray6;
&::placeholder {
color: $color-gray6;
}
@media (min-width:$full) {
height: 59px;
min-width: 668px;
font-size: 28px;
line-height: 33px;
}
@media (max-width:$tablets) {
max-width: 96.875%;
}
@media (max-width:768px) {
width: 94.875%;
}
@media (max-width:512px) {
width: 91.875%;
}
@media (max-width:$phone) {
width: 90.4%;
}
}
&__submit {
font-family: $font-family;
font-style: normal;
font-weight: 700;
font-size: 12px;
line-height: 14px;
text-transform: uppercase;
text-align: center;
letter-spacing: 0.05em;
color: $color-white;
width: 100%;
max-width: 126px;
padding: 14px 20px;
border-radius: 4px;
outline: none;
border: none;
background: $color-black;
box-shadow: 0px 4px 4px rgba(0, 0, 0, 0.25);
border-radius: 4px;
@media (min-width:$full) {
min-width: 246px;
height: 59px;
font-size: 24px;
line-height: 28px;
}
@media (max-width:$tablets) {
max-width: none;
}
}
}
}
}

View File

@ -0,0 +1,22 @@
import React from 'react'
interface RodapeDevelopedByProps {
link: string;
description: string;
source: string;
altText: string;
}
export const DevelopedBy = ({ link, description, source, altText }: RodapeDevelopedByProps) => {
return (
<>
<li>
<a href={link}>
<span>{description}</span>
<img src={source} alt={altText} />
</a>
</li>
</>
)
}

View File

@ -0,0 +1,241 @@
@import "../../../variaveis";
/* _footer.scss */
.footer {
color: $color-gray2;
bottom: 0;
width: 100%;
background-color: $color-black;
&__wrapper {
padding: 16px 0;
display: flex;
justify-content: space-between;
align-items: center;
margin: 0 100px;
@media (max-width: $tablets) {
flex-direction: column;
align-items: flex-start;
margin: 0 16px;
}
}
&__address {
color: $color-white;
font-family: $font-family;
font-style: normal;
font-weight: 400;
font-size: 10px;
line-height: 12px;
text-transform: capitalize;
width: 100%;
max-width: 269px;
@media(min-width:$full) {
font-size: 20px;
line-height: 27px;
max-width: none;
width: 537px;
min-width: 537px;
}
@media(max-width:$tablets) {
margin-bottom: 16px;
order: 2;
}
}
&__stamps {
align-items: center;
display: flex;
justify-content: center;
justify-self: center;
list-style: none;
column-gap: 11px;
@media (min-width: $full) {
min-width: 690px;
}
@media (max-width: $tablets) {
justify-content: flex-start;
margin: 0;
margin-bottom: 23px;
order: 1;
padding: 0;
}
span {
img {
width: 36px;
height: 20.2px;
@media(min-width:$full) {
width: 70px;
height: 39.27px;
}
@media (max-width: $tablets) {
width: 35px;
height: 20.13px;
}
@media (max-width: $phone) {
width: 30px;
height: 17px;
}
@media (max-width: 370px) {
column-gap: 5.5px;
width: 18px;
width: 19px;
}
}
}
&__divider {
background-color: $color-gray4;
display: inline-block;
height: 24px;
margin: 0 8px;
width: 1px !important;
min-width: 1px !important;
}
}
&__vtexpci {
img {
width: 53px;
height: 33px;
@media(min-width:$full) {
width: 103.52px;
height: 64.44px;
}
}
}
&__developedBy {
align-items: center;
display: flex;
list-style-type: none;
margin: 0;
max-width: 217px;
width: 100%;
margin: 0;
@media(min-width:$full) {
min-width: 388.98px;
}
@media(max-width:$tablets) {
order: 3;
padding: 0;
}
li {
width: 100%;
min-width: 108.5px;
@media(min-width:$full) {
min-width: 189PX;
}
}
li:last-child {
margin-left: 16px;
a {
span {
width: 100%;
font-weight: 400;
font-size: 9px;
line-height: 12px;
@media(min-width:$full) {
font-size: 18px;
line-height: 25px;
}
}
img {
width: 28.66px;
height: 15.65px;
@media(min-width:$full) {
width: 55.98px;
height: 30.55px;
}
}
}
}
a {
align-items: center;
color: $color-gray2;
display: flex;
font-family: $font-family;
font-style: normal;
font-weight: normal;
font-size: 10px;
line-height: 12px;
text-decoration: none;
color: $color-white;
text-transform: capitalize;
@media(min-width:$full) {
font-size: 18px;
line-height: 25px;
}
span {
margin-right: 8px;
width: 100%;
@media(min-width:$full) {
margin-right: 10px;
min-width: 100px;
}
}
img {
width: 44.92px;
height: 16px;
@media(min-width:$full) {
width: 87.73px;
height: 31.24px;
}
}
}
}
}

View File

@ -0,0 +1,81 @@
import React from 'react'
import paymantMasterCard from "../assets/img/masterCardM3Academy.png";
import paymantVisa from "../assets/img/visaM3Academy.png";
import paymantAmex from "../assets/img/amexM3Academy.png";
import paymantElo from "../assets/img/eloM3Academy.png";
import paymantHiperCard from "../assets/img/hiperCardM3Academy.png";
import paymantPayPal from "../assets/img/payPalM3Academy.png";
import paymantBoleto from "../assets/img/boletoM3Academy.png";
import paymantVtexPCI from "../assets/img/vtexPCIM3Academy.png";
import developByM3 from "../assets/svgs/logoM3M3Academy.svg";
import developByVtex from "../assets/svgs/logoVTEXM3Academy.svg";
import styleRodape from "./Rodape.module.scss";
import { RodapeStamp } from './RodapeStamp';
import { DevelopedBy } from './DevelopedBy';
export const Rodape = () => {
return (
<div className={styleRodape["footer"]}>
{/*
<Rodape />
*/}
<div className={styleRodape["footer__wrapper"]}>
<div className={styleRodape["footer__address"]}>
<span>Lorem ipsum dolor sit amet, consectetur adipiscing
elit, sed do eiusmod tempor</span>
</div>
<ul className={styleRodape["footer__stamps"]}>
<RodapeStamp
source={paymantMasterCard}
altText={"Formas de pagamentos aceitas"}
/>
<RodapeStamp
source={paymantVisa}
altText={"Formas de pagamentos aceitas"}
/>
<RodapeStamp
source={paymantAmex}
altText={"Formas de pagamentos aceitas"}
/>
<RodapeStamp
source={paymantElo}
altText={"Formas de pagamentos aceitas"}
/>
<RodapeStamp
source={paymantHiperCard}
altText={"Formas de pagamentos aceitas"}
/>
<RodapeStamp
source={paymantPayPal}
altText={"Formas de pagamentos aceitas"}
/>
<RodapeStamp
source={paymantBoleto}
altText={"Formas de pagamentos aceitas"}
/>
<li>
<span className={styleRodape["footer__stamps__divider"]}></span>
</li>
<RodapeStamp source={paymantVtexPCI} altText={"Formas de pagamentos aceitas"} />
</ul>
<ul className={styleRodape["footer__developedBy"]}>
<DevelopedBy
link={"https://vtex.com/br-pt/"}
description={"Powered By"}
source={developByVtex}
altText={"Powered By"}
/>
<DevelopedBy
link={"https://agenciam3.com/"}
description={"Developed By"}
source={developByM3}
altText={"developByVtex"}
/>
</ul>
</div>
</div>
);
}

View File

@ -0,0 +1,20 @@
import React, { Component } from 'react'
import styleRodape from "./Rodape.module.scss";
interface RodapeStampProps {
source: string;
altText: string;
}
export const RodapeStamp = ({ source, altText }: RodapeStampProps) => {
return (
<li>
<span className={styleRodape["footer__payments"]}>
<img src={source} alt={altText} />
</span>
</li>
)
}

View File

@ -0,0 +1,56 @@
@import "../../../variaveis";
.wrapper {
@media (max-width:1025px) {
padding: 0 16px;
}
&__social__media {
display: flex;
column-gap: 10px;
width: 100%;
max-width: 215px;
padding: 0;
@media (min-width: $full) {
max-width: 390px;
}
li {
a {
img {
width: 35px;
height: 35px;
@media (min-width: $full) {
width: 70px;
height: 70px;
}
}
}
}
}
.link__site {
a {
font-family: 'Roboto';
font-style: normal;
font-weight: 400;
font-size: 14px;
line-height: 16px;
color: #303030;
text-transform: lowercase;
@media (min-width:$full) {
font-size: 28x;
line-height: 33px;
}
}
}
}

View File

@ -0,0 +1,46 @@
import React from "react";
import { IconLink } from "../../utils/IconLink";
import facebook from "./assets/svgs/facebook.svg";
import instagram from "./assets/svgs/instagram.svg";
import twitter from "./assets/svgs/twitter.svg";
import youtube from "./assets/svgs/youtube.svg";
import linkedin from "./assets/svgs/linkedin.svg";
import styleSocialMedia from "./SocialMedia.module.scss";
export const SocialMedia = () => {
return (
<div className={styleSocialMedia["wrapper"]}>
<div className={styleSocialMedia["wrapper__social__media"]}>
<IconLink link={"https://web.facebook.com/digitalm3"}
sourceImg={facebook}
altText="Logo da rede social "
/>
<IconLink link={"https://www.instagram.com/m3.ecommerce/"}
sourceImg={instagram}
altText="Logo da rede social "
/>
<IconLink link={"https://twitter.com/eCommerce_Br/status/1443210495784366089"}
sourceImg={twitter}
altText="Logo da rede social "
/>
<IconLink link={"https://www.youtube.com/@m3e-commerce796"}
sourceImg={youtube}
altText="Logo da rede social "
/>
<IconLink link={"https://www.linkedin.com/company/m3ecommerce/"}
sourceImg={linkedin}
altText="Logo da rede social "
/>
</div >
<div className={styleSocialMedia["link__site"]} >
<a href="www.loremipsum.com">
www.loremipsum.com
</a>
</div>
</div >
)
}

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_6470_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_6470_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

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_6470_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_6470_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_6470_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_6470_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="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

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

Binary file not shown.

After

Width:  |  Height:  |  Size: 8.4 KiB

Binary file not shown.

After

Width:  |  Height:  |  Size: 3.4 KiB

Binary file not shown.

After

Width:  |  Height:  |  Size: 4.0 KiB

Binary file not shown.

After

Width:  |  Height:  |  Size: 4.1 KiB

Binary file not shown.

After

Width:  |  Height:  |  Size: 3.2 KiB

Binary file not shown.

After

Width:  |  Height:  |  Size: 4.3 KiB

Binary file not shown.

After

Width:  |  Height:  |  Size: 4.6 KiB

Binary file not shown.

After

Width:  |  Height:  |  Size: 8.5 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

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,32 @@
@import "../../../variaveis";
.footer {
width: 100%;
&__middle {
display: flex;
justify-content: space-evenly;
height: 139px;
padding: 50px 0;
position: relative;
@media (min-width:$full) {
height: 239px;
}
@media (max-width: $tablets) {
flex-direction: column;
width: 96.875%;
max-width: 992px;
justify-content: initial;
padding: 24px 0;
height: auto;
}
@media (max-width:768px) {
width: 94%;
}
}
}

View File

@ -0,0 +1,506 @@
@import "../../variaveis";
li {
list-style: none;
}
a {
text-decoration: none;
font-family: $font-family;
font-style: normal;
font-weight: 500;
font-size: 14px;
line-height: 16px;
text-transform: uppercase;
color: $color-white;
position: relative;
@media (min-width:$full) {
font-size: 28px;
line-height: 33px;
}
&:hover {
text-decoration: none;
}
&:active,
&:visited {
text-decoration: none;
}
}
.header {
display: flex;
flex-direction: column;
// AREA HEADER TOP
&__top {
background-color: $color-black;
display: flex;
height: 75px;
border-bottom: 1px solid $color-gray6;
@media (min-width:$full) {
height: 100px;
}
@media (max-width:1025px) {
display: none;
}
.container__header__top {
display: flex;
align-items: center;
margin: 0 100px;
width: 100%;
.container__logo {
display: block;
width: 100%;
max-width: 162px;
@media (min-width:$full) {
max-width: 265.62px;
}
&__img {
display: block;
width: 100%;
height: 25.86px;
@media (min-width:$full) {
height: 50.5px;
}
}
}
.container__search {
width: 100%;
height: 32px;
margin: 0 auto;
display: flex;
justify-content: center;
max-width: 264px;
@media (min-width:$full) {
max-width: none;
width: 24.44444%;
height: 57px;
}
&__input {
width: 262px;
font-size: 1rem;
outline: none;
padding-left: 16px;
border-radius: 5px;
color: $color-gray6;
font-family: $font-family;
font-style: normal;
font-weight: 400;
font-size: 14px;
line-height: 16px;
@media (min-width:$full) {
width: 100%;
height: 57px;
font-size: 28px;
line-height: 33px;
}
&::placeholder {
color: $color-gray6;
font-family: $font-family;
font-style: normal;
font-weight: 400;
font-size: 14px;
line-height: 16px;
@media (min-width:$full) {
font-size: 28px;
line-height: 33px;
}
}
&:focus {
transition: 0.35s ease;
color: $color-black;
&::-webkit-input-placeholder {
transition: opacity 0.45s ease;
opacity: 0;
}
&::-moz-placeholder {
transition: opacity 0.45s ease;
opacity: 0;
}
&:-ms-placeholder {
transition: opacity 0.45s ease;
opacity: 0;
}
}
&:focus {
transition: 0.35s ease;
color: $color-black;
&::-webkit-input-placeholder {
transition: opacity 0.45s ease;
opacity: 0;
}
&::-moz-placeholder {
transition: opacity 0.45s ease;
opacity: 0;
}
&:-ms-placeholder {
transition: opacity 0.45s ease;
opacity: 0;
}
}
}
&__link {
position: relative;
float: right;
width: 18px;
height: 18px;
top: 7px;
right: 32px;
@media (min-width:$full) {
top: 14px;
right: 64px;
img {
width: 35.15px;
height: 35.15px;
}
}
}
}
.container__menu {
display: flex;
align-items: center;
width: 100%;
max-width: 136px;
justify-content: space-between;
@media (min-width:$full) {
max-width: 214.68px;
}
&__enter {
a {
font-family: $font-family;
font-style: normal;
font-weight: 400;
font-size: 14px;
line-height: 16px;
text-transform: uppercase;
color: $color-white;
@media (min-width:$full) {
font-size: 28px;
line-height: 33px;
}
}
}
&__cart {
a {
img {
@media (min-width:$full) {
width: 54.68px;
height: 54.68px;
}
}
}
}
}
}
.search-container {
width: $phone;
display: block;
margin: 0 auto;
}
.search-icon {
position: relative;
float: right;
width: 75px;
height: 75px;
top: -62px;
right: -45px;
}
}
// AREA HEADER BOTTOM
&__bottom {
width: 100%;
height: 44px;
@media (min-width:$full) {
height: 61px;
}
background-color: $color-black;
display: flex;
align-items: center;
@media (max-width:1025px) {
display: none;
}
.navBar {
width: 100%;
position: relative;
&__toggle {
display: none;
}
}
}
.navBar__items {
width: 100%;
max-width: 349px;
margin: 0 100px;
display: flex;
width: 100%;
flex-direction: row;
justify-content: space-around;
align-items: center;
padding: 0;
@media (min-width:$full) {
max-width: 588.62px;
justify-content: space-between;
}
@media (max-width:$tablets) {
display: flex;
align-items: initial;
flex-direction: column;
row-gap: 12px;
margin: 31px 16px;
z-index: 9;
}
.list__items__link {
&::before {
content: "";
position: absolute;
left: 0;
bottom: 0;
width: 0;
height: 2px;
background: $color-white;
transition: all .45s;
}
@media (max-width:$tablets) {
color: $color-gray6;
}
&:hover::before {
width: 100%;
}
}
}
// AREA HEADER MOBILE
&__mobile {
background-color: $color-black;
display: flex;
flex-direction: column;
height: auto;
row-gap: 30.5px;
padding: 25px 0;
@media (min-width:1025px) {
display: none;
}
.mobile__wrapper {
width: 96.875%;
display: flex;
margin: 0 16px;
align-items: center;
justify-content: space-between;
@media (max-width:768px) {
width: 94%;
}
@media (max-width:$phone) {
width: 91.466666666666666666666666666667%;
}
.container__hamburguer {
background-color: $color-white;
width: 30px;
height: 30px;
}
}
.container__search__mobile {
width: 96.875%;
height: 32px;
display: flex;
justify-content: center;
margin: 0 16px;
max-width: 992px;
background-color: $color-white;
border-radius: 5px;
@media (max-width:768px) {
width: 94%;
}
@media (max-width:$phone) {
width: 91.466666666666666666666666666667%;
}
.container__search__input {
width: 100%;
font-size: 1rem;
outline: none;
padding-left: 16px;
border: none;
border-radius: 5px;
&::placeholder {
color: $color-gray6;
font-family: $font-family;
font-style: normal;
font-weight: 400;
font-size: 14px;
line-height: 16px;
}
&:focus {
transition: 0.35s ease;
color: $color-black;
&::-webkit-input-placeholder {
transition: opacity 0.45s ease;
opacity: 0;
}
&::-moz-placeholder {
transition: opacity 0.45s ease;
opacity: 0;
}
&:-ms-placeholder {
transition: opacity 0.45s ease;
opacity: 0;
}
}
}
.container__search__link {
position: relative;
float: right;
width: 18px;
height: 18px;
top: 7px;
right: 16px;
}
}
}
}
// AREA DO MENU HAMBURGUER
@media (max-width:1025px) {
.wrapper {
position: fixed;
top: 0;
bottom: 0;
left: 0;
right: 0;
display: flex;
justify-items: center;
align-items: center;
opacity: 0;
pointer-events: none;
transition: all .45s;
z-index: 9;
}
.wrapper.aberto {
opacity: 1;
pointer-events: all;
}
.content {
position: fixed;
top: 0;
width: 96.484375%;
height: 585px;
background-color: $color-white;
z-index: 8;
@media (max-width:$phone) {
width: 90.4%;
}
}
.overlay {
position: fixed;
top: 0;
bottom: 0;
left: 0;
right: 0;
background-color: rgba(0, 0, 0, 0.5);
transition: all .45s;
}
}
.header__menu {
background-color: $color-black;
height: 78px;
display: flex;
align-items: center;
&__wrapper {
display: flex;
justify-content: space-between;
width: 100%;
margin: 0 16px;
}
}

View File

@ -1,3 +0,0 @@
header{
background-color: #000;
}

View File

@ -1,34 +1,17 @@
import React from "react";
import './Header.scss';
import logo from "../../assets/svg/logo.svg"
import search from "../../assets/svg/search.svg"
import cart from "../../assets/svg/cart.svg"
import { HeaderTop } from "./HeaderDesk/HeaderTop";
import { HeaderBottom } from "./HeaderDesk/HeaderBottom";
import { HeaderMobile } from "./HeaderMobile/HeaderMobile";
const Header = ()=>{
import styleHeader from './Header.module.scss';
export const Header = () => {
return (
<header className="header">
<div className="container__header__top">
<div className="container__logo">
< img src={logo} alt="Logo M3" className="container__logo__img" />
</div>
<div className="container__search">
<input className="container__search__input" type="text" placeholder="Buscar"/>
<img className="container__search__img" src={search} alt="" />
</div>
<div className="container__menu" >
<span className="container__menu__enter">
<a href="/">Entrar</a>
</span>
<span className="container__menu_cart">
<a href="/" ><img src={cart} alt="icone de cart" /></a>
</span>
</div>
</div>
<div className="container__header__bottom">
</div>
<header className={styleHeader["header"]}>
<HeaderTop />
<HeaderBottom />
<HeaderMobile />
</header>
)
}
export {Header}

View File

@ -0,0 +1,22 @@
import React from "react";
import styleHeader from '../Header.module.scss';
import { Link } from "react-router-dom"
export const HeaderBottom = () => {
return (
<div className={styleHeader["header__bottom"]}>
<nav className={styleHeader["navBar__items"]}>
<Link className={styleHeader["list__items__link"]} to="/institucional/sobre">
Cursos
</Link>
<Link className={styleHeader["list__items__link"]} to="/institucional/sobre">
Saiba Mais
</Link>
<Link className={styleHeader["list__items__link"]} to="/institucional/sobre">
Institucional
</Link>
</nav>
</div>
);
}

View File

@ -0,0 +1,35 @@
import React from "react";
import logo from "../assets/svgs/logo.svg";
import search from "../assets/svgs/search.svg";
import cart from "../assets/svgs/cart.svg";
import styleHeader from '../Header.module.scss';
import { Link } from "react-router-dom";
export const HeaderTop = () => {
return (
<div className={styleHeader["header__top"]}>
<div className={styleHeader["container__header__top"]}>
<Link to="/institucional/sobre" className={styleHeader["container__logo"]}>
< img src={logo} alt="Logo M3" className={styleHeader["container__logo__img"]} />
</Link>
<form className={styleHeader["container__search"]}>
<input className={styleHeader["container__search__input"]} type="text" placeholder="Buscar..." />
<Link className={styleHeader["container__search__link"]} to="/institucional/sobre">
<img className={styleHeader["container__search__link__img"]} src={search} alt="Icone de busca" />
</Link>
</form>
<div className={styleHeader["container__menu"]} >
<span className={styleHeader["container__menu__enter"]}>
<Link to="/institucional/sobre">Entrar</Link>
</span>
<span className={styleHeader["container__menu__cart"]}>
<Link to="/institucional/sobre" >
<img src={cart} alt="icone de cart" />
</Link>
</span>
</div>
</div>
</div>
);
}

View File

@ -0,0 +1,48 @@
import React from "react";
import { Link } from "react-router-dom";
import closeIcon from "../assets/svgs/icon-close.svg";
import styleHeader from '../Header.module.scss';
interface MenuMobile {
isOpenMenu: boolean;
setisOpenMenu: React.Dispatch<React.SetStateAction<boolean>>
}
export const BurguerMenu = ({ isOpenMenu, setisOpenMenu }: MenuMobile) => {
return (
< div className={isOpenMenu
? `${styleHeader["wrapper"]} ${styleHeader['aberto']}`
: `${styleHeader["wrapper"]}`} >
<div className={styleHeader["content"]}>
<div className={styleHeader["header__menu"]} >
<div className={styleHeader["header__menu__wrapper"]}>
<span className={styleHeader["menu__enter"]}>
<a href="/">Entrar</a>
</span>
<span className={styleHeader["close"]} onClick={() => setisOpenMenu(false)}>
<img src={closeIcon} alt="Botão de fechar" onClick={() => setisOpenMenu(false)} />
</span>
</div>
</div>
<nav className={styleHeader["navBar__items"]}>
<Link className={styleHeader["list__items__link"]} to="/institucional/sobre">
Cursos
</Link>
<Link className={styleHeader["list__items__link"]} to="/institucional/sobre">
Saiba Mais
</Link>
<Link className={styleHeader["list__items__link"]} to="/institucional/sobre">
Institucional
</Link>
</nav>
</div>
<div className={styleHeader["overlay"]} onClick={() => setisOpenMenu(false)}></div>
</div >
);
}

View File

@ -0,0 +1,40 @@
import { useState } from "react";
import logo from "../assets/svgs/logo.svg";
import search from "../assets/svgs/search.svg";
import cart from "../assets/svgs/cart.svg";
import burguerIcon from "../assets/svgs/burger-icon.svg";
import styleHeader from '../Header.module.scss';
import { BurguerMenu } from "./BurguerMenu";
export const HeaderMobile = () => {
const [isOpenMenu, setisOpenMenu] = useState(false);
return (
<div className={styleHeader["header__mobile"]}>
<div className={styleHeader["mobile__wrapper"]} >
<div className={styleHeader["wrapper__icon-burger"]}>
<img src={burguerIcon} alt="Menu Hamburguer" onClick={() => setisOpenMenu(true)} />
</div>
<div className={styleHeader["container__logo"]}>
< img src={logo} alt="Logo M3" className={styleHeader["container__logo__img"]} />
</div>
<div className={styleHeader["container__menu"]} >
<span className={styleHeader["container__menu_cart"]}>
<a href="/institucional/sobre" ><img src={cart} alt="icone de cart" /></a>
</span>
</div>
</div>
<form className={styleHeader["container__search__mobile"]}>
<input className={styleHeader["container__search__input"]} type="text" placeholder="Buscar..." />
<a className={styleHeader["container__search__link"]} href="/institucional/sobre">
<img src={search} alt="Icone de busca" />
</a>
</form>
<BurguerMenu isOpenMenu={isOpenMenu}
setisOpenMenu={setisOpenMenu} />
</div>
);
}

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="28" height="28" viewBox="0 0 28 28" fill="none" xmlns="http://www.w3.org/2000/svg">
<g clip-path="url(#clip0_4778_970)">
<path d="M27.823 4.07236C27.6697 3.88079 27.4377 3.76928 27.1923 3.76928H5.69581L5.09469 1.16451C5.01009 0.798054 4.68377 0.538452 4.30768 0.538452H0.80768C0.361648 0.538452 0 0.9001 0 1.34619C0 1.79227 0.361648 2.15387 0.80768 2.15387H3.66516L7.7455 19.8355C7.83005 20.2019 8.15642 20.4615 8.53251 20.4615H24.7154C25.1614 20.4615 25.523 20.0999 25.523 19.6539C25.523 19.2078 25.1614 18.8462 24.7154 18.8462H9.17509L8.55384 16.1539H24.7693C25.1471 16.1539 25.4744 15.892 25.5573 15.5235L27.9803 4.75426C28.0342 4.51483 27.9763 4.26398 27.823 4.07236Z" fill="white"/>
<path d="M11.8462 21.5385C10.2132 21.5385 8.88464 22.867 8.88464 24.5C8.88464 26.133 10.2132 27.4615 11.8462 27.4615C13.4792 27.4615 14.8077 26.133 14.8077 24.5C14.8077 22.867 13.4792 21.5385 11.8462 21.5385Z" fill="white"/>
<path d="M21.5385 21.5385C19.9055 21.5385 18.5769 22.867 18.5769 24.5C18.5769 26.133 19.9054 27.4615 21.5385 27.4615C23.1714 27.4615 24.5 26.133 24.5 24.5C24.5 22.867 23.1715 21.5385 21.5385 21.5385Z" fill="white"/>
</g>
<defs>
<clipPath id="clip0_4778_970">
<rect width="28" height="28" fill="white"/>
</clipPath>
</defs>
</svg>

After

Width:  |  Height:  |  Size: 1.2 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

File diff suppressed because one or more lines are too long

After

Width:  |  Height:  |  Size: 19 KiB

View File

@ -0,0 +1,10 @@
<svg width="18" height="18" viewBox="0 0 18 18" fill="none" xmlns="http://www.w3.org/2000/svg">
<g clip-path="url(#clip0_4778_966)">
<path d="M13.2094 11.6186C14.0951 10.409 14.6249 8.92328 14.6249 7.31261C14.6249 3.28064 11.3444 0.00012207 7.31245 0.00012207C3.28048 0.00012207 0 3.28064 0 7.31261C0 11.3446 3.28052 14.6251 7.31248 14.6251C8.92315 14.6251 10.409 14.0952 11.6186 13.2094L16.4092 18L18 16.4092C18 16.4092 13.2094 11.6186 13.2094 11.6186ZM7.31248 12.3751C4.52086 12.3751 2.25001 10.1042 2.25001 7.31261C2.25001 4.52098 4.52086 2.25013 7.31248 2.25013C10.1041 2.25013 12.375 4.52098 12.375 7.31261C12.375 10.1042 10.1041 12.3751 7.31248 12.3751Z" fill="#303030"/>
</g>
<defs>
<clipPath id="clip0_4778_966">
<rect width="18" height="18" rx="5" fill="white"/>
</clipPath>
</defs>
</svg>

After

Width:  |  Height:  |  Size: 799 B

View File

@ -0,0 +1,25 @@
import { Outlet } from "react-router-dom"
import { Footer } from "../Footer/Footer"
import { Header } from "../Header/Header"
import { BreadCrumb } from "../BreadCrumb/BreadCreumb"
import styles from "./styles.module.scss"
export const Layout = () => {
return (
<div className={styles["container"]}>
<Header />
<BreadCrumb />
<main className={styles["main"]}>
<Outlet />
</main>
<Footer />
</div >
)
}

View File

@ -0,0 +1,57 @@
@import "../../variaveis";
.container {
display: flex;
flex-direction: column;
height: 100%;
overflow: hidden;
@media (min-width:3000px) {
height: 100vh;
flex: 1;
}
}
.main {
display: flex;
height: auto;
margin: 0 100px;
flex-direction: column;
@media (min-width: 3000px) {
min-height: 897px;
flex: 1;
height: 100vh;
}
@media (max-width:$tablets) {
margin: 0 16px;
// z-index: -9;
}
h1 {
text-align: center;
font-family: $font-family;
font-style: normal;
font-weight: 400;
font-size: 24px;
line-height: 28px;
letter-spacing: 0.1em;
text-transform: uppercase;
color: $color-black1;
@media (min-width:$full) {
font-size: 48px;
line-height: 56px;
}
}
}

View File

@ -0,0 +1,19 @@
import React from 'react';
interface IconLink {
link: string;
sourceImg: string;
altText: string;
}
export const IconLink = ({ link, sourceImg, altText }: IconLink) => {
return (
<li>
<a href={link} target="_blank">
<img src={sourceImg} alt={altText} />
</a>
</li>
)
}

View File

@ -0,0 +1,19 @@
import React from 'react';
interface ListItemProps {
link?: string;
title: string;
}
export const ListItem = ({ link, title }: ListItemProps) => {
return (
<li>
<a href={link}>
{title}
</a>
</li>
)
}

View File

@ -1,3 +1,5 @@
body {
margin: 0;
font-family: -apple-system, BlinkMacSystemFont, 'Segoe UI', 'Roboto', 'Oxygen',
@ -5,9 +7,15 @@ body {
sans-serif;
-webkit-font-smoothing: antialiased;
-moz-osx-font-smoothing: grayscale;
/* background-color: gray; */
}
code {
font-family: source-code-pro, Menlo, Monaco, Consolas, 'Courier New',
monospace;
}
a{
text-decoration: none;
}

View File

@ -1,13 +1,16 @@
import React from 'react';
import ReactDOM from 'react-dom/client';
import { Header } from './components/Header/Header';
import './index.css';
import { BrowserRouter } from "react-router-dom"
import { Routes } from './routes';
function App() {
return (
<div className="App">
<Header/>
</div>
<BrowserRouter>
<Routes />
</BrowserRouter>
);
}
@ -15,5 +18,5 @@ const root = ReactDOM.createRoot(
document.getElementById('root') as HTMLElement
);
root.render(
<App />
<App />
);

18
src/pages/Home.tsx Normal file
View File

@ -0,0 +1,18 @@
import styles from "./styles.module.scss"
export const Home = () => {
return (
<div className={styles["container"]}>
<h1>HOME</h1>
</div >
)
}

View File

@ -0,0 +1,21 @@
import React from 'react';
import { Article } from './Article';
export const About = () => {
return (
<Article title='Sobre'>
<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>
</Article>
)
}

View File

@ -0,0 +1,20 @@
import React, { ReactNode } from 'react';
interface ArticleProps {
title: string;
className?: string;
children: ReactNode;
}
export const Article = ({ children, title, className }: ArticleProps) => {
return (
<>
<h2 >{title}</h2>
{children}
</>
)
}

View File

@ -0,0 +1,157 @@
@import "../../variaveis";
.formulario {
display: flex;
flex-direction: column;
padding: 16px;
font-family: $font-family;
font-style: normal;
font-weight: 400;
font-size: 14px;
line-height: 16px;
@media (min-width: $full) {
font-size: 28px;
line-height: 32px;
}
@media (min-width: 1025px) {
width: 100%;
padding: 0px;
}
.label__form {
margin: 12px 0;
}
input {
padding: 14px 20px;
border: 1px solid $color-black2;
border-radius: 25px;
font-family: $font-family;
font-style: normal;
font-weight: 400;
font-size: 14px;
line-height: 16px;
color: $color-black;
outline: none;
@media (min-width: $full) {
font-size: 28px;
line-height: 33px;
}
}
&::placeholder {
color: $color-gray;
@media (min-width: $full) {
font-size: 28px;
line-height: 33px;
}
}
.invalid {
border: 1px solid $color-red;
}
.error {
display: flex;
justify-content: end;
font-family: $font-family;
font-style: normal;
font-weight: 400;
font-size: 12px;
line-height: 14px;
color: $color-red;
@media (min-width: $full) {
font-size: 24px;
line-height: 28px;
}
}
.success {
font-family: $font-family;
font-style: normal;
font-weight: 400;
font-size: 12px;
line-height: 14px;
/* identical to box height */
color: $color-green;
margin-top: 12.56px;
@media (min-width: $full) {
font-size: 24px;
line-height: 28px;
}
}
button {
padding: 17px;
background: $color-black;
border-radius: 25px;
color: $color-white;
@media (min-width: $full) {
padding: 14.5px;
font-size: 32px;
line-height: 38px;
}
}
.checkbox_wrapper {
display: flex;
justify-content: center;
align-items: center;
.obrigatorio__form {
color: $color-red;
}
label {
order: 2;
text-decoration: underline;
}
input {
order: 3;
width: 18px;
height: 18px;
border: 1px solid $color-black;
border-radius: 3px;
margin: 0 4px;
@media (min-width: $full) {
width: 36.4px;
height: 35.15px;
}
}
}
@media (max-width: $tablets) {
h2 {
text-align: center;
}
}
}

View File

@ -0,0 +1,136 @@
import { Formik, Form, Field, ErrorMessage } from "formik";
import ContactFormSchema from "../../schema/ContactFormSchema";
import { Article } from "./Article";
import style from "./Contact.module.scss";
import InputMask from 'react-input-mask';
import React, { useState } from "react";
interface IFormikValues {
name: string;
email: string;
cpf: string;
data: string;
telefone: string;
instagram?: string;
checkbox: boolean;
}
const initialValues = {
name: "",
email: "",
cpf: "",
data: "",
telefone: "",
instagram: "",
checkbox: false,
};
let listContact: Array<IFormikValues> = []
export const Contact = () => {
const [isValidateForm, setisValidateForm] = useState(false);
return (
<Article title="Preencha o formulario" className={style["title-contact"]}>
<Formik
initialValues={initialValues}
onSubmit={(values: IFormikValues, actions) => {
listContact.push(values);
actions.resetForm();
console.log(values);
({ ...values }) && setisValidateForm(true);
}}
validationSchema={ContactFormSchema}
>
{({ errors, touched }) => (
<Form className={style["formulario"]}>
<label className={style["label__form"]} htmlFor="name">Nome</label>
<span className={style["error"]}>
<ErrorMessage name="name" className={style["form-ivalid-feedback"]} />
</span>
<Field
id="name"
name="name"
placeholder="Seu nome completo"
className={errors.name && touched.name && style["invalid"]}
/>
<label className={style["label__form"]} htmlFor="email">E-mail</label>
<span className={style["error"]}>
<ErrorMessage name="email" className={style["form-ivalid-feedback"]} />
</span>
<Field
id="email"
name="email"
placeholder="Seu e-mail"
className={errors.email && touched.email && style["invalid"]}
/>
<label className={style["label__form"]} htmlFor="cpf">CPF</label>
<span className={style["error"]}>
<ErrorMessage name="cpf" className={style["form-ivalid-feedback"]} />
</span>
<Field
id="cpf"
name="cpf" as={InputMask} mask="999.999.999-99"
type="tel"
placeholder="000.000.000-00"
className={errors.cpf && touched.cpf && style["invalid"]}
/>
<label className={style["label__form"]} htmlFor="data">Data de Nascimento:</label>
<span className={style["error"]}>
<ErrorMessage name="data" className={style["form-ivalid-feedback"]} />
</span>
<Field
id="data"
name="data" as={InputMask} mask="99.99.9999"
type="string"
placeholder="00.00.0000"
className={errors.data && touched.data && style["invalid"]}
/>
<label className={style["label__form"]} htmlFor="telefone">Telefone:</label>
<span className={style["error"]}>
<ErrorMessage name="telefone" className={style["form-ivalid-feedback"]} />
</span>
<Field
id="telefone"
name="telefone" as={InputMask} mask="(99) 99999-9999"
type="tel"
placeholder="(00) 00000-0000"
className={errors.telefone && touched.telefone && [style["invalid"]]}
/>
<label className={style["label__form"]} htmlFor="instagram">Instagram</label>
<span>
<ErrorMessage name="instagram" className={style["form-ivalid-feedback"]} />
</span>
<Field id="instagram" name="instagram" placeholder="@seuuser" />
<div className={style["checkbox_wrapper"]}>
<span className={style["obrigatorio__form"]}>*</span>
<label className={style["label__form"]} htmlFor="checkbox">Declaro que li e aceito</label>
<span className={style["error"]}>
<ErrorMessage name="checkbox" className={style["form-ivalid-feedback"]} />
</span>
<Field
type="checkbox"
id="checkbox"
name="checkbox"
className={errors.checkbox && touched.checkbox && style["invalid"]}
/>
</div>
<button type="submit">CADASTRE-SE</button>
{isValidateForm && (
<span className={style["success"]}>*Formulario enviado com sucesso!</span>
)}
</Form>
)}
</Formik>
</Article >
);
};

View File

@ -0,0 +1,21 @@
import React from 'react';
import { Article } from './Article';
export const Delivery = () => {
return (
<Article title='Entrega'>
<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>
</Article>
)
}

View File

@ -0,0 +1,21 @@
import React from 'react';
import { Article } from './Article';
export const ExchangeAndEvolution = () => {
return (
<Article title='Troca e Devolucao'>
<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>
</Article>
)
}

View File

@ -0,0 +1,21 @@
import React from 'react';
import { Article } from './Article';
export const FormOfPayment = () => {
return (
<Article title='Forma de Pagamento'>
<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>
</Article>
)
}

View File

@ -0,0 +1,142 @@
@import "../../variaveis";
.wrapper__sideBar {
display: flex;
gap: 30px;
height: 100%;
// max-height: 465px;
margin: 80px 0 70px;
@media (max-width:$tablets) {
flex-direction: column;
margin: 40px 0 80px;
max-height: none;
}
h2 {
margin: 0;
font-family: $font-family;
font-style: normal;
font-weight: 700;
font-size: 24px;
line-height: 28px;
@media (min-width:$full) {
font-size: 48px;
line-height: 56px;
}
}
nav {
@media (min-width:$full) {
max-width: 590px;
width: 100%;
}
}
.sideBar {
display: flex;
flex-direction: column;
border-right: 1px solid $color-black;
width: 100%;
min-width: 302px;
height: 100%;
max-height: 285px;
padding: 0;
margin: 0;
@media (min-width:$full) {
min-width: 590px;
max-height: 465px;
}
@media (max-width:$tablets) {
min-width: none;
border-right: none;
}
@media (max-width:$phone) {
min-width: 0;
}
&__item {
display: flex;
align-items: center;
font-family: $font-family;
font-style: normal;
font-weight: 400;
text-transform: inherit;
padding: 10px 16px;
color: $color-gray2;
@media (min-width:$full) {
height: 58px;
padding: 0 16px;
}
&.ativo {
background-color: $color-black;
color: $color-white;
font-weight: 700;
font-size: 16px;
line-height: 19px;
@media (min-width:$full) {
font-size: 28px;
line-height: 33px;
}
}
}
}
.content-right {
width: 100%;
height: 100%;
h2 {
@media (max-width:$tablets) {
text-align: center;
}
}
p {
font-family: $font-family;
font-style: normal;
font-weight: 400;
font-size: 13px;
line-height: 15px;
margin-bottom: 0;
color: $color-gray2;
@media (min-width:$full) {
font-size: 26px;
line-height: 30px;
}
@media (max-width:$tablets) {
text-align: justify;
}
}
}
}

View File

@ -0,0 +1,21 @@
import React from 'react';
import { Article } from './Article';
export const SecurityAndPrivacy = () => {
return (
<Article title='Seguranca e Privacidade'>
<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>
</Article>
)
}

View File

@ -0,0 +1,71 @@
import { NavLink, Outlet } from "react-router-dom";
import styleInstitucional from "./Instituitional.module.scss"
export const Institucional = () => {
return (
<>
<h1>Institucional</h1>
<div className={styleInstitucional["wrapper__sideBar"]}>
<nav>
<ul className={styleInstitucional["sideBar"]}>
<NavLink
to="sobre"
className={({ isActive }) =>
isActive ? `${styleInstitucional["sideBar__item"]} ${styleInstitucional["ativo"]}` : styleInstitucional["sideBar__item"]
}>
Sobre
</NavLink>
<NavLink
to="forma-de-pagamento"
className={({ isActive }) =>
isActive ? `${styleInstitucional["sideBar__item"]} ${styleInstitucional["ativo"]}` : styleInstitucional["sideBar__item"]
}>
Forma de Pagamento
</NavLink>
<NavLink
to="entrega"
className={({ isActive }) =>
isActive ? `${styleInstitucional["sideBar__item"]} ${styleInstitucional["ativo"]}` : styleInstitucional["sideBar__item"]
}>
Entrega
</NavLink>
<NavLink
to="troca-e-devolucao"
className={({ isActive }) =>
isActive ? `${styleInstitucional["sideBar__item"]} ${styleInstitucional["ativo"]}` : styleInstitucional["sideBar__item"]
}>
Troca e Devolução
</NavLink>
<NavLink
to="seguranca-e-privacidade"
className={({ isActive }) =>
isActive ? `${styleInstitucional["sideBar__item"]} ${styleInstitucional["ativo"]}` : styleInstitucional["sideBar__item"]
}>
Segurança e Privacidade
</NavLink>
<NavLink
to="contato"
className={({ isActive }) =>
isActive ? `${styleInstitucional["sideBar__item"]} ${styleInstitucional["ativo"]}` : styleInstitucional["sideBar__item"]
}>
Contato
</NavLink>
</ul>
</nav>
<div className={styleInstitucional["content-right"]} >
<Outlet />
</div>
</div>
</>
)
}

View File

@ -0,0 +1,60 @@
@import "../variaveis";
.container {
display: flex;
flex-direction: column;
height: 100%;
overflow: hidden;
@media (min-width:3000px) {
height: 100vh;
flex: 1;
}
}
.main {
display: flex;
height: auto;
margin: 0 100px;
flex-direction: column;
@media (min-width: 3000px) {
min-height: 897px;
height: 100vh;
flex: 1;
border: 1px solid blue;
}
@media (max-width:$tablets) {
margin: 0 16px;
// z-index: -9;
}
h1 {
text-align: center;
font-family: $font-family;
font-style: normal;
font-weight: 400;
font-size: 24px;
line-height: 28px;
letter-spacing: 0.1em;
text-transform: uppercase;
color: $color-black1;
@media (min-width:$full) {
font-size: 48px;
line-height: 56px;
}
}
}

35
src/routes.tsx Normal file
View File

@ -0,0 +1,35 @@
import { Routes as ReactRouterRoutes, Route, Navigate } from "react-router-dom"
import { Home } from "./pages/Home"
import { Contact } from "./pages/Intitucional/Contact"
import { Delivery } from "./pages/Intitucional/Delivery"
import { FormOfPayment } from "./pages/Intitucional/FormOfPayment"
import { Institucional } from "./pages/Intitucional"
import { SecurityAndPrivacy } from "./pages/Intitucional/SecurityAndPrivacy"
import { About } from "./pages/Intitucional/About"
import { ExchangeAndEvolution } from "./pages/Intitucional/ExchangeAndEvolution"
import { Layout } from "./components/Layout"
export const Routes = () => {
return (
<ReactRouterRoutes>
<Route path="/" element={<Layout />}>
<Route index element={<Navigate to="/institucional/sobre" replace />} />
<Route path="institucional" element={<Institucional />}>
<Route path="sobre" element={<About />} />
<Route path="forma-de-pagamento" element={<FormOfPayment />} />
<Route path="entrega" element={<Delivery />} />
<Route path="troca-e-devolucao" element={<ExchangeAndEvolution />} />
<Route path="seguranca-e-privacidade" element={<SecurityAndPrivacy />} />
<Route path="contato" element={<Contact />} />
</Route>
</Route>
</ReactRouterRoutes >
)
}

View File

@ -0,0 +1,29 @@
import * as Yup from "yup";
import {
cpfRegex,
instaRegex,
phoneRegex
} from "./ContactValidations";
export default Yup.object().shape({
name: Yup.string()
.min(3, "O campo deve ter no mínimo 3 caracteres")
.required("*Campo Obrigatório"),
email: Yup.string()
.email()
.required("*Campo Obrigatório")
.email("E-mail inválido"),
cpf: Yup.string()
.required("*Campo Obrigatório")
.matches(cpfRegex, 'CPF inválido'),
telefone: Yup.string()
.required("*Campo Obrigatório")
.matches(phoneRegex, 'Número de telefone inválido'),
instagram: Yup.string().matches(instaRegex, "conta inválida"),
data: Yup.date()
.required("*Campo Obrigatório")
.max(new Date(),'Data de nascimento inválida'),
checkbox: Yup.boolean().oneOf([true], ""),
});

View File

@ -0,0 +1,4 @@
export const phoneRegex =/^\([1-9]{2}\) [2-9][0-9]{3,4}\-[0-9]{4}$/;
export const cpfRegex = /^[0-9]{3}\.?[0-9]{3}\.?[0-9]{3}\-?[0-9]{2}$/
export const instaRegex = /(?:^|[^\w])(?:@)([\w-](?:(?:[\w-]|(?:\.(?!\.))){0,28}(?:[\w-]))?)/;
export const dateRegex = /^[0-9]{1,2}.[0-9]{1,2}.[0-9]{4}$/;

142
yarn.lock
View File

@ -1036,7 +1036,7 @@
core-js-pure "^3.25.1"
regenerator-runtime "^0.13.11"
"@babel/runtime@^7.10.2", "@babel/runtime@^7.11.2", "@babel/runtime@^7.12.5", "@babel/runtime@^7.16.3", "@babel/runtime@^7.18.9", "@babel/runtime@^7.8.4", "@babel/runtime@^7.9.2":
"@babel/runtime@^7.10.2", "@babel/runtime@^7.11.2", "@babel/runtime@^7.12.5", "@babel/runtime@^7.15.4", "@babel/runtime@^7.16.3", "@babel/runtime@^7.18.9", "@babel/runtime@^7.8.4", "@babel/runtime@^7.9.2":
version "7.20.7"
resolved "https://registry.yarnpkg.com/@babel/runtime/-/runtime-7.20.7.tgz#fcb41a5a70550e04a7b708037c7c32f7f356d8fd"
integrity sha512-UF0tvkUtxwAgZ5W/KrkHf0Rn0fdnLDU9ScxBrEVNUprE/MzirjK4MJUX1/BVDv00Sv8cljtukVK1aky++X1SjQ==
@ -1612,6 +1612,11 @@
schema-utils "^3.0.0"
source-map "^0.7.3"
"@remix-run/router@1.2.1":
version "1.2.1"
resolved "https://registry.yarnpkg.com/@remix-run/router/-/router-1.2.1.tgz#812edd4104a15a493dda1ccac0b352270d7a188c"
integrity sha512-XiY0IsyHR+DXYS5vBxpoBe/8veTeoRpMHP+vDosLZxL5bnpetzI0igkxkLZS235ldLzyfkxF+2divEwWHP3vMQ==
"@rollup/plugin-babel@^5.2.0":
version "5.3.1"
resolved "https://registry.yarnpkg.com/@rollup/plugin-babel/-/plugin-babel-5.3.1.tgz#04bc0608f4aa4b2e4b1aebf284344d0f68fda283"
@ -2028,6 +2033,11 @@
resolved "https://registry.yarnpkg.com/@types/json5/-/json5-0.0.29.tgz#ee28707ae94e11d2b827bcbe5270bcea7f3e71ee"
integrity sha512-dRLjCWHYg4oaA77cxO64oO+7JwCwnIzkZPdrrC71jQmQtlhM556pwKo5bUzqvZndkVbeFLIIi+9TC40JNF5hNQ==
"@types/lodash@^4.14.175":
version "4.14.191"
resolved "https://registry.yarnpkg.com/@types/lodash/-/lodash-4.14.191.tgz#09511e7f7cba275acd8b419ddac8da9a6a79e2fa"
integrity sha512-BdZ5BCCvho3EIXw6wUCXHe7rS53AIDPLE+JzwgT+OsJk53oBfbSmZZ7CX4VaRoN78N+TJpFi9QPlfIVNmJYWxQ==
"@types/mime@*":
version "3.0.1"
resolved "https://registry.yarnpkg.com/@types/mime/-/mime-3.0.1.tgz#5f8f2bca0a5863cb69bc0b0acd88c96cb1d4ae10"
@ -2090,6 +2100,20 @@
dependencies:
"@types/react" "*"
"@types/react-input-mask@^3.0.2":
version "3.0.2"
resolved "https://registry.yarnpkg.com/@types/react-input-mask/-/react-input-mask-3.0.2.tgz#60df645cdb2415c97a8f97316011eb3ede78dc1e"
integrity sha512-WTli3kUyvUqqaOLYG/so2pLqUvRb+n4qnx2He5klfqZDiQmRyD07jVIt/bco/1BrcErkPMtpOm+bHii4Oed6cQ==
dependencies:
"@types/react" "*"
"@types/react-maskedinput@^4.0.6":
version "4.0.6"
resolved "https://registry.yarnpkg.com/@types/react-maskedinput/-/react-maskedinput-4.0.6.tgz#cbb3a689d81b594b9d3bb2d359e86d1e628cb41b"
integrity sha512-rLm0t4CcCE0smsOVgZTzwT/amDDBh1sL46V+V22JIeyChibCM7Oe3TNSk66oJK0fHishDyzRg7pd+sH4sozGqg==
dependencies:
"@types/react" "*"
"@types/react@*", "@types/react@^18.0.0":
version "18.0.26"
resolved "https://registry.yarnpkg.com/@types/react/-/react-18.0.26.tgz#8ad59fc01fef8eaf5c74f4ea392621749f0b7917"
@ -3752,6 +3776,11 @@ deep-is@^0.1.3, deep-is@~0.1.3:
resolved "https://registry.yarnpkg.com/deep-is/-/deep-is-0.1.4.tgz#a6f2dce612fadd2ef1f519b73551f17e85199831"
integrity sha512-oIPzksmTg4/MriiaYGO+okXDT7ztn/w3Eptv/+gSIdMdKsJo0u4CfYNFJPy+4SKMuCqGw2wxnA+URMg3t8a/bQ==
deepmerge@^2.1.1:
version "2.2.1"
resolved "https://registry.yarnpkg.com/deepmerge/-/deepmerge-2.2.1.tgz#5d3ff22a01c00f645405a2fbc17d0778a1801170"
integrity sha512-R9hc1Xa/NOBi9WRVUWg19rl1UB7Tt4kuPd+thNJgFZoxXsTz7ncaPaeIm+40oSGuP33DfMb4sZt1QIGiJzC4EA==
deepmerge@^4.2.2:
version "4.2.2"
resolved "https://registry.yarnpkg.com/deepmerge/-/deepmerge-4.2.2.tgz#44d2ea3679b8f4d4ffba33f03d865fc1e7bf4955"
@ -4709,6 +4738,19 @@ form-data@^3.0.0:
combined-stream "^1.0.8"
mime-types "^2.1.12"
formik@^2.2.9:
version "2.2.9"
resolved "https://registry.yarnpkg.com/formik/-/formik-2.2.9.tgz#8594ba9c5e2e5cf1f42c5704128e119fc46232d0"
integrity sha512-LQLcISMmf1r5at4/gyJigGn0gOwFbeEAlji+N9InZF6LIMXnFNkO42sCI8Jt84YZggpD4cPWObAZaxpEFtSzNA==
dependencies:
deepmerge "^2.1.1"
hoist-non-react-statics "^3.3.0"
lodash "^4.17.21"
lodash-es "^4.17.21"
react-fast-compare "^2.0.1"
tiny-warning "^1.0.2"
tslib "^1.10.0"
forwarded@0.2.0:
version "0.2.0"
resolved "https://registry.yarnpkg.com/forwarded/-/forwarded-0.2.0.tgz#2269936428aad4c15c7ebe9779a84bf0b2a81811"
@ -5046,6 +5088,13 @@ he@^1.2.0:
resolved "https://registry.yarnpkg.com/he/-/he-1.2.0.tgz#84ae65fa7eafb165fddb61566ae14baf05664f0f"
integrity sha512-F/1DnUGPopORZi0ni+CvrCgHQ5FyEAHRLSApuYWMmrbSwoN2Mn/7k+Gl38gJnR7yyDZk6WLXwiGod1JOWNDKGw==
hoist-non-react-statics@^3.3.0:
version "3.3.2"
resolved "https://registry.yarnpkg.com/hoist-non-react-statics/-/hoist-non-react-statics-3.3.2.tgz#ece0acaf71d62c2969c2ec59feff42a4b1a85b45"
integrity sha512-/gGivxi8JPKWNm/W0jSmzcMPpfpPLc3dY/6GxhX2hQ9iGj3aDfklV4ET7NjKpSinLpJ5vafa9iiGIEZg10SfBw==
dependencies:
react-is "^16.7.0"
hoopy@^0.1.4:
version "0.1.4"
resolved "https://registry.yarnpkg.com/hoopy/-/hoopy-0.1.4.tgz#609207d661100033a9a9402ad3dea677381c1b1d"
@ -5322,6 +5371,13 @@ internal-slot@^1.0.3:
has "^1.0.3"
side-channel "^1.0.4"
invariant@^2.2.4:
version "2.2.4"
resolved "https://registry.yarnpkg.com/invariant/-/invariant-2.2.4.tgz#610f3c92c9359ce1db616e538008d23ff35158e6"
integrity sha512-phJfQVBuaJM5raOpJjSfkiD6BpbCE4Ns//LaXl6wGYtUBY83nWS6Rf9tXm2e8VaK60JEjYldbPif/A2B1C2gNA==
dependencies:
loose-envify "^1.0.0"
ip@^2.0.0:
version "2.0.0"
resolved "https://registry.yarnpkg.com/ip/-/ip-2.0.0.tgz#4cf4ab182fee2314c75ede1276f8c80b479936da"
@ -6399,6 +6455,11 @@ locate-path@^6.0.0:
dependencies:
p-locate "^5.0.0"
lodash-es@^4.17.21:
version "4.17.21"
resolved "https://registry.yarnpkg.com/lodash-es/-/lodash-es-4.17.21.tgz#43e626c46e6591b7750beb2b50117390c609e3ee"
integrity sha512-mKnC+QJ9pWVzv+C4/U3rRsHapFfHvQFoFB92e52xeyGMcX6/OlIl78je1u8vePzYZSkkogMPJ2yjxxsb89cxyw==
lodash.debounce@^4.0.8:
version "4.0.8"
resolved "https://registry.yarnpkg.com/lodash.debounce/-/lodash.debounce-4.0.8.tgz#82d79bff30a67c4005ffd5e2515300ad9ca4d7af"
@ -6429,7 +6490,7 @@ lodash@^4.17.11, lodash@^4.17.15, lodash@^4.17.20, lodash@^4.17.21, lodash@^4.7.
resolved "https://registry.yarnpkg.com/lodash/-/lodash-4.17.21.tgz#679591c564c3bffaae8454cf0b3df370c3d6911c"
integrity sha512-v2kDEe57lecTulaDIuNTPy3Ry4gLGJ6Z1O3vE1krgXZNrsQ+LFTGHVxVjcXPs17LhbZVGedAJv8XZ1tvj5FvSg==
loose-envify@^1.1.0, loose-envify@^1.4.0:
loose-envify@^1.0.0, loose-envify@^1.1.0, loose-envify@^1.4.0:
version "1.4.0"
resolved "https://registry.yarnpkg.com/loose-envify/-/loose-envify-1.4.0.tgz#71ee51fa7be4caec1a63839f7e682d8132d30caf"
integrity sha512-lyuxPGr/Wfhrlem2CL/UcnUc1zcqKAImBDzukY7Y5F/yQiNdko6+fRLevlw1HgMySw7f611UIY408EtxRSoK3Q==
@ -6796,6 +6857,11 @@ nan@^2.17.0:
resolved "https://registry.yarnpkg.com/nan/-/nan-2.17.0.tgz#c0150a2368a182f033e9aa5195ec76ea41a199cb"
integrity sha512-2ZTgtl0nJsO0KQCjEpxcIr5D+Yv90plTitZt9JBfQvVJDS5seMl3FOvsh3+9CoYWXf/1l5OaZzzF6nDm4cagaQ==
nanoclone@^0.2.1:
version "0.2.1"
resolved "https://registry.yarnpkg.com/nanoclone/-/nanoclone-0.2.1.tgz#dd4090f8f1a110d26bb32c49ed2f5b9235209ed4"
integrity sha512-wynEP02LmIbLpcYw8uBKpcfF6dmg2vcpKqxeH5UcoKEYdExslsdUA4ugFauuaeYdTB76ez6gJW8XAZ6CgkXYxA==
nanoid@^3.3.4:
version "3.3.4"
resolved "https://registry.yarnpkg.com/nanoid/-/nanoid-3.3.4.tgz#730b67e3cd09e2deacf03c027c81c9d9dbc5e8ab"
@ -7927,6 +7993,11 @@ prop-types@^15.8.1:
object-assign "^4.1.1"
react-is "^16.13.1"
property-expr@^2.0.4:
version "2.0.5"
resolved "https://registry.yarnpkg.com/property-expr/-/property-expr-2.0.5.tgz#278bdb15308ae16af3e3b9640024524f4dc02cb4"
integrity sha512-IJUkICM5dP5znhCckHSv30Q4b5/JA5enCtkRHYaOVOAocnH/1BQEYTC5NMfT3AVl/iXKdr3aqQbQn9DxyWknwA==
proxy-addr@~2.0.7:
version "2.0.7"
resolved "https://registry.yarnpkg.com/proxy-addr/-/proxy-addr-2.0.7.tgz#f19fe69ceab311eeb94b42e70e8c2070f9ba1025"
@ -8061,7 +8132,25 @@ react-error-overlay@^6.0.11:
resolved "https://registry.yarnpkg.com/react-error-overlay/-/react-error-overlay-6.0.11.tgz#92835de5841c5cf08ba00ddd2d677b6d17ff9adb"
integrity sha512-/6UZ2qgEyH2aqzYZgQPxEnz33NJ2gNsnHA2o5+o4wW9bLM/JYQitNP9xPhsXwC08hMMovfGe/8retsdDsczPRg==
react-is@^16.13.1:
react-fast-compare@^2.0.1:
version "2.0.4"
resolved "https://registry.yarnpkg.com/react-fast-compare/-/react-fast-compare-2.0.4.tgz#e84b4d455b0fec113e0402c329352715196f81f9"
integrity sha512-suNP+J1VU1MWFKcyt7RtjiSWUjvidmQSlqu+eHslq+342xCbGTYmC0mEhPCOHxlW0CywylOC1u2DFAT+bv4dBw==
react-headless-accordion@^1.0.2:
version "1.0.2"
resolved "https://registry.yarnpkg.com/react-headless-accordion/-/react-headless-accordion-1.0.2.tgz#df45168fc379a9014bd7becc2f4be100af456b6e"
integrity sha512-wKBTB/+aAr9MGX5RYi3sdmKOSzevKdmbGRw9JTe7XONiHlTo+pC1OiggL9NUxp5QeQcTnX0rryhuySeGsqBfBg==
react-input-mask@^2.0.4:
version "2.0.4"
resolved "https://registry.yarnpkg.com/react-input-mask/-/react-input-mask-2.0.4.tgz#9ade5cf8196f4a856dbf010820fe75a795f3eb14"
integrity sha512-1hwzMr/aO9tXfiroiVCx5EtKohKwLk/NT8QlJXHQ4N+yJJFyUuMT+zfTpLBwX/lK3PkuMlievIffncpMZ3HGRQ==
dependencies:
invariant "^2.2.4"
warning "^4.0.2"
react-is@^16.13.1, react-is@^16.7.0:
version "16.13.1"
resolved "https://registry.yarnpkg.com/react-is/-/react-is-16.13.1.tgz#789729a4dc36de2999dc156dd6c1d9c18cea56a4"
integrity sha512-24e6ynE2H+OKt4kqsOvNd8kBpV65zoxbA4BVsEOB3ARVWQki/DHzaUoC5KuON/BiccDaCCTZBuOcfZs70kR8bQ==
@ -8081,6 +8170,21 @@ react-refresh@^0.11.0:
resolved "https://registry.yarnpkg.com/react-refresh/-/react-refresh-0.11.0.tgz#77198b944733f0f1f1a90e791de4541f9f074046"
integrity sha512-F27qZr8uUqwhWZboondsPx8tnC3Ct3SxZA3V5WyEvujRyyNv0VYPhoBg1gZ8/MV5tubQp76Trw8lTv9hzRBa+A==
react-router-dom@^6.6.2:
version "6.6.2"
resolved "https://registry.yarnpkg.com/react-router-dom/-/react-router-dom-6.6.2.tgz#bbf1f9b45855b218d22fc2d294b79408a084740a"
integrity sha512-6SCDXxRQqW5af8ImOqKza7icmQ47/EMbz572uFjzvcArg3lZ+04PxSPp8qGs+p2Y+q+b+S/AjXv8m8dyLndIIA==
dependencies:
"@remix-run/router" "1.2.1"
react-router "6.6.2"
react-router@6.6.2:
version "6.6.2"
resolved "https://registry.yarnpkg.com/react-router/-/react-router-6.6.2.tgz#556f7b56cff7fe32c5c02429fef3fcb2ecd08111"
integrity sha512-uJPG55Pek3orClbURDvfljhqFvMgJRo59Pktywkk8hUUkTY2aRfza8Yhl/vZQXs+TNQyr6tu+uqz/fLxPICOGQ==
dependencies:
"@remix-run/router" "1.2.1"
react-scripts@5.0.1:
version "5.0.1"
resolved "https://registry.yarnpkg.com/react-scripts/-/react-scripts-5.0.1.tgz#6285dbd65a8ba6e49ca8d651ce30645a6d980003"
@ -9195,6 +9299,11 @@ thunky@^1.0.2:
resolved "https://registry.yarnpkg.com/thunky/-/thunky-1.1.0.tgz#5abaf714a9405db0504732bbccd2cedd9ef9537d"
integrity sha512-eHY7nBftgThBqOyHGVN+l8gF0BucP09fMo0oO/Lb0w1OF80dJv+lDVpXG60WMQvkcxAkNybKsrEIE3ZtKGmPrA==
tiny-warning@^1.0.2:
version "1.0.3"
resolved "https://registry.yarnpkg.com/tiny-warning/-/tiny-warning-1.0.3.tgz#94a30db453df4c643d0fd566060d60a875d84754"
integrity sha512-lBN9zLN/oAf68o3zNXYrdCt1kP8WsiGW8Oo2ka41b2IM5JL/S1CTyX1rW0mb/zSuJun0ZUrDxx4sqvYS2FWzPA==
tmpl@1.0.5:
version "1.0.5"
resolved "https://registry.yarnpkg.com/tmpl/-/tmpl-1.0.5.tgz#8683e0b902bb9c20c4f726e3c0b69f36518c07cc"
@ -9217,6 +9326,11 @@ toidentifier@1.0.1:
resolved "https://registry.yarnpkg.com/toidentifier/-/toidentifier-1.0.1.tgz#3be34321a88a820ed1bd80dfaa33e479fbb8dd35"
integrity sha512-o5sSPKEkg/DIQNmH43V0/uerLrpzVedkUh8tGNvaeXpfpuwjKenlSox/2O/BTlZUtEe+JG7s5YhEz608PlAHRA==
toposort@^2.0.2:
version "2.0.2"
resolved "https://registry.yarnpkg.com/toposort/-/toposort-2.0.2.tgz#ae21768175d1559d48bef35420b2f4962f09c330"
integrity sha512-0a5EOkAUp8D4moMi2W8ZF8jcga7BgZd91O/yabJCFY8az+XSzeGyTKs0Aoo897iV1Nj6guFq8orWDS96z91oGg==
tough-cookie@^4.0.0:
version "4.1.2"
resolved "https://registry.yarnpkg.com/tough-cookie/-/tough-cookie-4.1.2.tgz#e53e84b85f24e0b65dd526f46628db6c85f6b874"
@ -9266,7 +9380,7 @@ tsconfig-paths@^3.14.1:
minimist "^1.2.6"
strip-bom "^3.0.0"
tslib@^1.8.1:
tslib@^1.10.0, tslib@^1.8.1:
version "1.14.1"
resolved "https://registry.yarnpkg.com/tslib/-/tslib-1.14.1.tgz#cf2d38bdc34a134bcaf1091c41f6619e2f672d00"
integrity sha512-Xni35NKzjgMrwevysHTCArtLDpPvye8zV/0E4EyYn43P7/7qvQwPh9BGkHewbMulVntbigmcT7rdX3BNo9wRJg==
@ -9541,6 +9655,13 @@ walker@^1.0.7:
dependencies:
makeerror "1.0.12"
warning@^4.0.2:
version "4.0.3"
resolved "https://registry.yarnpkg.com/warning/-/warning-4.0.3.tgz#16e9e077eb8a86d6af7d64aa1e05fd85b4678ca3"
integrity sha512-rpJyN222KWIvHJ/F53XSZv0Zl/accqHR8et1kpaMTD/fLCRxtV8iX8czMzY7sVZupTI3zcUTg8eycS2kNF9l6w==
dependencies:
loose-envify "^1.0.0"
watchpack@^2.4.0:
version "2.4.0"
resolved "https://registry.yarnpkg.com/watchpack/-/watchpack-2.4.0.tgz#fa33032374962c78113f93c7f2fb4c54c9862a5d"
@ -10067,3 +10188,16 @@ yocto-queue@^0.1.0:
version "0.1.0"
resolved "https://registry.yarnpkg.com/yocto-queue/-/yocto-queue-0.1.0.tgz#0294eb3dee05028d31ee1a5fa2c556a6aaf10a1b"
integrity sha512-rVksvsnNCdJ/ohGc6xgPwyN8eheCxsiLM8mxuE/t/mOVqJewPuO1miLpTHQiRgTKCLexL4MeAFVagts7HmNZ2Q==
yup@^0.32.11:
version "0.32.11"
resolved "https://registry.yarnpkg.com/yup/-/yup-0.32.11.tgz#d67fb83eefa4698607982e63f7ca4c5ed3cf18c5"
integrity sha512-Z2Fe1bn+eLstG8DRR6FTavGD+MeAwyfmouhHsIUgaADz8jvFKbO/fXc2trJKZg+5EBjh4gGm3iU/t3onKlXHIg==
dependencies:
"@babel/runtime" "^7.15.4"
"@types/lodash" "^4.14.175"
lodash "^4.17.21"
lodash-es "^4.17.21"
nanoclone "^0.2.1"
property-expr "^2.0.4"
toposort "^2.0.2"