feat: Adiciona o CSS da prateleira do slick

This commit is contained in:
SamuelCondack 2022-12-15 15:30:10 -03:00
parent 7ca4d0fb5d
commit a5e5625f9f
2 changed files with 62 additions and 2 deletions

View File

@ -98,7 +98,6 @@ export default class Footer {
observer.observe(target, config);
}
fetchApiData() {
console.log("COMEÇO FETCH");
fetch(
"https://m3academy.myvtex.com/api/catalog_system/pub/products/search/?fq=productClusterIds:319"
)

View File

@ -7,9 +7,12 @@ html {
height: 100%;
min-height: 100%;
}
footer{
margin-top: auto;
}
footer .footerCheckout__wrapper {
width: 94.9734%;
width: 100%;
margin: auto auto 0 auto;
}
//footer
@ -18,6 +21,64 @@ footer .footerCheckout__wrapper {
{
width: 79.53125%;
margin: 0 auto;
.itemList{
display: flex !important;
align-items: center;
justify-content: center;
flex-direction: column;
}
.productImg{
background-color: #ededed;
}
.productName{
text-align: center;
padding: 20px 5px 20px 5px;
font-family: 'Open Sans';
font-style: normal;
font-weight: 400;
font-size: 13px;
line-height: 18px;
color: #000000;
}
.itemSku{
display: flex;
flex-direction: row;
align-items: center;
justify-content: center;
gap: 5px;
padding-bottom: 20px;
p{
margin: 0;
padding: 5px;
color: white;
background: #00C8FF;
border-radius: 8px;
margin: 0;
}
}
.productLink{
height: 42px;
width: 242px;
display: flex;
align-items: center;
justify-content: center;
color: white;
background: #00C8FF;
border-radius: 8px;
margin-bottom: 56px;
&:hover{
text-decoration: none;
}
}
.slick-prev{
border: 0;
color: #858585;
top: 30%;
}
.slick-next{
color: #858585;
bottom: 65%;
}
}
body {