diff --git a/package.json b/package.json index 94a7a9a..2cfef5d 100644 --- a/package.json +++ b/package.json @@ -42,5 +42,9 @@ "last 1 firefox version", "last 1 safari version" ] - } + }, + "main": "index.js", + "repository": "ssh://git@gitea.ecommercetools.com.br:22022/SavioCarvalhoMoraes/desafio-react-e-typescript-savio-carvalho-moraes.git", + "author": "Savio ", + "license": "MIT" } diff --git a/src/components/Address/Address.tsx b/src/components/Address/Address.tsx new file mode 100644 index 0000000..bf006c2 --- /dev/null +++ b/src/components/Address/Address.tsx @@ -0,0 +1,11 @@ +import React from "react"; +const Address = () => { + return ( +

+ Lorem ipsum dolor sit amet, consectetur adipiscing elit, sed do eiusmod + tempor +

+ ); +}; + +export { Address }; diff --git a/src/components/Contact/Contact.tsx b/src/components/Contact/Contact.tsx new file mode 100644 index 0000000..e86fc36 --- /dev/null +++ b/src/components/Contact/Contact.tsx @@ -0,0 +1,30 @@ +import React from "react"; +import styles from "./contact.module.scss"; + +const Contact = () => { + return ( + + ); +}; + +export { Contact }; diff --git a/src/components/Contact/contact.module.scss b/src/components/Contact/contact.module.scss new file mode 100644 index 0000000..8555534 --- /dev/null +++ b/src/components/Contact/contact.module.scss @@ -0,0 +1,37 @@ +.contatosInfo { + li { + margin-bottom: 12px; + } + h2 { + font-weight: 500; + font-size: 14px; + line-height: 16px; + @media screen and (min-width: 2500px) { + font-size: 38px; + line-height: 32.81px; + } + } + p { + font-size: 12px; + line-height: 14px; + font-weight: 500; + @media screen and (min-width: 2500px) { + font-size: 24px; + line-height: 28.13px; + } + } + a { + text-decoration: none; + font-weight: 400; + font-size: 12px; + line-height: 14px; + color: #030303; + @media screen and (min-width: 2500px) { + font-size: 24px; + line-height: 28.13px; + } + } + .contatoCel { + text-decoration: underline; + } +} diff --git a/src/components/DevelopedBy/DevelopedBy.tsx b/src/components/DevelopedBy/DevelopedBy.tsx new file mode 100644 index 0000000..87c392c --- /dev/null +++ b/src/components/DevelopedBy/DevelopedBy.tsx @@ -0,0 +1,13 @@ +import React from "react"; +import m3Logo from "./assets/image/m3Logo.png"; +import styles from "./developedBy.module.scss"; +const DevelopedBy = () => { + return ( +
+

Developed by

+ m3Logo +
+ ); +}; + +export { DevelopedBy }; diff --git a/src/components/DevelopedBy/assets/image/m3Logo.png b/src/components/DevelopedBy/assets/image/m3Logo.png new file mode 100644 index 0000000..11cc55e Binary files /dev/null and b/src/components/DevelopedBy/assets/image/m3Logo.png differ diff --git a/src/components/DevelopedBy/developedBy.module.scss b/src/components/DevelopedBy/developedBy.module.scss new file mode 100644 index 0000000..470f3ca --- /dev/null +++ b/src/components/DevelopedBy/developedBy.module.scss @@ -0,0 +1,8 @@ +.developed-wrapper { + display: flex; + flex-direction: row; + align-items: center; + p { + margin-right: 30px; + } +} diff --git a/src/components/Doubts/Doubts.tsx b/src/components/Doubts/Doubts.tsx new file mode 100644 index 0000000..1b0a415 --- /dev/null +++ b/src/components/Doubts/Doubts.tsx @@ -0,0 +1,30 @@ +import React from "react"; +import styles from "./doubts.module.scss"; + +const Doubts = () => { + return ( + + ); +}; + +export { Doubts }; diff --git a/src/components/Doubts/doubts.module.scss b/src/components/Doubts/doubts.module.scss new file mode 100644 index 0000000..d05c1c6 --- /dev/null +++ b/src/components/Doubts/doubts.module.scss @@ -0,0 +1,32 @@ +.doubtsList { + li { + color: #303030; + margin-bottom: 12px; + @media screen and (min-width: 2500px) { + } + } + a { + font-size: 12px; + line-height: 14.06px; + font-weight: 400; + text-decoration: none; + color: #303030; + @media screen and (min-width: 2500px) { + font-size: 24px; + line-height: 29px; + } + h2 { + font-size: 14px; + font-weight: 500; + line-height: 16.41px; + color: #303030; + @media screen and (min-width: 2500px) { + font-size: 28px; + line-height: 33px; + } + } + } + .duvidasFreq { + text-decoration: underline; + } +} diff --git a/src/components/Institutional/Institutional.tsx b/src/components/Institutional/Institutional.tsx new file mode 100644 index 0000000..78c0a84 --- /dev/null +++ b/src/components/Institutional/Institutional.tsx @@ -0,0 +1,30 @@ +import React from "react"; +import styles from "./institutional.module.scss"; + +const Institutional = () => { + return ( + + ); +}; + +export { Institutional }; diff --git a/src/components/Institutional/institutional.module.scss b/src/components/Institutional/institutional.module.scss new file mode 100644 index 0000000..316fb5f --- /dev/null +++ b/src/components/Institutional/institutional.module.scss @@ -0,0 +1,32 @@ +.institutionalList { + li { + color: #303030; + margin-bottom: 12px; + @media screen and (min-width: 2500px) { + } + } + a { + font-size: 12px; + line-height: 14.06px; + font-weight: 400; + text-decoration: none; + color: #303030; + @media screen and (min-width: 2500px) { + font-size: 24px; + line-height: 29px; + } + h2 { + font-size: 14px; + font-weight: 500; + line-height: 16.41px; + color: #303030; + @media screen and (min-width: 2500px) { + font-size: 28px; + line-height: 33px; + } + } + } + .revendedor { + text-decoration: underline; + } +} diff --git a/src/components/Payments/Payments.tsx b/src/components/Payments/Payments.tsx new file mode 100644 index 0000000..668687f --- /dev/null +++ b/src/components/Payments/Payments.tsx @@ -0,0 +1,44 @@ +import React from "react"; +import masterImg from "./assets/image/Master.png"; +import visaImg from "./assets/image/Visa.png"; +import dinersImg from "./assets/image/Diners.png"; +import eloImg from "./assets/image/Elo.png"; +import hiperImg from "./assets/image/Hiper.png"; +import paypalImg from "./assets/image/Paypal.png"; +import boletoImg from "./assets/image/Boleto.png"; +import vtexImg from "./assets/image/vtex-pci-200.png"; +import styles from "./payments.module.scss"; + +const Payments = () => { + return ( + + ); +}; + +const VtexPci = () => { + return vtx Pci; +}; + +export { Payments, VtexPci }; diff --git a/src/components/Payments/assets/image/Boleto.png b/src/components/Payments/assets/image/Boleto.png new file mode 100644 index 0000000..f93e6e1 Binary files /dev/null and b/src/components/Payments/assets/image/Boleto.png differ diff --git a/src/components/Payments/assets/image/Diners.png b/src/components/Payments/assets/image/Diners.png new file mode 100644 index 0000000..eb5a544 Binary files /dev/null and b/src/components/Payments/assets/image/Diners.png differ diff --git a/src/components/Payments/assets/image/Elo.png b/src/components/Payments/assets/image/Elo.png new file mode 100644 index 0000000..f1f59eb Binary files /dev/null and b/src/components/Payments/assets/image/Elo.png differ diff --git a/src/components/Payments/assets/image/Hiper.png b/src/components/Payments/assets/image/Hiper.png new file mode 100644 index 0000000..9027ec5 Binary files /dev/null and b/src/components/Payments/assets/image/Hiper.png differ diff --git a/src/components/Payments/assets/image/Master.png b/src/components/Payments/assets/image/Master.png new file mode 100644 index 0000000..f28e6ca Binary files /dev/null and b/src/components/Payments/assets/image/Master.png differ diff --git a/src/components/Payments/assets/image/Paypal.png b/src/components/Payments/assets/image/Paypal.png new file mode 100644 index 0000000..958cce3 Binary files /dev/null and b/src/components/Payments/assets/image/Paypal.png differ diff --git a/src/components/Payments/assets/image/Visa.png b/src/components/Payments/assets/image/Visa.png new file mode 100644 index 0000000..c603bca Binary files /dev/null and b/src/components/Payments/assets/image/Visa.png differ diff --git a/src/components/Payments/assets/image/vtex-pci-200.png b/src/components/Payments/assets/image/vtex-pci-200.png new file mode 100644 index 0000000..2bdb894 Binary files /dev/null and b/src/components/Payments/assets/image/vtex-pci-200.png differ diff --git a/src/components/Payments/payments.module.scss b/src/components/Payments/payments.module.scss new file mode 100644 index 0000000..2d88400 --- /dev/null +++ b/src/components/Payments/payments.module.scss @@ -0,0 +1,4 @@ +.paymentsList { + display: flex; + flex-direction: row; +} diff --git a/src/components/PoweredBy/PoweredBy.tsx b/src/components/PoweredBy/PoweredBy.tsx new file mode 100644 index 0000000..8e23776 --- /dev/null +++ b/src/components/PoweredBy/PoweredBy.tsx @@ -0,0 +1,13 @@ +import React from "react"; +import vtexLogo from "./assets/image/vtexLogo.png"; +import styles from "./poweredBy.module.scss"; +const PoweredBy = () => { + return ( +
+

Powered by

+ vtexLogo +
+ ); +}; + +export { PoweredBy }; diff --git a/src/components/PoweredBy/assets/image/vtexLogo.png b/src/components/PoweredBy/assets/image/vtexLogo.png new file mode 100644 index 0000000..867c3bb Binary files /dev/null and b/src/components/PoweredBy/assets/image/vtexLogo.png differ diff --git a/src/components/PoweredBy/poweredBy.module.scss b/src/components/PoweredBy/poweredBy.module.scss new file mode 100644 index 0000000..2b531b4 --- /dev/null +++ b/src/components/PoweredBy/poweredBy.module.scss @@ -0,0 +1,8 @@ +.powered-wrapper { + display: flex; + flex-direction: row; + align-items: center; + p { + margin-right: 30px; + } +} diff --git a/src/components/Socials/Socials.tsx b/src/components/Socials/Socials.tsx new file mode 100644 index 0000000..5ee3c7a --- /dev/null +++ b/src/components/Socials/Socials.tsx @@ -0,0 +1,40 @@ +import React from "react"; +import styles from "./socials.module.scss"; +import facebookImg from "./assets/images/Facebook.png"; +import instagramImg from "./assets/images/Instagram.png"; +import twitterImg from "./assets/images/Twitter.png"; +import youtubeImg from "./assets/images/Youtube.png"; +import linkedinImg from "./assets/images/Linkedin.png"; +import whatsappImg from "./assets/images/whatsapp.png"; + +const Socials = () => { + return ( +
+ + + www.loremipsum.com + +
+ ); +}; + +export { Socials }; diff --git a/src/components/Socials/assets/images/Facebook.png b/src/components/Socials/assets/images/Facebook.png new file mode 100644 index 0000000..ee1abd2 Binary files /dev/null and b/src/components/Socials/assets/images/Facebook.png differ diff --git a/src/components/Socials/assets/images/Instagram.png b/src/components/Socials/assets/images/Instagram.png new file mode 100644 index 0000000..11990c4 Binary files /dev/null and b/src/components/Socials/assets/images/Instagram.png differ diff --git a/src/components/Socials/assets/images/Linkedin.png b/src/components/Socials/assets/images/Linkedin.png new file mode 100644 index 0000000..fcb1d90 Binary files /dev/null and b/src/components/Socials/assets/images/Linkedin.png differ diff --git a/src/components/Socials/assets/images/Twitter.png b/src/components/Socials/assets/images/Twitter.png new file mode 100644 index 0000000..40869d9 Binary files /dev/null and b/src/components/Socials/assets/images/Twitter.png differ diff --git a/src/components/Socials/assets/images/Youtube.png b/src/components/Socials/assets/images/Youtube.png new file mode 100644 index 0000000..aaf24cd Binary files /dev/null and b/src/components/Socials/assets/images/Youtube.png differ diff --git a/src/components/Socials/assets/images/whatsapp.png b/src/components/Socials/assets/images/whatsapp.png new file mode 100644 index 0000000..8144473 Binary files /dev/null and b/src/components/Socials/assets/images/whatsapp.png differ diff --git a/src/components/Socials/socials.module.scss b/src/components/Socials/socials.module.scss new file mode 100644 index 0000000..e4413e1 --- /dev/null +++ b/src/components/Socials/socials.module.scss @@ -0,0 +1,22 @@ +.socials-wrapper { + .socialsList { + display: flex; + flex-direction: row; + margin-bottom: 12px; + li { + margin-right: 10px; + } + } + a { + text-decoration: none; + font-weight: 400; + font-size: 14px; + line-height: 16.41px; + color: #030303; + + @media screen and (min-width: 2500px) { + font-size: 28px; + line-height: 32.81px; + } + } +} diff --git a/src/pages/Home.tsx b/src/pages/Home.tsx index 3ad966e..0bf510b 100644 --- a/src/pages/Home.tsx +++ b/src/pages/Home.tsx @@ -1,9 +1,10 @@ import React from "react"; -import { Header } from "../sectors/Header/Header"; +import { Socials } from "../components/Socials/Socials"; + const Home = () => { return (
-
+
); }; diff --git a/src/styles/common/global.scss b/src/styles/common/global.scss index 4b0b31d..647fc6d 100644 --- a/src/styles/common/global.scss +++ b/src/styles/common/global.scss @@ -1,15 +1,20 @@ +@import url("https://fonts.googleapis.com/css2?family=Roboto:wght@400;500;700&display=swap"); + * { - margin: 0; - padding: 0; - box-sizing: border-box; + margin: 0; + padding: 0; + box-sizing: border-box; } body, input, button { - font-family: sans-serif; - font-size: 16px; - color: #333; + font-family: "Roboto"; + font-size: 16px; + color: #333; } button { - cursor: pointer; + cursor: pointer; +} +li { + list-style-type: none; }