feature/footer #3
@ -2,6 +2,7 @@ import { Newsletter } from "./Newsletter";
|
||||
import { SitemapAccordion } from "./SitemapAccordion";
|
||||
import { Sitemap } from "./Sitemap";
|
||||
import { SocialMedias } from "./SocialMedias";
|
||||
import { FooterBottom } from "./FooterBottom";
|
||||
|
||||
import footer from "./assets/modules/Footer.module.scss";
|
||||
|
||||
@ -15,6 +16,8 @@ const Footer = () => {
|
||||
<SitemapAccordion />
|
||||
<SocialMedias />
|
||||
</div>
|
||||
|
||||
<FooterBottom />
|
||||
</footer>
|
||||
);
|
||||
};
|
||||
|
45
react-project/src/components/Footer/FooterBottom.tsx
Normal file
@ -0,0 +1,45 @@
|
||||
import footer from "./assets/modules/FooterBottom.module.scss";
|
||||
|
||||
import { Payments } from "./Payments";
|
||||
|
||||
import master from "./assets/svgs/master.svg";
|
||||
import visa from "./assets/svgs/visa.svg";
|
||||
import diners from "./assets/svgs/diners.svg";
|
||||
import elo from "./assets/svgs/elo.svg";
|
||||
import hiper from "./assets/svgs/hiper.svg";
|
||||
import paypal from "./assets/svgs/paypal.svg";
|
||||
import boleto from "./assets/svgs/boleto.svg";
|
||||
import divisor from "./assets/svgs/divisor.svg";
|
||||
import vtexPci from "./assets/svgs/vtex-pci.svg";
|
||||
|
||||
const FooterBottom = () => {
|
||||
return (
|
||||
<div className={footer["footer"]}>
|
||||
<p>
|
||||
Lorem ipsum dolor sit amet, consectetur adipiscing elit, sed do eiusmod
|
||||
tempor
|
||||
</p>
|
||||
<div className={footer["footer__icons"]}>
|
||||
<ul>
|
||||
<Payments icon={master} alt="Cartão MasterCard" />
|
||||
<Payments icon={visa} alt="Cartão Visa" />
|
||||
<Payments icon={diners} alt="Cartão Diners" />
|
||||
<Payments icon={elo} alt="Cartão Elo" />
|
||||
<Payments icon={hiper} alt="Cartão HiperCard" />
|
||||
<Payments icon={paypal} alt="Cartão Paypal" />
|
||||
<Payments icon={boleto} alt="Boleto" />
|
||||
</ul>
|
||||
<figure>
|
||||
<img src={divisor} alt="Divisor de icones" />
|
||||
</figure>
|
||||
<figure>
|
||||
<img src={vtexPci} alt="Vtex PCI" />
|
||||
</figure>
|
||||
</div>
|
||||
|
||||
<div>b</div>
|
||||
</div>
|
||||
);
|
||||
};
|
||||
|
||||
export { FooterBottom };
|
18
react-project/src/components/Footer/Payments.tsx
Normal file
@ -0,0 +1,18 @@
|
||||
interface IPayments {
|
||||
icon: string;
|
||||
alt: string;
|
||||
}
|
||||
|
||||
const Payments = (props: IPayments) => {
|
||||
const { icon, alt } = props;
|
||||
|
||||
return (
|
||||
<li>
|
||||
<figure>
|
||||
<img src={icon} alt={alt} />
|
||||
</figure>
|
||||
</li>
|
||||
);
|
||||
};
|
||||
|
||||
export { Payments };
|
@ -0,0 +1,40 @@
|
||||
.footer {
|
||||
display: flex;
|
||||
justify-content: space-between;
|
||||
align-items: center;
|
||||
background-color: var(--black);
|
||||
padding: 15px 100px;
|
||||
|
||||
p {
|
||||
width: 234px;
|
||||
font-weight: 400;
|
||||
font-size: 10px;
|
||||
line-height: 12px;
|
||||
color: var(--white);
|
||||
}
|
||||
|
||||
&__icons {
|
||||
display: flex;
|
||||
align-items: center;
|
||||
gap: 12px;
|
||||
|
||||
ul {
|
||||
list-style: none;
|
||||
display: flex;
|
||||
align-items: center;
|
||||
gap: 12px;
|
||||
|
||||
li {
|
||||
display: contents;
|
||||
|
||||
figure {
|
||||
display: contents;
|
||||
}
|
||||
}
|
||||
}
|
||||
|
||||
figure {
|
||||
display: contents;
|
||||
}
|
||||
}
|
||||
}
|
@ -65,6 +65,7 @@
|
||||
|
||||
&:last-child {
|
||||
text-decoration: underline;
|
||||
margin-bottom: 0;
|
||||
}
|
||||
}
|
||||
}
|
||||
|
After Width: | Height: | Size: 18 KiB |
After Width: | Height: | Size: 92 KiB |
@ -0,0 +1,3 @@
|
||||
<svg width="2" height="24" viewBox="0 0 2 24" fill="none" xmlns="http://www.w3.org/2000/svg">
|
||||
<line x1="0.908936" y1="2.18557e-08" x2="0.908934" y2="24" stroke="#C4C4C4"/>
|
||||
</svg>
|
After Width: | Height: | Size: 179 B |
9
react-project/src/components/Footer/assets/svgs/elo.svg
Normal file
After Width: | Height: | Size: 25 KiB |
After Width: | Height: | Size: 24 KiB |
After Width: | Height: | Size: 14 KiB |
After Width: | Height: | Size: 28 KiB |
9
react-project/src/components/Footer/assets/svgs/visa.svg
Normal file
After Width: | Height: | Size: 26 KiB |
@ -0,0 +1,9 @@
|
||||
<svg width="56" height="34" viewBox="0 0 56 34" fill="none" xmlns="http://www.w3.org/2000/svg" xmlns:xlink="http://www.w3.org/1999/xlink">
|
||||
<rect x="0.408936" width="54.6061" height="34" fill="url(#pattern0)"/>
|
||||
<defs>
|
||||
<pattern id="pattern0" patternContentUnits="objectBoundingBox" width="1" height="1">
|
||||
<use xlink:href="#image0_6214_933" transform="translate(0 -0.00590909) scale(0.005 0.0080303)"/>
|
||||
</pattern>
|
||||
<image id="image0_6214_933" width="200" height="126" xlink:href="data:image/png;base64,iVBORw0KGgoAAAANSUhEUgAAAMgAAAB+CAMAAABWFa7EAAACr1BMVEUAAAAiP3MiP3MiP3MiP3MiP3MiP3MiP3MiP3MiP3MiP3MiP3MiP3P///8iP3P2GWMNa3F6jKvi5ezEzNry9Pd9jq34Q4AObHL+4usAYWj9xdhdcpgAY2n2HmYddXr3NXYJaW8FZmwbrz/T2eP4UooOaHEHZ273J2z5b50xTHwLanAAYGb//v7w8/fX5uj2HGU/WYYgQ3MhQXP2I2r/+fv/8fb+2eURYnECZWv2IGinssf5Z5hOZY8eR3P3LHAYrT3+5O390uD9w9agxcd3rLD4TIYTX3IXVnIaUHIPZXH//P3/9vn+7fP+6PD+3+mawcNUlpr5ZJb5YJT5WY4Ub3UUXHIcSnIAV14mskkjsUbz/PP91OL9zd38sMmZpr/7l7l/sbSJmbR8r7L6jLH6ha36fadsf6JHX4sfsEP7/v34+/rx9vfn8PHc6evg9uP9ydrH7NC1v9Cpy82kyMr7krVtpqn6gKn5cJ5keZ2G1ZlQlJ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