feat: Cria a area de informações do footer

This commit is contained in:
Saulo Klein Nery 2022-12-08 17:21:19 -03:00
parent 8d2fa91700
commit 4dddf58003
5 changed files with 153 additions and 68 deletions

View File

@ -61,3 +61,98 @@
}
}
}
.footer-infos {
&__labels {
display: flex;
align-items: center;
justify-content: center;
@include mq(md, max) {
flex-direction: column;
}
@include mq(md, min) {
border-bottom: 1px solid $gray-100;
padding: 16px 0;
}
}
&__security,
&__payment {
align-items: center;
display: grid;
grid-auto-flow: column;
grid-auto-columns: max-content;
margin: 0;
@include mq(md, max) {
padding: 24px 0;
}
}
&__payment {
gap: 8px;
@include mq(md, max) {
border-bottom: 1px solid $gray-100;
}
}
&__security {
gap: 16px;
}
&__divider {
width: 1px;
height: 51px;
margin: 0 24px;
background-color: $gray-100;
@include mq(md, max) {
display: none;
}
}
&__company {
display: flex;
align-items: center;
justify-content: center;
@include mq(md, min) {
padding: 12px 0;
}
@include mq(md, max) {
flex-direction: column;
padding-bottom: 24px;
}
}
&__copyright {
margin: 0 16px 0 0;
font-size: 10px;
line-height: 12px;
color: $gray-200;
@include mq(md, max) {
text-align: center;
margin-right: 0;
}
}
&__development {
display: grid;
grid-auto-flow: column;
grid-auto-columns: max-content;
gap: 16px;
align-items: center;
}
&__developed-by {
margin-right: 7px;
font-size: 10px;
line-height: 12px;
color: $gray-200;
}
}

View File

@ -395,12 +395,6 @@ body {
font-size: 12px;
}
body {
@include mq(md, max) {
padding-bottom: 67px;
}
}
html {
font-family: $font-family;
line-height: $font-height;

Binary file not shown.

After

Width:  |  Height:  |  Size: 2.3 KiB

Binary file not shown.

After

Width:  |  Height:  |  Size: 3.2 KiB

View File

@ -1,66 +1,62 @@
<section class="footer">
<div class="selos">
<div class="container-fluid">
<div class="row">
<div class="col-12">
<ul class="pagamento">
<li><i class="sprite sprite-master"></i></li>
<li><i class="sprite sprite-visa"></i></li>
<li><i class="sprite sprite-diners"></i></li>
<li><i class="sprite sprite-elo"></i></li>
<li><i class="sprite sprite-hiper"></i></li>
<li><i class="sprite sprite-pagseguro"></i></li>
<li><i class="sprite sprite-boleto"></i></li>
</ul>
<ul class="certificados">
<li><i class="sprite sprite-vtex-pci"></i></li>
<li><i class="sprite sprite-google-safe-browser"></i></li>
</ul>
</div>
</div>
</div>
<section class="footer-infos">
<div class="footer-infos__labels">
<ul class="footer-infos__payment">
<li>
<i class="sprite sprite-master"></i>
</li>
<li>
<i class="sprite sprite-visa"></i>
</li>
<li>
<i class="sprite sprite-diners"></i>
</li>
<li>
<i class="sprite sprite-elo"></i>
</li>
<li>
<i class="sprite sprite-hiper"></i>
</li>
<li>
<i class="sprite sprite-pagseguro"></i>
</li>
<li>
<i class="sprite sprite-boleto"></i>
</li>
</ul>
<div class="footer-infos__divider"></div>
<ul class="footer-infos__security">
<li>
<i class="sprite sprite-vtex-pci"></i>
</li>
<li>
<i class="sprite sprite-google-safe-browser"></i>
</li>
</ul>
</div>
<div class="container-fluid razao">
<div class="row">
<div class="col-12 col-md-6 cnpj">
<p>
Copyright &#9400; 2019 - Loja Sweeter Comércio Eletrônico |
<span>CNPJ: 000.000.000/0001-00</span>
</p>
<p>
Rua 7 de Setembro, 3795 Centro - São Paulo/SP
</p>
</div>
<div class="col-12 col-md-6 desenvolvimento">
<a href="#" target="_blank">
<i class="sprite sprite-vtex"></i>
</a>
<a href="https://digitalm3.com.br/" target="_blank">
<span>Developed by </span>
<i class="sprite sprite-m3"></i>
</a>
</div>
<div class="footer-infos__company">
<p class="footer-infos__copyright">
COPYRIGHT © 2020 - LOJA COMÉRCIO ELETRÔNICO | CNPJ: 000.000.000/0001-00
</p>
<div class="footer_infos__development">
<a href="https://vtex.com/" target="_blank" title="VTEX">
<i class="sprite sprite-vtex-icon"></i>
</a>
<a href="https://m3ecommerce.com/" target="_blank" title="M3">
<span class="footer-infos__developed-by">Developed by</span>
<i class="sprite sprite-m3-icon"></i>
</a>
</div>
</div>
</section>
<div class="scroll-to-top">
<i class="sprite sprite-top"></i>
</div>
<div class="mobile-bottom-options">
<ul>
<li class="show-menu">
<button class="option" aria-label="Abir menu"></button>
</li>
<li class="show-search">
<button class="option" aria-label="Abrir busca"></button>
</li>
<li class="show-carrinho">
<div class="AmountItemsInCart">
<i class="sprite sprite-shopping-bag"></i>
<vtex.cmc:AmountItemsInCart />
</div>
</li>
</ul>
</div>