Merge branch 'feature/footer' into develop
19
src/components/Button/Buttom.tsx
Normal file
@ -0,0 +1,19 @@
|
||||
import React from "react";
|
||||
|
||||
interface Btn {
|
||||
text: string;
|
||||
type: "button" | "submit" | "reset";
|
||||
className: string;
|
||||
}
|
||||
|
||||
const Button = ( props: Btn ) => {
|
||||
const { text, type, className } = props;
|
||||
|
||||
return (
|
||||
<button type={type} className={className}>
|
||||
{text}
|
||||
</button>
|
||||
);
|
||||
};
|
||||
|
||||
export { Button };
|
149
src/components/FooterBottom/FooterBottom.module.scss
Normal file
@ -0,0 +1,149 @@
|
||||
@use '../../variables';
|
||||
|
||||
.footer-bottom {
|
||||
background-color: variables.$black;
|
||||
height: 100%;
|
||||
|
||||
&__wrapper {
|
||||
display: flex;
|
||||
padding: 15px 100px;
|
||||
justify-content: space-between;
|
||||
align-items: center;
|
||||
|
||||
@media (max-width: 1024px) {
|
||||
display: grid;
|
||||
grid-template-columns: 100%;
|
||||
padding: 15px 16px;
|
||||
gap: 15px;
|
||||
}
|
||||
}
|
||||
|
||||
&__address {
|
||||
font-size: 10px;
|
||||
line-height: 12px;
|
||||
text-transform: capitalize;
|
||||
color: variables.$white;
|
||||
|
||||
@media (min-width: 2500px) {
|
||||
font-size: 20px;
|
||||
line-height: 23px;
|
||||
}
|
||||
|
||||
@media (max-width: 1024px) {
|
||||
grid-area: 2;
|
||||
}
|
||||
}
|
||||
|
||||
&__payments-icons {
|
||||
display: flex;
|
||||
align-items: center;
|
||||
gap: 12px;
|
||||
|
||||
@media ((min-width: 1025px) and (max-width: 1100px)) {
|
||||
gap: 6px;
|
||||
}
|
||||
|
||||
@media (min-width: 370px) and (max-width: 425px) {
|
||||
gap: 11px;
|
||||
}
|
||||
|
||||
@media (max-width: 369px) {
|
||||
flex-wrap: wrap;
|
||||
}
|
||||
|
||||
.li-card {
|
||||
display: flex;
|
||||
}
|
||||
|
||||
.card {
|
||||
width: auto;
|
||||
height: 20px;
|
||||
|
||||
@media (min-width: 2500px) {
|
||||
height: 39px;
|
||||
}
|
||||
|
||||
@media (max-width: 420px) {
|
||||
height: 17px;
|
||||
}
|
||||
}
|
||||
|
||||
.li-divider {
|
||||
border: 1px solid variables.$gray-400;
|
||||
height: 24px;
|
||||
|
||||
@media (max-width: 420px) {
|
||||
height: 20px;
|
||||
}
|
||||
}
|
||||
|
||||
.li-vtexpci {
|
||||
width: auto;
|
||||
height: 34px;
|
||||
|
||||
@media (min-width: 2500px) {
|
||||
height: 66px;
|
||||
}
|
||||
|
||||
@media (max-width: 420px) {
|
||||
height: 28px;
|
||||
}
|
||||
}
|
||||
}
|
||||
|
||||
&__developedby {
|
||||
display: flex;
|
||||
align-items: center;
|
||||
gap: 13px;
|
||||
|
||||
@media (min-width: 2500px) {
|
||||
gap: 12px;
|
||||
}
|
||||
|
||||
@media ((min-width: 1025px) and (max-width: 1150px)) {
|
||||
gap: 7px;
|
||||
}
|
||||
|
||||
&__li,
|
||||
&__text {
|
||||
display: flex;
|
||||
align-items: center;
|
||||
}
|
||||
|
||||
&__text {
|
||||
font-size: 10px;
|
||||
line-height: 12px;
|
||||
text-transform: capitalize;
|
||||
color: variables.$white;
|
||||
|
||||
@media (min-width: 2500px) {
|
||||
font-size: 20px;
|
||||
line-height: 23px;
|
||||
}
|
||||
}
|
||||
|
||||
&__logo-vtex {
|
||||
width: 44px;
|
||||
|
||||
@media (min-width: 2500px) {
|
||||
width: 84px;
|
||||
}
|
||||
|
||||
&:hover {
|
||||
filter: brightness(80%);
|
||||
}
|
||||
}
|
||||
|
||||
&__logo-m3 {
|
||||
width: 28px;
|
||||
|
||||
@media (min-width: 2500px) {
|
||||
width: 54px;
|
||||
}
|
||||
|
||||
&:hover {
|
||||
filter: brightness(80%);
|
||||
}
|
||||
}
|
||||
}
|
||||
}
|
116
src/components/FooterBottom/FooterBottom.tsx
Normal file
@ -0,0 +1,116 @@
|
||||
import React from "react";
|
||||
|
||||
import styles from "./FooterBottom.module.scss";
|
||||
|
||||
import imgLogoVtex from "./assets/vtex-logo.svg";
|
||||
import imgLogoM3 from "./assets/m3-logo.svg";
|
||||
import imgLogoMaster from "./assets/Master.png";
|
||||
import imgLogoVisa from "./assets/Visa.png";
|
||||
import imgLogoAmericanExpress from "./assets/AmericanExpress.png";
|
||||
import imgLogoElo from "./assets/Elo.png";
|
||||
import imgLogoHipercard from "./assets/Hiper.png";
|
||||
import imgLogoPayPal from "./assets/PayPal.png";
|
||||
import imgLogoBoleto from "./assets/Boleto.png";
|
||||
import imgLogoVtexPCI from "./assets/vtex-pci-200.png";
|
||||
|
||||
import { IconList } from "../IconList/IconList";
|
||||
import { ItemList } from "../ItemList/ItemList";
|
||||
|
||||
const FooterBottom = () => {
|
||||
return (
|
||||
<div className={styles["footer-bottom"]}>
|
||||
<div className={styles["footer-bottom__wrapper"]}>
|
||||
|
||||
<div className={styles["footer-bottom__address"]}>
|
||||
<p>Lorem ipsum dolor sit amet, consectetur adipiscing</p>
|
||||
<p>Elit, sed do eiusmod tempor</p>
|
||||
</div>
|
||||
|
||||
<ul className={styles["footer-bottom__payments-icons"]}>
|
||||
<IconList
|
||||
src={imgLogoMaster}
|
||||
alt="Logo Master Card"
|
||||
imgClassName={styles["card"]}
|
||||
liClassName={styles["li-card"]}
|
||||
/>
|
||||
<IconList
|
||||
src={imgLogoVisa}
|
||||
alt="Logo Visa"
|
||||
imgClassName={styles["card"]}
|
||||
liClassName={styles["li-card"]}
|
||||
/>
|
||||
<IconList
|
||||
src={imgLogoAmericanExpress}
|
||||
alt="Logo American Express"
|
||||
imgClassName={styles["card"]}
|
||||
liClassName={styles["li-card"]}
|
||||
/>
|
||||
<IconList
|
||||
src={imgLogoElo}
|
||||
alt="Logo Elo"
|
||||
imgClassName={styles["card"]}
|
||||
liClassName={styles["li-card"]}
|
||||
/>
|
||||
<IconList
|
||||
src={imgLogoHipercard}
|
||||
alt="Logo Hipercard"
|
||||
imgClassName={styles["card"]}
|
||||
liClassName={styles["li-card"]}
|
||||
/>
|
||||
<IconList
|
||||
src={imgLogoPayPal}
|
||||
alt="Logo PayPal"
|
||||
imgClassName={styles["card"]}
|
||||
liClassName={styles["li-card"]}
|
||||
/>
|
||||
<IconList
|
||||
src={imgLogoBoleto}
|
||||
alt="Logo Boleto"
|
||||
imgClassName={styles["card"]}
|
||||
liClassName={styles["li-card"]}
|
||||
/>
|
||||
|
||||
<li className={styles["li-divider"]}></li>
|
||||
|
||||
<IconList
|
||||
src={imgLogoVtexPCI}
|
||||
alt="Logo Vtex PCI"
|
||||
imgClassName={styles["li-vtexpci"]}
|
||||
liClassName={styles["li-card"]}
|
||||
/>
|
||||
</ul>
|
||||
|
||||
<ul className={styles["footer-bottom__developedby"]}>
|
||||
<ItemList
|
||||
text="Powered by"
|
||||
textClassName={styles["footer-bottom__developedby__text"]}
|
||||
/>
|
||||
<a href="/">
|
||||
<IconList
|
||||
src={imgLogoVtex}
|
||||
alt="Logo Vtex"
|
||||
imgClassName={styles["footer-bottom__developedby__logo-vtex"]}
|
||||
liClassName={styles["footer-bottom__developedby__li"]}
|
||||
/>
|
||||
</a>
|
||||
|
||||
<ItemList
|
||||
text="Developed by"
|
||||
textClassName={styles["footer-bottom__developedby__text"]}
|
||||
/>
|
||||
<a href="/">
|
||||
<IconList
|
||||
src={imgLogoM3}
|
||||
alt="Logo M3"
|
||||
imgClassName={styles["footer-bottom__developedby__logo-m3"]}
|
||||
liClassName={styles["footer-bottom__developedby__li"]}
|
||||
/>
|
||||
</a>
|
||||
</ul>
|
||||
|
||||
</div>
|
||||
</div>
|
||||
);
|
||||
};
|
||||
|
||||
export { FooterBottom };
|
BIN
src/components/FooterBottom/assets/AmericanExpress.png
Normal file
After Width: | Height: | Size: 8.8 KiB |
BIN
src/components/FooterBottom/assets/Boleto.png
Normal file
After Width: | Height: | Size: 3.3 KiB |
BIN
src/components/FooterBottom/assets/Elo.png
Normal file
After Width: | Height: | Size: 3.9 KiB |
BIN
src/components/FooterBottom/assets/Hiper.png
Normal file
After Width: | Height: | Size: 4.2 KiB |
BIN
src/components/FooterBottom/assets/Master.png
Normal file
After Width: | Height: | Size: 3.3 KiB |
BIN
src/components/FooterBottom/assets/PayPal.png
Normal file
After Width: | Height: | Size: 4.3 KiB |
BIN
src/components/FooterBottom/assets/Visa.png
Normal file
After Width: | Height: | Size: 4.7 KiB |
4
src/components/FooterBottom/assets/m3-logo.svg
Normal file
@ -0,0 +1,4 @@
|
||||
<svg width="55" height="30" viewBox="0 0 55 30" fill="none" xmlns="http://www.w3.org/2000/svg">
|
||||
<path d="M32.0512 10.2627C31.1932 9.1249 30.1157 8.17871 28.8851 7.48256C27.6545 6.78641 26.297 6.35511 24.8966 6.21531C23.4961 6.07551 22.0824 6.23018 20.7429 6.66976C19.4033 7.10934 18.1664 7.82449 17.1085 8.77102L16.1946 8.06248C9.91595 3.55022 1.12401 7.38191 0.301479 15.1106C0.0512614 18.834 -0.0127963 22.5679 0.109555 26.298C0.0893703 26.7766 0.165844 27.2544 0.33423 27.7017C0.502615 28.1489 0.759319 28.5561 1.08841 28.8979C1.41749 29.2397 1.81194 29.5089 2.24727 29.6887C2.68259 29.8685 3.1495 29.9552 3.61902 29.9432C4.07853 29.9412 4.53289 29.8444 4.9548 29.6587C5.37671 29.473 5.75747 29.2022 6.07418 28.8626C6.39089 28.523 6.63702 28.1215 6.79779 27.6824C6.95855 27.2433 7.03062 26.7756 7.00967 26.3073C7.00967 23.6223 7.00967 20.9373 7.00967 18.243C7.00228 17.4443 7.05729 16.6462 7.17418 15.8564C7.3216 15.048 7.76359 14.3265 8.41128 13.837C9.05897 13.3476 9.86432 13.1264 10.6654 13.218C11.4484 13.2782 12.183 13.6277 12.7315 14.201C13.28 14.7742 13.6047 15.5319 13.6448 16.3319C13.6905 17.3201 13.6448 18.3083 13.6448 19.2965C13.6448 21.7018 13.6448 24.1071 13.6448 26.5124C13.6354 27.2101 13.8388 27.8934 14.2268 28.468C14.6149 29.0425 15.1684 29.4799 15.8108 29.7195C18.1413 30.7077 20.5175 28.9736 20.5632 26.242C20.5632 23.063 20.5632 19.8839 20.6545 16.7048C20.6853 15.9363 20.9156 15.1899 21.3217 14.5419C21.7084 13.9705 22.2689 13.5449 22.9164 13.3309C23.564 13.1169 24.2626 13.1264 24.9043 13.3579C25.6282 13.5648 26.261 14.0177 26.6981 14.6416C27.1352 15.2656 27.3504 16.023 27.3079 16.7887C27.3079 20.0051 27.3079 23.2214 27.3079 26.4378C27.3079 26.8994 27.397 27.3564 27.5702 27.7829C27.7433 28.2093 27.9971 28.5967 28.3171 28.9231C28.637 29.2495 29.0168 29.5084 29.4349 29.685C29.8529 29.8616 30.3009 29.9525 30.7534 29.9525C31.2059 29.9525 31.6539 29.8616 32.0719 29.685C32.49 29.5084 32.8698 29.2495 33.1897 28.9231C33.5097 28.5967 33.7635 28.2093 33.9366 27.7829C34.1098 27.3564 34.1989 26.8994 34.1989 26.4378C34.1989 23.1469 34.1989 19.9118 34.1989 16.5742C34.2051 14.2829 33.4478 12.0573 32.0512 10.2627Z" fill="white"/>
|
||||
<path d="M49.3155 12.1271L48.228 11.6703C49.3064 10.8126 50.33 10.0761 51.2439 9.23706C52.0559 8.58492 52.7568 7.80059 53.3185 6.91567C54.9636 3.78319 52.6422 0.137951 48.9591 0.0540455C45.5593 0.00743122 42.1686 0.00743122 38.7689 0.00743122C38.3524 -0.0219252 37.9346 0.0388675 37.5428 0.185821C37.151 0.332775 36.7941 0.562568 36.4955 0.860126C36.1969 1.15768 35.9634 1.51628 35.8102 1.91239C35.657 2.30851 35.5877 2.73318 35.6067 3.15856C35.566 3.59182 35.6181 4.02893 35.7595 4.4396C35.9009 4.85026 36.1281 5.22465 36.4254 5.53682C36.7228 5.84899 37.0831 6.09148 37.4814 6.24747C37.8797 6.40346 38.3066 6.46922 38.7323 6.4402C40.3956 6.4402 42.059 6.4402 43.7223 6.4402C44.0056 6.53343 44.2981 6.53343 44.8464 6.53343C42.5891 8.398 40.5053 10.1693 38.449 11.922C37.1238 13.0408 36.7217 14.2621 37.1878 15.6512C37.4353 16.3368 37.8967 16.9207 38.5009 17.3131C39.1052 17.7055 39.819 17.8848 40.5327 17.8234C42.2966 17.8234 44.0696 17.8234 45.8335 17.8234C46.2291 17.7488 46.6359 17.7639 47.0251 17.8676C47.4143 17.9714 47.7764 18.1612 48.0856 18.4237C48.3948 18.6862 48.6437 19.0148 48.8144 19.3864C48.9852 19.7579 49.0737 20.1633 49.0737 20.5736C49.0737 20.984 48.9852 21.3894 48.8144 21.7609C48.6437 22.1325 48.3948 22.4611 48.0856 22.7236C47.7764 22.9861 47.4143 23.1759 47.0251 23.2797C46.6359 23.3834 46.2291 23.3985 45.8335 23.3239C43.5487 23.3239 41.2639 23.3239 38.9791 23.3239C38.1781 23.3681 37.4243 23.7237 36.8726 24.3177C36.321 24.9117 36.0135 25.6988 36.0135 26.517C36.0135 27.3352 36.321 28.1223 36.8726 28.7162C37.4243 29.3102 38.1781 29.6659 38.9791 29.71C41.3644 29.71 43.7589 29.71 46.1442 29.71C48.2396 29.6558 50.253 28.8685 51.847 27.4801C53.4411 26.0917 54.5188 24.1865 54.8996 22.084C55.2032 20.0254 54.817 17.9226 53.8037 16.1157C52.7903 14.3088 51.209 12.9035 49.3155 12.1271Z" fill="white"/>
|
||||
</svg>
|
After Width: | Height: | Size: 3.9 KiB |
7
src/components/FooterBottom/assets/vtex-logo.svg
Normal file
@ -0,0 +1,7 @@
|
||||
<svg width="86" height="30" viewBox="0 0 86 30" fill="none" xmlns="http://www.w3.org/2000/svg">
|
||||
<path d="M61.6881 11.2328H58.6747V21.4794C58.6747 21.6712 58.5088 21.8355 58.3153 21.8355H55.993C55.7995 21.8355 55.6336 21.6712 55.6336 21.4794V11.2328H52.5926C52.5096 11.2328 52.399 11.2054 52.3437 11.1506C52.2884 11.0958 52.2332 11.0136 52.2332 10.904V9.09582C52.2332 9.01363 52.2608 8.90404 52.3437 8.84924C52.399 8.79445 52.5096 8.73966 52.5926 8.76705H61.6881C61.8817 8.76705 62.0475 8.90404 62.0475 9.09582V10.904C62.0475 11.0958 61.8817 11.2328 61.6881 11.2328Z" fill="white"/>
|
||||
<path d="M71.3916 21.7535C70.2029 21.9179 68.9864 22.0001 67.7977 21.9727C65.503 21.9727 63.4849 21.3974 63.4849 18.1919V12.3563C63.4849 9.15079 65.5307 8.60285 67.8253 8.60285C69.0141 8.57545 70.2029 8.65764 71.3916 8.82203C71.6405 8.84942 71.751 8.95901 71.751 9.17819V10.822C71.751 11.0138 71.5852 11.1782 71.3916 11.1782H67.6594C66.83 11.1782 66.5259 11.4522 66.5259 12.3837V13.9727H71.2534C71.4469 13.9727 71.6128 14.1371 71.6128 14.3289V16.0001C71.6128 16.1919 71.4469 16.3563 71.2534 16.3563H66.5259V18.2193C66.5259 19.1234 66.83 19.4248 67.6594 19.4248H71.3916C71.5852 19.4248 71.751 19.5892 71.751 19.7809V21.4248C71.751 21.6166 71.6405 21.7261 71.3916 21.7535Z" fill="white"/>
|
||||
<path d="M84.7727 21.8352H81.9528C81.7593 21.8626 81.5658 21.753 81.4828 21.5612L79.0223 17.7256L76.8106 21.479C76.7 21.6982 76.5618 21.8352 76.3683 21.8352H73.7419C73.6866 21.8352 73.6037 21.8352 73.5484 21.7804C73.4931 21.7256 73.4654 21.6708 73.4654 21.5886C73.4654 21.5338 73.4931 21.5064 73.4931 21.479L77.3359 15.1228L73.4378 9.09544C73.4102 9.06805 73.4102 9.01325 73.4102 8.98586C73.4102 8.84887 73.5484 8.73928 73.6866 8.76668H76.5895C76.783 8.76668 76.9212 8.93106 77.0318 9.09544L79.2988 12.6571L81.5105 9.09544C81.5934 8.90366 81.7593 8.79407 81.9528 8.76668H84.5792C84.7174 8.76668 84.8557 8.84887 84.8557 8.98586C84.8557 9.01325 84.828 9.06805 84.828 9.09544L80.9576 15.1776L84.9939 21.479C85.0215 21.5338 85.0492 21.5886 85.0492 21.6434C85.0215 21.753 84.911 21.8352 84.7727 21.8352Z" fill="white"/>
|
||||
<path d="M48.0032 8.79443C47.865 8.79443 47.7544 8.87663 47.7268 9.01361L45.1557 18.4657C45.128 18.6574 45.0727 18.7396 44.9069 18.7396C44.741 18.7396 44.6857 18.6574 44.658 18.4657L42.0869 9.01361C42.0593 8.87663 41.9487 8.79443 41.8105 8.79443H39.267C39.1841 8.79443 39.1012 8.82183 39.0459 8.90402C38.9906 8.95882 38.9629 9.04101 38.9906 9.1232C38.9906 9.1232 42.1422 19.9725 42.1699 20.0821C42.5846 21.3698 43.6075 21.9999 44.9069 21.9999C46.1509 22.0547 47.2844 21.2602 47.6438 20.0821C47.6991 19.9451 50.7678 9.1232 50.7678 9.1232C50.7955 9.04101 50.7678 8.95882 50.7125 8.90402C50.6572 8.84923 50.5743 8.79443 50.4914 8.79443H48.0032Z" fill="white"/>
|
||||
<path d="M33.6272 0H7.16989C6.20227 0 5.3176 0.520548 4.84761 1.31507C4.34998 2.13699 4.32234 3.15068 4.76468 3.9726L7.4187 8.9589H2.60828C2.00006 8.9589 1.41949 9.26027 1.08774 9.78082C0.755988 10.3014 0.755988 10.9589 1.03245 11.5068L9.54745 27.4521C9.85156 28.0274 10.4598 28.3836 11.0956 28.3836C11.7315 28.3836 12.3397 28.0274 12.6438 27.4521L14.9661 23.1233L17.8689 28.5753C18.3389 29.4521 19.2789 30 20.2741 30C21.2694 30 22.2094 29.4521 22.6794 28.5753L35.9495 3.83562C36.3918 3.0137 36.3642 2.0274 35.8666 1.26027C35.4242 0.465753 34.5395 0 33.6272 0ZM21.7947 10.4384L15.989 21.2329C15.7955 21.6164 15.4084 21.8356 14.9661 21.8356C14.5238 21.8356 14.1367 21.589 13.9432 21.2329L8.22044 10.5479C8.05456 10.2192 8.05456 9.83562 8.24809 9.50685C8.44161 9.17808 8.80101 8.9863 9.16041 8.9863H20.8824C21.2418 8.9863 21.5735 9.15069 21.7394 9.45205C21.9606 9.75342 21.9606 10.137 21.7947 10.4384Z" fill="white"/>
|
||||
</svg>
|
After Width: | Height: | Size: 3.6 KiB |
BIN
src/components/FooterBottom/assets/vtex-pci-200.png
Normal file
After Width: | Height: | Size: 8.7 KiB |
120
src/components/FooterMenu/FooterMenu.module.scss
Normal file
@ -0,0 +1,120 @@
|
||||
@use '../../variables';
|
||||
|
||||
.footer-menu {
|
||||
display: flex;
|
||||
gap: 121px;
|
||||
|
||||
@media (min-width: 2500px) {
|
||||
gap: 293px;
|
||||
}
|
||||
|
||||
@media ((min-width: 1025px) and (max-width: 1170px)) {
|
||||
gap: 75px;
|
||||
}
|
||||
|
||||
@media (max-width: 1024px) {
|
||||
flex-direction: column;
|
||||
gap: 0;
|
||||
}
|
||||
|
||||
&__top {
|
||||
&__title-wrapper {
|
||||
@media (max-width: 1024px) {
|
||||
display: flex;
|
||||
justify-content: space-between;
|
||||
}
|
||||
}
|
||||
|
||||
&__title,
|
||||
&__item,
|
||||
&__item-title,
|
||||
&__title-active {
|
||||
color: variables.$black-300;
|
||||
margin-bottom: 12px;
|
||||
}
|
||||
|
||||
&__title,
|
||||
&__title-active {
|
||||
font-weight: 500;
|
||||
font-size: 14px;
|
||||
line-height: 16px;
|
||||
text-transform: uppercase;
|
||||
|
||||
@media (max-width: 1024px) {
|
||||
cursor: pointer;
|
||||
}
|
||||
|
||||
@media (min-width: 2500px) {
|
||||
font-size: 28px;
|
||||
line-height: 33px;
|
||||
}
|
||||
}
|
||||
|
||||
&__title {
|
||||
@media (max-width: 1024px) {
|
||||
&:hover {
|
||||
filter: contrast(60%);
|
||||
}
|
||||
}
|
||||
}
|
||||
|
||||
&__title-active {
|
||||
text-decoration-line: underline;
|
||||
}
|
||||
|
||||
&__plus-sign {
|
||||
font-weight: 500;
|
||||
color: variables.$black-300;
|
||||
cursor: pointer;
|
||||
|
||||
@media (min-width: 1025px) {
|
||||
display: none;
|
||||
}
|
||||
}
|
||||
|
||||
&__items {
|
||||
@media (max-width: 1024px) {
|
||||
visibility: visible;
|
||||
opacity: 1;
|
||||
padding-bottom: 12px;
|
||||
transition: .3s ease;
|
||||
transform: translateY(0);
|
||||
}
|
||||
}
|
||||
|
||||
&__items-inactive {
|
||||
@media (max-width: 1024px) {
|
||||
visibility: hidden;
|
||||
opacity: 0;
|
||||
height: 0;
|
||||
transform: translateY(-20%);
|
||||
}
|
||||
}
|
||||
|
||||
&__item,
|
||||
&__item-title {
|
||||
font-size: 12px;
|
||||
line-height: 14px;
|
||||
text-transform: capitalize;
|
||||
|
||||
@media (min-width: 2500px) {
|
||||
font-size: 24px;
|
||||
line-height: 28px;
|
||||
}
|
||||
}
|
||||
|
||||
&__item {
|
||||
&:hover {
|
||||
text-decoration-line: underline;
|
||||
}
|
||||
}
|
||||
|
||||
&__item-title {
|
||||
font-weight: 500;
|
||||
|
||||
@media ((min-width: 1025px) and (max-width: 2499px)){
|
||||
width: 150px;
|
||||
}
|
||||
}
|
||||
}
|
||||
}
|
126
src/components/FooterMenu/FooterMenu.tsx
Normal file
@ -0,0 +1,126 @@
|
||||
import {useState} from "react";
|
||||
|
||||
import styles from "./FooterMenu.module.scss";
|
||||
|
||||
import { ItemList } from "../ItemList/ItemList";
|
||||
|
||||
const FooterMenu = () => {
|
||||
|
||||
const [isActive, setIsActive] = useState(false);
|
||||
const [isActive2, setIsActive2] = useState(false);
|
||||
const [isActive3, setIsActive3] = useState(false);
|
||||
|
||||
return (
|
||||
<div className={styles["footer-menu"]}>
|
||||
|
||||
<div className={styles["footer-menu__top"]}>
|
||||
|
||||
<div className={styles["footer-menu__top__title-wrapper"]} onClick={() => setIsActive(!isActive)}>
|
||||
|
||||
<h3 className={isActive === true && (window.innerWidth <= 1024)
|
||||
? styles["footer-menu__top__title-active"]
|
||||
: styles["footer-menu__top__title"]}>
|
||||
INSTITUCIONAL
|
||||
</h3>
|
||||
|
||||
<div className={styles["footer-menu__top__plus-sign"]}>
|
||||
{isActive ? "-" : "+"}
|
||||
</div>
|
||||
</div>
|
||||
|
||||
<ul className={isActive === true
|
||||
? styles["footer-menu__top__items"]
|
||||
: styles["footer-menu__top__items-inactive"]}>
|
||||
|
||||
<a href="/">
|
||||
<ItemList text="Quem Somos" textClassName={styles["footer-menu__top__item"]} />
|
||||
</a>
|
||||
|
||||
<a href="/">
|
||||
<ItemList text="Política de Privacidade" textClassName={styles["footer-menu__top__item"]} />
|
||||
</a>
|
||||
|
||||
<a href="/">
|
||||
<ItemList text="Segurança" textClassName={styles["footer-menu__top__item"]} />
|
||||
</a>
|
||||
|
||||
<a href="/">
|
||||
<ItemList text="Seja um Revendedor" textClassName={styles["footer-menu__top__item"]} />
|
||||
</a>
|
||||
</ul>
|
||||
</div>
|
||||
|
||||
<div className={styles["footer-menu__top"]}>
|
||||
|
||||
<div className={styles["footer-menu__top__title-wrapper"]} onClick={() => setIsActive2(!isActive2)}>
|
||||
|
||||
<h3 className={isActive2 === true && (window.innerWidth <= 1024)
|
||||
? styles["footer-menu__top__title-active"]
|
||||
: styles["footer-menu__top__title"]}>
|
||||
DÚVIDAS
|
||||
</h3>
|
||||
|
||||
<div className={styles["footer-menu__top__plus-sign"]}>
|
||||
{isActive2 ? "-" : "+"}
|
||||
</div>
|
||||
</div>
|
||||
|
||||
<ul className={isActive2 === true
|
||||
? styles["footer-menu__top__items"]
|
||||
: styles["footer-menu__top__items-inactive"]}>
|
||||
|
||||
<a href="/">
|
||||
<ItemList text="Entrega" textClassName={styles["footer-menu__top__item"]} />
|
||||
</a>
|
||||
|
||||
<a href="/">
|
||||
<ItemList text="Pagamento" textClassName={styles["footer-menu__top__item"]} />
|
||||
</a>
|
||||
|
||||
<a href="/">
|
||||
<ItemList text="Trocas e Devoluções" textClassName={styles["footer-menu__top__item"]} />
|
||||
</a>
|
||||
|
||||
<a href="/">
|
||||
<ItemList text="Dúvidas Frequentes" textClassName={styles["footer-menu__top__item"]} />
|
||||
</a>
|
||||
</ul>
|
||||
</div>
|
||||
|
||||
<div className={styles["footer-menu__top"]}>
|
||||
|
||||
<div className={styles["footer-menu__top__title-wrapper"]} onClick={() => setIsActive3(!isActive3)}>
|
||||
|
||||
<h3 className={isActive3 === true && (window.innerWidth <= 1024)
|
||||
? styles["footer-menu__top__title-active"]
|
||||
: styles["footer-menu__top__title"]}>
|
||||
FALE CONOSCO
|
||||
</h3>
|
||||
|
||||
<div className={styles["footer-menu__top__plus-sign"]}>
|
||||
{isActive3 ? "-" : "+"}
|
||||
</div>
|
||||
</div>
|
||||
|
||||
<ul className={isActive3 === true
|
||||
? styles["footer-menu__top__items"]
|
||||
: styles["footer-menu__top__items-inactive"]}>
|
||||
|
||||
<ItemList text="Atendimento ao Consumidor" textClassName={styles["footer-menu__top__item-title"]} />
|
||||
|
||||
<a href="/">
|
||||
<ItemList text="(11) 4159-9504" textClassName={styles["footer-menu__top__item"]} />
|
||||
</a>
|
||||
|
||||
<ItemList text="Atendimento Online" textClassName={styles["footer-menu__top__item-title"]} />
|
||||
|
||||
<a href="/">
|
||||
<ItemList text="(11) 99433-8825" textClassName={styles["footer-menu__top__item"]} />
|
||||
</a>
|
||||
</ul>
|
||||
</div>
|
||||
</div>
|
||||
);
|
||||
}
|
||||
|
||||
export { FooterMenu };
|
15
src/components/FooterTop/FooterTop.module.scss
Normal file
@ -0,0 +1,15 @@
|
||||
@use '../../variables';
|
||||
|
||||
.footer-top {
|
||||
display: flex;
|
||||
justify-content: space-between;
|
||||
margin: 50px 0;
|
||||
padding: 0 100px;
|
||||
|
||||
@media (max-width: 1024px) {
|
||||
flex-direction: column;
|
||||
justify-content: flex-start;
|
||||
margin: 24px 0;
|
||||
padding: 0 16px;
|
||||
}
|
||||
}
|
18
src/components/FooterTop/FooterTop.tsx
Normal file
@ -0,0 +1,18 @@
|
||||
import React from "react";
|
||||
|
||||
import styles from "./FooterTop.module.scss";
|
||||
|
||||
import { RedesSociais } from "../RedesSociais/RedesSociais";
|
||||
import { FooterMenu } from "../FooterMenu/FooterMenu";
|
||||
|
||||
const FooterTop = () => {
|
||||
|
||||
return (
|
||||
<div className={styles["footer-top"]}>
|
||||
<FooterMenu />
|
||||
<RedesSociais />
|
||||
</div>
|
||||
);
|
||||
}
|
||||
|
||||
export { FooterTop };
|
20
src/components/IconList/IconList.tsx
Normal file
@ -0,0 +1,20 @@
|
||||
import React from "react";
|
||||
|
||||
interface Icon {
|
||||
src: string;
|
||||
alt: string;
|
||||
imgClassName?: string;
|
||||
liClassName?: string;
|
||||
}
|
||||
|
||||
const IconList = ( props: Icon ) => {
|
||||
const { src, alt, imgClassName, liClassName } = props;
|
||||
|
||||
return (
|
||||
<li className={liClassName}>
|
||||
<img src={src} alt={alt} className={imgClassName}/>
|
||||
</li>
|
||||
);
|
||||
};
|
||||
|
||||
export { IconList };
|
14
src/components/ItemList/ItemList.tsx
Normal file
@ -0,0 +1,14 @@
|
||||
import React from "react";
|
||||
|
||||
interface Icon {
|
||||
text: string;
|
||||
textClassName?: string;
|
||||
}
|
||||
|
||||
const ItemList = ( props: Icon) => {
|
||||
const { text, textClassName } = props;
|
||||
|
||||
return <li className={textClassName}> { text } </li>;
|
||||
};
|
||||
|
||||
export { ItemList };
|
@ -1,29 +0,0 @@
|
||||
@use '../../variables';
|
||||
|
||||
.nav-bar__item {
|
||||
font-weight: 500;
|
||||
font-size: 14px;
|
||||
line-height: 16px;
|
||||
text-transform: uppercase;
|
||||
color: variables.$white;
|
||||
cursor: pointer;
|
||||
|
||||
@media (min-width: 3600px) {
|
||||
font-size: 32px;
|
||||
line-height: 38px;
|
||||
}
|
||||
|
||||
@media ((min-width: 2500px) and (max-width: 3599px)) {
|
||||
font-size: 28px;
|
||||
line-height: 33px;
|
||||
}
|
||||
|
||||
@media (max-width: 1024px) {
|
||||
color: variables.$gray-400;
|
||||
margin-bottom: 12px;
|
||||
}
|
||||
|
||||
&:hover {
|
||||
filter: brightness(80%);
|
||||
}
|
||||
}
|
@ -1,10 +0,0 @@
|
||||
import React from 'react';
|
||||
|
||||
import styles from "./ItemNavBar.module.scss";
|
||||
|
||||
const ItemNavBar = ( props:any) => {
|
||||
const { text } = props;
|
||||
return <li className={styles["nav-bar__item"]}> { text } </li>;
|
||||
};
|
||||
|
||||
export { ItemNavBar };
|
200
src/components/Newsletter/Newsletter.module.scss
Normal file
@ -0,0 +1,200 @@
|
||||
@use '../../variables';
|
||||
|
||||
.newsletter {
|
||||
|
||||
&__container {
|
||||
display: flex;
|
||||
justify-content: center;
|
||||
align-items: center;
|
||||
border-top: 1px solid variables.$black;
|
||||
border-bottom: 1px solid variables.$black;
|
||||
}
|
||||
|
||||
&__form {
|
||||
display: flex;
|
||||
flex-direction: column;
|
||||
gap: 8px;
|
||||
margin: 16px 0;
|
||||
position: relative;
|
||||
|
||||
@media (min-width: 3600px) {
|
||||
margin: 18px 0;
|
||||
}
|
||||
|
||||
@media (max-width: 1024px) {
|
||||
width: 100%;
|
||||
padding: 0 16px;
|
||||
gap: 16px;
|
||||
}
|
||||
|
||||
&__title {
|
||||
font-weight: 500;
|
||||
font-size: 18px;
|
||||
line-height: 21px;
|
||||
letter-spacing: 0.05em;
|
||||
font-variant: small-caps;
|
||||
color: variables.$black-300;
|
||||
text-align: left;
|
||||
|
||||
@media (min-width: 3600px) {
|
||||
font-size: 40px;
|
||||
line-height: 48px;
|
||||
}
|
||||
|
||||
@media ((min-width: 2500px) and (max-width: 3599px)) {
|
||||
font-size: 36px;
|
||||
line-height: 42px;
|
||||
}
|
||||
|
||||
@media (max-width: 1024px) {
|
||||
font-size: 14px;
|
||||
line-height: 16px;
|
||||
}
|
||||
}
|
||||
|
||||
&__items {
|
||||
display: flex;
|
||||
flex-direction: row;
|
||||
align-items: center;
|
||||
justify-content: center;
|
||||
gap: 8px;
|
||||
|
||||
@media (max-width: 1024px) {
|
||||
flex-direction: column;
|
||||
align-items: stretch;
|
||||
gap: 16px;
|
||||
}
|
||||
|
||||
&__email {
|
||||
input {
|
||||
background: variables.$white;
|
||||
border: 1px solid variables.$gray-600;
|
||||
border-radius: 4px;
|
||||
width: 100%;
|
||||
min-width: 340px;
|
||||
height: 42px;
|
||||
font-size: 14px;
|
||||
line-height: 16px;
|
||||
color: variables.$gray-400;
|
||||
padding: 13px 16px;
|
||||
|
||||
&::placeholder {
|
||||
font-size: 14px;
|
||||
line-height: 16px;
|
||||
color: variables.$gray-400;
|
||||
}
|
||||
|
||||
@media (min-width: 3600px) {
|
||||
font-size: 32px;
|
||||
line-height: 36px;
|
||||
min-width: 720px;
|
||||
height: 64px;
|
||||
|
||||
&::placeholder {
|
||||
font-size: 32px;
|
||||
line-height: 36px;
|
||||
}
|
||||
}
|
||||
|
||||
@media ((min-width: 2500px) and (max-width: 3599px)) {
|
||||
font-size: 28px;
|
||||
line-height: 33px;
|
||||
min-width: 668px;
|
||||
height: 59px;
|
||||
|
||||
&::placeholder {
|
||||
font-size: 28px;
|
||||
line-height: 33px;
|
||||
}
|
||||
}
|
||||
|
||||
@media (max-width: 1024px) {
|
||||
min-width: 100%;
|
||||
padding: 17px 16px;
|
||||
}
|
||||
}
|
||||
}
|
||||
|
||||
&__btn {
|
||||
width: 126px;
|
||||
height: 42px;
|
||||
background: variables.$black;
|
||||
border: none;
|
||||
box-shadow: 0px 4px 4px variables.$shadow;
|
||||
border-radius: 4px;
|
||||
|
||||
display: flex;
|
||||
align-items: center;
|
||||
justify-content: center;
|
||||
|
||||
font-weight: 700;
|
||||
font-size: 12px;
|
||||
line-height: 14px;
|
||||
letter-spacing: 0.05em;
|
||||
color: variables.$white;
|
||||
padding: 20px 14px;
|
||||
text-transform: uppercase;
|
||||
|
||||
&:hover {
|
||||
filter: opacity(.8);
|
||||
}
|
||||
|
||||
&:active {
|
||||
filter: opacity(1);
|
||||
}
|
||||
|
||||
@media (min-width: 3600px) {
|
||||
width: 280px;
|
||||
height: 64px;
|
||||
font-size: 28px;
|
||||
line-height: 32px;
|
||||
}
|
||||
|
||||
@media ((min-width: 2500px) and (max-width: 3599px)) {
|
||||
width: 246px;
|
||||
height: 59px;
|
||||
font-size: 24px;
|
||||
line-height: 28px;
|
||||
}
|
||||
|
||||
@media (max-width: 1024px) {
|
||||
width: 100%;
|
||||
font-size: 14px;
|
||||
line-height: 16px;
|
||||
box-shadow: none;
|
||||
}
|
||||
}
|
||||
}
|
||||
}
|
||||
}
|
||||
|
||||
span {
|
||||
font-size: 12px;
|
||||
line-height: 14px;
|
||||
color: variables.$red;
|
||||
position: absolute;
|
||||
right: 0;
|
||||
top: 14px;
|
||||
|
||||
@media (min-width: 3600px) {
|
||||
font-size: 26px;
|
||||
line-height: 30px;
|
||||
top: 20px;
|
||||
}
|
||||
|
||||
@media ((min-width: 2500px) and (max-width: 3599px)) {
|
||||
font-size: 24px;
|
||||
line-height: 28px;
|
||||
top: 20px;
|
||||
}
|
||||
|
||||
@media (min-width: 350px) and (max-width: 1024px) {
|
||||
right: 16px;
|
||||
}
|
||||
|
||||
@media (max-width: 349px) {
|
||||
font-size: 11px;
|
||||
top: 18px;
|
||||
right: 16px;
|
||||
}
|
||||
}
|
56
src/components/Newsletter/Newsletter.tsx
Normal file
@ -0,0 +1,56 @@
|
||||
import React from "react";
|
||||
|
||||
import { Formik, Form, Field, ErrorMessage, FormikHelpers} from "formik";
|
||||
|
||||
import styles from "./Newsletter.module.scss";
|
||||
|
||||
import NewsletterSchema from "./Schema/NewsletterSchema";
|
||||
import { Button } from "../Button/Buttom";
|
||||
|
||||
interface NewsletterValue {
|
||||
email: string;
|
||||
}
|
||||
|
||||
const initialValue = {
|
||||
email: "",
|
||||
}
|
||||
|
||||
let listEmail: Array<NewsletterValue> = [];
|
||||
|
||||
const Newsletter = () => {
|
||||
|
||||
const handleSubmit = (values: NewsletterValue, actions: FormikHelpers<NewsletterValue>) => {
|
||||
listEmail.push(values);
|
||||
console.log(listEmail);
|
||||
actions.resetForm();
|
||||
};
|
||||
|
||||
return (
|
||||
<div className={styles["newsletter__container"]}>
|
||||
<Formik
|
||||
onSubmit={handleSubmit}
|
||||
initialValues={initialValue}
|
||||
validationSchema={NewsletterSchema} >
|
||||
|
||||
{({errors, touched}) => (
|
||||
<Form className={styles["newsletter__form"]}>
|
||||
<h2 className={styles["newsletter__form__title"]}>ASSINE NOSSA NEWSLETTER</h2>
|
||||
|
||||
<div className={styles["newsletter__form__items"]}>
|
||||
<div className={styles["newsletter__form__items__email"]}>
|
||||
<Field id="email" name="email" placeholder="E-mail" className={errors.email && touched.email && "invalid"}
|
||||
/>
|
||||
<ErrorMessage component="span" name="email" className={styles["newsletter-invalid-feedback"]}/>
|
||||
</div>
|
||||
|
||||
<Button type="submit" text="Enviar" className={styles["newsletter__form__items__btn"]} />
|
||||
</div>
|
||||
</Form>
|
||||
)}
|
||||
|
||||
</Formik>
|
||||
</div>
|
||||
);
|
||||
};
|
||||
|
||||
export {Newsletter};
|
5
src/components/Newsletter/Schema/NewsletterSchema.ts
Normal file
@ -0,0 +1,5 @@
|
||||
import * as Yup from "yup";
|
||||
|
||||
export default Yup.object().shape({
|
||||
email: Yup.string().email("*E-mail Inválido").required("")
|
||||
});
|
46
src/components/RedesSociais/RedesSociais.module.scss
Normal file
@ -0,0 +1,46 @@
|
||||
@use '../../variables';
|
||||
|
||||
.redes-sociais {
|
||||
&__container {
|
||||
display: flex;
|
||||
flex-direction: column;
|
||||
justify-content: flex-start;
|
||||
gap: 12px;
|
||||
}
|
||||
|
||||
&__icons {
|
||||
display: flex;
|
||||
gap: 10px;
|
||||
|
||||
&__icon {
|
||||
width: 35px;
|
||||
|
||||
&:hover {
|
||||
filter: contrast(30%);
|
||||
}
|
||||
|
||||
&:active {
|
||||
filter: contrast(100%);
|
||||
}
|
||||
|
||||
@media (min-width: 2500px) {
|
||||
width: 70px;
|
||||
}
|
||||
}
|
||||
}
|
||||
|
||||
&__link {
|
||||
font-size: 14px;
|
||||
line-height: 16px;
|
||||
color: variables.$black-300;
|
||||
|
||||
&:hover {
|
||||
text-decoration-line: underline;
|
||||
}
|
||||
|
||||
@media (min-width: 2500px) {
|
||||
font-size: 28px;
|
||||
line-height: 33px;
|
||||
}
|
||||
}
|
||||
}
|
64
src/components/RedesSociais/RedesSociais.tsx
Normal file
@ -0,0 +1,64 @@
|
||||
import React from "react";
|
||||
|
||||
import styles from "./RedesSociais.module.scss";
|
||||
|
||||
import imgFacebook from "./assets/facebook-icon.svg";
|
||||
import imgInstagram from "./assets/instagram-icon.svg";
|
||||
import imgTwitter from "./assets/twitter-icon.svg";
|
||||
import imgYouTube from "./assets/youtube-icon.svg";
|
||||
import imgLinkdin from "./assets/linkedin-icon.svg";
|
||||
|
||||
import { IconList } from "../IconList/IconList";
|
||||
|
||||
const RedesSociais = () => {
|
||||
|
||||
return (
|
||||
<div className={styles["redes-sociais__container"]}>
|
||||
<ul className={styles["redes-sociais__icons"]}>
|
||||
<a href="/">
|
||||
<IconList
|
||||
src={imgFacebook}
|
||||
alt="Logo Facebbok"
|
||||
imgClassName={styles["redes-sociais__icons__icon"]}
|
||||
/>
|
||||
</a>
|
||||
|
||||
<a href="/">
|
||||
<IconList
|
||||
src={imgInstagram}
|
||||
alt="Logo Instagram"
|
||||
imgClassName={styles["redes-sociais__icons__icon"]}
|
||||
/>
|
||||
</a>
|
||||
|
||||
<a href="/">
|
||||
<IconList
|
||||
src={imgTwitter}
|
||||
alt="Logo Twitter"
|
||||
imgClassName={styles["redes-sociais__icons__icon"]}
|
||||
/>
|
||||
</a>
|
||||
|
||||
<a href="/">
|
||||
<IconList
|
||||
src={imgYouTube}
|
||||
alt="Logo YouTube"
|
||||
imgClassName={styles["redes-sociais__icons__icon"]}
|
||||
/>
|
||||
</a>
|
||||
|
||||
<a href="/">
|
||||
<IconList
|
||||
src={imgLinkdin}
|
||||
alt="Logo Linkdin"
|
||||
imgClassName={styles["redes-sociais__icons__icon"]}
|
||||
/>
|
||||
</a>
|
||||
</ul>
|
||||
|
||||
<a href="/" className={styles["redes-sociais__link"]}>www.loremipsum.com</a>
|
||||
</div>
|
||||
);
|
||||
}
|
||||
|
||||
export { RedesSociais };
|
11
src/components/RedesSociais/assets/facebook-icon.svg
Normal 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_6453_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_6453_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 |
13
src/components/RedesSociais/assets/instagram-icon.svg
Normal 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_6453_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_6453_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 |
13
src/components/RedesSociais/assets/linkedin-icon.svg
Normal 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_6453_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_6453_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 |
4
src/components/RedesSociais/assets/twitter-icon.svg
Normal 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 |
4
src/components/RedesSociais/assets/youtube-icon.svg
Normal 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 |
@ -0,0 +1,70 @@
|
||||
@use '../../variables';
|
||||
|
||||
.buttons {
|
||||
display: flex;
|
||||
flex-direction: column ;
|
||||
position: fixed;
|
||||
right: 16px;
|
||||
bottom: 190px;
|
||||
|
||||
@media (min-width: 2500px) {
|
||||
bottom: 229px;
|
||||
}
|
||||
|
||||
@media (max-width: 1024px) {
|
||||
bottom: 51px;
|
||||
}
|
||||
|
||||
@media (max-width: 375px) {
|
||||
bottom: 29px;
|
||||
}
|
||||
|
||||
&__whatsaspp {
|
||||
margin-bottom: 5px;
|
||||
|
||||
@media (min-width: 2500px) {
|
||||
width: 66px;
|
||||
}
|
||||
|
||||
&:hover {
|
||||
filter: brightness(90%) ;
|
||||
}
|
||||
|
||||
&:active {
|
||||
filter: brightness(100%);
|
||||
}
|
||||
}
|
||||
|
||||
&__scrolltop {
|
||||
&__circle {
|
||||
width: 34px;
|
||||
height: 34px;
|
||||
background-color: variables.$gray-400;
|
||||
border: none;
|
||||
border-radius: 50%;
|
||||
position: relative;
|
||||
|
||||
@media (min-width: 2500px) {
|
||||
width: 66px;
|
||||
height: 66px;
|
||||
}
|
||||
|
||||
&:hover {
|
||||
filter: brightness(90%) ;
|
||||
}
|
||||
}
|
||||
|
||||
&__arrow {
|
||||
position: absolute;
|
||||
top: 13px;
|
||||
right: 11px;
|
||||
|
||||
@media (min-width: 2500px) {
|
||||
width: 24px;
|
||||
height: 13px;
|
||||
top: 25px;
|
||||
right: 21px;
|
||||
}
|
||||
}
|
||||
}
|
||||
}
|
31
src/components/WhatsAppAndScrollTop/WhatsAppAndScrollTop.tsx
Normal file
@ -0,0 +1,31 @@
|
||||
import React from "react";
|
||||
|
||||
import imgWhatsApp from "./assets/whatsapp.svg";
|
||||
import imgArrow from "./assets/arrow.svg";
|
||||
|
||||
import styles from "./WhatsAppAndScrollTop.module.scss";
|
||||
|
||||
const WhatsAppAndScrollTop = () => {
|
||||
|
||||
const scrollTop = () => {
|
||||
window.scrollTo({
|
||||
top: 0,
|
||||
behavior: "smooth",
|
||||
});
|
||||
};
|
||||
|
||||
return (
|
||||
<div className={styles["buttons"]}>
|
||||
<a href="https://api.whatsapp.com/send?phone=5524000000000&text=Ol%C3%A1%2C%20gostaria%20de%20entrar%20em%20contato?"
|
||||
target="_blank">
|
||||
<img src={imgWhatsApp} alt="Logo WhatApp" className={styles["buttons__whatsaspp"]}/>
|
||||
</a>
|
||||
|
||||
<button className={styles["buttons__scrolltop__circle"]} type="button" onClick={scrollTop}>
|
||||
<img src={imgArrow} alt="Imagem Seta Para Cima" className={styles["buttons__scrolltop__arrow"]}/>
|
||||
</button>
|
||||
</div>
|
||||
);
|
||||
}
|
||||
|
||||
export{ WhatsAppAndScrollTop };
|
3
src/components/WhatsAppAndScrollTop/assets/arrow.svg
Normal file
@ -0,0 +1,3 @@
|
||||
<svg width="13" height="7" viewBox="0 0 13 7" fill="none" xmlns="http://www.w3.org/2000/svg">
|
||||
<path d="M12.6 6.13647C12.5989 6.24898 12.5519 6.36118 12.4588 6.44888L12.4587 6.44902C12.2574 6.63896 11.9216 6.63894 11.7204 6.44903L11.7204 6.44902L6.7744 1.78259L6.4999 1.5236L6.2254 1.78259L1.27968 6.44882C1.27966 6.44884 1.27964 6.44886 1.27962 6.44888C1.07811 6.63886 0.742449 6.63877 0.541181 6.44888L0.541122 6.44882C0.448342 6.36133 0.401297 6.24944 0.400026 6.13719C0.401078 6.02468 0.448119 5.91242 0.541189 5.82462L0.541192 5.82461L6.13082 0.550956C6.13085 0.550933 6.13087 0.55091 6.13089 0.550887C6.22923 0.458193 6.36162 0.408533 6.49988 0.408533C6.63821 0.408533 6.77079 0.458327 6.86907 0.55102C6.86908 0.551029 6.86909 0.551037 6.8691 0.551047L12.4587 5.82475L12.4588 5.82482C12.5516 5.9124 12.5987 6.02428 12.6 6.13647Z" fill="white" stroke="white" stroke-width="0.8"/>
|
||||
</svg>
|
After Width: | Height: | Size: 891 B |
11
src/components/WhatsAppAndScrollTop/assets/whatsapp.svg
Normal file
@ -0,0 +1,11 @@
|
||||
<svg width="34" height="34" viewBox="0 0 34 34" fill="none" xmlns="http://www.w3.org/2000/svg">
|
||||
<g clip-path="url(#clip0_4095_717)">
|
||||
<path d="M17.0042 0H16.9958C7.62238 0 0 7.6245 0 17C0 20.7188 1.1985 24.1655 3.23638 26.9641L1.11775 33.2796L7.65213 31.1908C10.3403 32.9715 13.5469 34 17.0042 34C26.3776 34 34 26.3734 34 17C34 7.62663 26.3776 0 17.0042 0Z" fill="#4CAF50"/>
|
||||
<path d="M26.8961 24.0061C26.4859 25.1643 24.8582 26.1248 23.5598 26.4053C22.6716 26.5944 21.5113 26.7453 17.6055 25.126C12.6097 23.0563 9.39243 17.9796 9.14168 17.6503C8.90155 17.3209 7.12292 14.9621 7.12292 12.5226C7.12292 10.0831 8.3618 8.89527 8.86118 8.38527C9.2713 7.96664 9.94917 7.77539 10.5994 7.77539C10.8098 7.77539 10.9989 7.78602 11.1689 7.79452C11.6683 7.81577 11.9191 7.84552 12.2484 8.63389C12.6586 9.62202 13.6573 12.0615 13.7763 12.3123C13.8974 12.563 14.0186 12.903 13.8486 13.2324C13.6892 13.5724 13.5489 13.7233 13.2982 14.0123C13.0474 14.3013 12.8094 14.5223 12.5587 14.8325C12.3292 15.1024 12.0699 15.3914 12.3589 15.8908C12.6479 16.3795 13.6467 18.0094 15.1172 19.3184C17.0148 21.0078 18.5533 21.5475 19.1037 21.777C19.5138 21.947 20.0026 21.9066 20.3022 21.5879C20.6826 21.1778 21.1522 20.4978 21.6303 19.8284C21.9703 19.3481 22.3996 19.2886 22.8501 19.4586C23.3091 19.618 25.7379 20.8186 26.2373 21.0673C26.7367 21.318 27.0661 21.437 27.1872 21.6474C27.3062 21.8578 27.3062 22.8459 26.8961 24.0061Z" fill="white"/>
|
||||
</g>
|
||||
<defs>
|
||||
<clipPath id="clip0_4095_717">
|
||||
<rect width="34" height="34" fill="white"/>
|
||||
</clipPath>
|
||||
</defs>
|
||||
</svg>
|
After Width: | Height: | Size: 1.5 KiB |
@ -15,6 +15,10 @@ body,
|
||||
height: 100%;
|
||||
}
|
||||
|
||||
body {
|
||||
position: relative;
|
||||
}
|
||||
|
||||
*:focus {
|
||||
outline: 0;
|
||||
}
|
||||
|
@ -1,22 +1,31 @@
|
||||
import React from 'react';
|
||||
import React from "react";
|
||||
|
||||
import styles from "./Home.module.scss";
|
||||
|
||||
import { HeaderTop } from '../components/HeaderTop/HeaderTop';
|
||||
import { HeaderBottom } from '../components/HeaderBottom/HeaderBottom';
|
||||
import { HeaderTop } from "../components/HeaderTop/HeaderTop";
|
||||
import { HeaderBottom } from "../components/HeaderBottom/HeaderBottom";
|
||||
import { Newsletter } from "../components/Newsletter/Newsletter";
|
||||
import { FooterBottom } from "../components/FooterBottom/FooterBottom";
|
||||
import { FooterTop } from "../components/FooterTop/FooterTop";
|
||||
import { WhatsAppAndScrollTop } from "../components/WhatsAppAndScrollTop/WhatsAppAndScrollTop";
|
||||
|
||||
const Home = () => {
|
||||
|
||||
return (
|
||||
<>
|
||||
<header className={styles["header"]}>
|
||||
<HeaderTop />
|
||||
<HeaderBottom />
|
||||
</header>
|
||||
<header className={styles["header"]}>
|
||||
<HeaderTop />
|
||||
<HeaderBottom />
|
||||
</header>
|
||||
|
||||
<main></main>
|
||||
<main></main>
|
||||
|
||||
<footer></footer>
|
||||
<footer>
|
||||
<Newsletter />
|
||||
<FooterTop />
|
||||
<FooterBottom />
|
||||
<WhatsAppAndScrollTop />
|
||||
</footer>
|
||||
</>
|
||||
);
|
||||
}
|
||||
|