feat: made footer top

This commit is contained in:
Gabriel Ferreira Lehmann 2023-01-09 16:03:11 -03:00
parent a778c36979
commit 91a6d4ccd3
8 changed files with 186 additions and 78 deletions

View File

@ -1,38 +1,5 @@
.App {
text-align: center;
}
.App-logo {
height: 40vmin;
pointer-events: none;
}
@media (prefers-reduced-motion: no-preference) {
.App-logo {
animation: App-logo-spin infinite 20s linear;
}
}
.App-header {
background-color: #282c34;
min-height: 100vh;
display: flex;
flex-direction: column;
align-items: center;
justify-content: center;
font-size: calc(10px + 2vmin);
color: white;
}
.App-link {
color: #61dafb;
}
@keyframes App-logo-spin {
from {
transform: rotate(0deg);
}
to {
transform: rotate(360deg);
}
* {
margin: 0;
padding: 0;
box-sizing: border-box;
}

View File

@ -0,0 +1,11 @@
<svg width="70" height="70" viewBox="0 0 70 70" fill="none" xmlns="http://www.w3.org/2000/svg">
<g clip-path="url(#clip0_5136_57)">
<path d="M38.3559 54.982V37.0878H44.347L45.2458 30.112H38.3559V25.659C38.3559 23.64 38.913 22.264 41.8054 22.264L45.4883 22.2625V16.0231C44.8514 15.9402 42.6651 15.75 40.1205 15.75C34.8069 15.75 31.1692 19.0003 31.1692 24.9681V30.112H25.1599V37.0878H31.1692V54.982H38.3559Z" fill="#303030"/>
</g>
<circle cx="35" cy="35" r="34" stroke="#303030" stroke-width="2"/>
<defs>
<clipPath id="clip0_5136_57">
<rect width="39.148" height="39.232" fill="white" transform="translate(15.75 15.75)"/>
</clipPath>
</defs>
</svg>

After

Width:  |  Height:  |  Size: 647 B

View File

@ -0,0 +1,13 @@
<svg width="70" height="70" viewBox="0 0 70 70" fill="none" xmlns="http://www.w3.org/2000/svg">
<g clip-path="url(#clip0_5136_62)">
<path d="M44.1992 15.75H26.5932C20.6143 15.75 15.75 20.6069 15.75 26.5766V44.1552C15.75 50.1251 20.6143 54.9818 26.5932 54.9818H44.1992C50.1786 54.9818 55.0429 50.1249 55.0429 44.1552V26.5766C55.0431 20.6069 50.1786 15.75 44.1992 15.75ZM51.5568 44.1552C51.5568 48.2058 48.2563 51.501 44.1994 51.501H26.5932C22.5366 51.5012 19.2363 48.2058 19.2363 44.1552V26.5766C19.2363 22.5263 22.5366 19.2308 26.5932 19.2308H44.1992C48.2561 19.2308 51.5566 22.5263 51.5566 26.5766V44.1552H51.5568Z" fill="#303030"/>
<path d="M35.3965 25.2573C29.8136 25.2573 25.2717 29.7922 25.2717 35.3664C25.2717 40.9403 29.8136 45.4749 35.3965 45.4749C40.9794 45.4749 45.5213 40.9403 45.5213 35.3664C45.5213 29.7922 40.9794 25.2573 35.3965 25.2573ZM35.3965 41.9939C31.7362 41.9939 28.758 39.0208 28.758 35.3661C28.758 31.7113 31.7359 28.7379 35.3965 28.7379C39.0571 28.7379 42.035 31.7113 42.035 35.3661C42.035 39.0208 39.0568 41.9939 35.3965 41.9939Z" fill="#303030"/>
<path d="M45.946 22.3059C45.2743 22.3059 44.6145 22.5774 44.1401 23.0531C43.6634 23.5265 43.3894 24.1856 43.3894 24.8585C43.3894 25.5294 43.6637 26.1882 44.1401 26.6639C44.6142 27.1373 45.2743 27.4111 45.946 27.4111C46.62 27.4111 47.2777 27.1373 47.7542 26.6639C48.2306 26.1882 48.5026 25.5292 48.5026 24.8585C48.5026 24.1856 48.2306 23.5265 47.7542 23.0531C47.2801 22.5774 46.62 22.3059 45.946 22.3059Z" fill="#303030"/>
</g>
<circle cx="35" cy="35" r="34" stroke="#303030" stroke-width="2"/>
<defs>
<clipPath id="clip0_5136_62">
<rect width="39.2931" height="39.232" fill="white" transform="translate(15.75 15.75)"/>
</clipPath>
</defs>
</svg>

After

Width:  |  Height:  |  Size: 1.7 KiB

View File

@ -0,0 +1,13 @@
<svg width="70" height="70" viewBox="0 0 70 70" fill="none" xmlns="http://www.w3.org/2000/svg">
<circle cx="35" cy="35" r="34" stroke="#303030" stroke-width="2"/>
<g clip-path="url(#clip0_5136_77)">
<path d="M26.8891 27.718H20.5959C20.3166 27.718 20.0903 27.9444 20.0903 28.2236V48.4407C20.0903 48.72 20.3166 48.9464 20.5959 48.9464H26.8891C27.1684 48.9464 27.3947 48.72 27.3947 48.4407V28.2236C27.3947 27.9444 27.1684 27.718 26.8891 27.718Z" fill="#303030"/>
<path d="M23.745 17.6675C21.4552 17.6675 19.5923 19.5283 19.5923 21.8156C19.5923 24.1039 21.4552 25.9655 23.745 25.9655C26.0329 25.9655 27.8943 24.1038 27.8943 21.8156C27.8944 19.5283 26.0329 17.6675 23.745 17.6675Z" fill="#303030"/>
<path d="M42.8963 27.2153C40.3688 27.2153 38.5004 28.3019 37.3671 29.5365V28.2234C37.3671 27.9442 37.1408 27.7178 36.8615 27.7178H30.8347C30.5554 27.7178 30.3291 27.9442 30.3291 28.2234V48.4406C30.3291 48.7199 30.5554 48.9462 30.8347 48.9462H37.1141C37.3934 48.9462 37.6197 48.7199 37.6197 48.4406V38.4378C37.6197 35.0671 38.5353 33.7539 40.8849 33.7539C43.4439 33.7539 43.6473 35.859 43.6473 38.6112V48.4407C43.6473 48.72 43.8736 48.9463 44.1529 48.9463H50.4346C50.7139 48.9463 50.9402 48.72 50.9402 48.4407V37.3512C50.9402 32.3391 49.9845 27.2153 42.8963 27.2153Z" fill="#303030"/>
</g>
<defs>
<clipPath id="clip0_5136_77">
<rect width="31.3478" height="31.3478" fill="white" transform="translate(19.5923 17.6331)"/>
</clipPath>
</defs>
</svg>

After

Width:  |  Height:  |  Size: 1.4 KiB

View File

@ -0,0 +1,4 @@
<svg width="70" height="70" viewBox="0 0 70 70" fill="none" xmlns="http://www.w3.org/2000/svg">
<circle cx="35" cy="35" r="34" stroke="#303030" stroke-width="2"/>
<path d="M59.9828 20.3127C58.1893 21.0994 56.2783 21.6209 54.2859 21.8741C56.3356 20.6503 57.9 18.7272 58.6354 16.4093C56.7244 17.5487 54.6145 18.3535 52.3659 18.8026C50.5513 16.8705 47.9651 15.6738 45.1438 15.6738C39.67 15.6738 35.2632 20.1168 35.2632 25.5635C35.2632 26.3472 35.3295 27.1007 35.4923 27.8181C27.2725 27.4172 19.9992 23.4776 15.1132 17.4763C14.2602 18.9563 13.7598 20.6503 13.7598 22.4739C13.7598 25.898 15.5231 28.9334 18.1515 30.6906C16.563 30.6605 15.0047 30.1993 13.6845 29.4729C13.6845 29.503 13.6845 29.5422 13.6845 29.5814C13.6845 34.3861 17.1116 38.3769 21.6058 39.2962C20.801 39.5163 19.9239 39.6218 19.0136 39.6218C18.3806 39.6218 17.7416 39.5856 17.1418 39.453C18.4228 43.3684 22.058 46.247 26.3803 46.3404C23.0165 48.9718 18.7453 50.5573 14.1215 50.5573C13.3107 50.5573 12.533 50.5212 11.7554 50.4217C16.135 53.246 21.3255 54.8586 26.9229 54.8586C45.1167 54.8586 55.0636 39.7875 55.0636 26.7239C55.0636 26.2869 55.0485 25.8649 55.0274 25.4459C56.9897 24.0533 58.6385 22.3141 59.9828 20.3127Z" fill="#303030"/>
</svg>

After

Width:  |  Height:  |  Size: 1.2 KiB

View File

@ -0,0 +1,4 @@
<svg width="70" height="70" viewBox="0 0 70 70" fill="none" xmlns="http://www.w3.org/2000/svg">
<circle cx="35" cy="35" r="34" stroke="#303030" stroke-width="2"/>
<path d="M55.6053 24.4975C55.0893 22.5794 53.5771 21.0674 51.6593 20.5509C48.1557 19.5923 34.1411 19.5923 34.1411 19.5923C34.1411 19.5923 20.127 19.5923 16.6234 20.5146C14.7425 21.0305 13.1933 22.5797 12.6774 24.4975C11.7554 28.0008 11.7554 35.2662 11.7554 35.2662C11.7554 35.2662 11.7554 42.5682 12.6774 46.0349C13.1939 47.9527 14.7056 49.4647 16.6237 49.9812C20.1639 50.9401 34.1416 50.9401 34.1416 50.9401C34.1416 50.9401 48.1557 50.9401 51.6593 50.0178C53.5773 49.5016 55.0893 47.9896 55.6058 46.0718C56.5276 42.5682 56.5276 35.3031 56.5276 35.3031C56.5276 35.3031 56.5644 28.0008 55.6053 24.4975ZM29.6791 41.9782V28.5542L41.333 35.2662L29.6791 41.9782Z" fill="#303030"/>
</svg>

After

Width:  |  Height:  |  Size: 846 B

View File

@ -9,34 +9,78 @@ import boletoImg from "../../assets/img/boletoM3Academy.png";
import vtexPCI from "../../assets/img/vtexPCIM3Academy.png";
import vtexSvg from "../../assets/svg/Vtexwhitelogo.svg";
import M3Svg from "../../assets/svg/M3whitelogo.svg";
import facebookSvg from "../../assets/svg/Facebooklogo.svg";
import instagramSvg from "../../assets/svg/Instagramlogo.svg";
import twitterSvg from "../../assets/svg/Twitterlogo.svg";
import youtubeSvg from "../../assets/svg/Youtubelogo.svg";
import linkedinSvg from "../../assets/svg/Linkedinlogo.svg";
export default function Footer() {
return (
<footer className={styles.footer}>
<p>
Lorem ipsum dolor sit amet, consectetur adipiscing elit, sed do eiusmod
tempor
</p>
<div className={styles.pagamentos}>
<div className={styles.bandeiras}>
<img src={masterCardImg} alt="Bandeira MasterCard" />
<img src={visaImg} alt="Bandeira Visa" />
<img src={amexImg} alt="Bandeira AmericanExpress" />
<img src={eloImg} alt="Bandeira Elo" />
<img src={hiperCardImg} alt="Bandeira HiperCard" />
<img src={payPalImg} alt="Bandeira PayPal" />
<img src={boletoImg} alt="Bandeira Boleto" />
<footer>
<div className={styles.footer_top}>
<div className={styles.menu_list}>
<div>
<h2>INSTITUCIONAL</h2>
<a>Quem Somos</a>
<a>Política de Privacidade</a>
<a>Segurança</a>
<a>Seja um Revendedor</a>
</div>
<div>
<h2>DÚVIDAS</h2>
<a>Entrega</a>
<a>Pagamento</a>
<a>Troca e Devoluções</a>
<a>Dúvidas Frequentes</a>
</div>
<div>
<h2>FALE CONOSCO</h2>
<a>Atendimento Ao Consumidor</a>
<a>(11) 4159 9504</a>
<a>Atendimento Online</a>
<a>(11) 99433-8825</a>
</div>
</div>
<span className={styles.traço}></span>
<div className={styles.certificado}>
<img src={vtexPCI} alt="Certificado Vtex" />
<div className={styles.redes_sociais}>
<div className={styles.redes_sociais_svg}>
<img src={facebookSvg} alt="logo do facebook" />
<img src={instagramSvg} alt="logo do instagram" />
<img src={twitterSvg} alt="logo do twitter" />
<img src={youtubeSvg} alt="logo do youtube" />
<img src={linkedinSvg} alt="logo do linkedin" />
</div>
<div>
<p>www.loremipsum.com</p>
</div>
</div>
</div>
<div className={styles.logos}>
<p>Powered By</p>
<img src={vtexSvg} alt="vtex logo" />
<p>Developed By</p>
<img src={M3Svg} alt="M3 logo" />
<div className={styles.footer_bottom}>
<p>
Lorem Ipsum Dolor Sit Amet, Consectetur Adipiscing <br /> Elit, Sed Do
Eiusmod Tempor
</p>
<div className={styles.pagamentos}>
<div className={styles.bandeiras}>
<img src={masterCardImg} alt="Bandeira MasterCard" />
<img src={visaImg} alt="Bandeira Visa" />
<img src={amexImg} alt="Bandeira AmericanExpress" />
<img src={eloImg} alt="Bandeira Elo" />
<img src={hiperCardImg} alt="Bandeira HiperCard" />
<img src={payPalImg} alt="Bandeira PayPal" />
<img src={boletoImg} alt="Bandeira Boleto" />
</div>
<span className={styles.traço}></span>
<div className={styles.certificado}>
<img src={vtexPCI} alt="Certificado Vtex" />
</div>
</div>
<div className={styles.logos}>
<p>Powered By</p>
<img src={vtexSvg} alt="vtex logo" />
<p>Developed By</p>
<img src={M3Svg} alt="M3 logo" />
</div>
</div>
</footer>
);

View File

@ -1,36 +1,88 @@
.footer {
.footer_top {
display: flex;
justify-content: space-between;
padding: 50px 7.81vw;
gap: 12.34vw;
.menu_list {
display: flex;
gap: 121px;
h2 {
font-weight: 500;
font-weight: bold;
font-size: 14px;
line-height: 16px;
display: flex;
justify-content: flex-start;
}
a {
font-size: 12px;
white-space: nowrap;
display: flex;
justify-content: flex-start;
}
> div {
display: flex;
flex-direction: column;
gap: 12px;
}
}
.redes_sociais {
display: flex;
flex-direction: column;
align-items: flex-start;
gap: 12px;
p {
font-weight: 400;
font-size: 14px;
line-height: 16px;
}
}
.redes_sociais_svg {
display: flex;
gap: 0.78vw;
img {
width: 2.73vw;
}
}
}
.footer_bottom {
justify-content: space-between;
background-color: #000000;
display: flex;
align-items: center;
gap: 12px;
min-height: 64px;
padding: 0 100px;
padding: 0 7.81%;
p {
white-space: nowrap;
color: #ffffff;
font-weight: 400;
font-size: 10px;
line-height: 12px;
width: 234px;
height: 24px;
font-size: 0.78vw;
line-height: 0.93vw;
width: 18.28vw;
text-align: left;
}
.pagamentos {
display: flex;
align-items: center;
gap: 12px;
gap: 0.93vw;
.bandeiras {
display: flex;
justify-content: center;
align-items: center;
gap: 12px;
margin-left: 110.41px;
gap: 0.93vw;
margin-left: 8.63vw;
img {
width: 36px;
height: 20.2px;
width: 2.81vw;
}
}
@ -44,18 +96,18 @@
justify-content: center;
align-items: center;
img {
width: 54.61px;
height: 34px;
width: 4.27vw;
}
}
}
.logos {
margin-left: 110.41px;
gap: 13px;
margin-left: 8.63vw;
gap: 1.02vw;
display: flex;
p {
white-space: nowrap;
width: unset;
display: flex;
justify-content: flex-end;
@ -64,8 +116,8 @@
}
}
@media screen and (max-width: 1280px) {
.footer {
@media screen and (max-width: 1279px) {
.footer_bottom {
flex-direction: column;
align-items: flex-start;
padding-left: 16px;
@ -86,7 +138,7 @@
}
@media screen and (max-width: 375px) {
.footer {
.footer_bottom {
padding: 0;
.pagamentos {