feat: adiciona link dos produtos nos botoes da prateleira #4

Merged
Rafael_Sampaio_de_Oliveira merged 1 commits from feature/adiciona-link-botoes-prateleira into development 2022-12-12 09:43:50 +00:00
2 changed files with 8 additions and 2 deletions

View File

@ -47,6 +47,7 @@ export default class Footer {
name: prod.productName,
skus: prod.items.map((item) => item.name),
image: prod.items[0].images[0].imageUrl,
link: prod.link,
}));
return products;
@ -88,7 +89,7 @@ export default class Footer {
</ul>
</div>
<button>
VER PRODUTO
<a href="${item.link}">VER PRODUTO</a>
</button>
</li>
`;

View File

@ -114,11 +114,16 @@
font-style: normal;
font-weight: 700;
font-size: 13px;
color: $color-white;
line-height: 18px;
padding: 0;
background: $color-blue;
border-radius: 8px;
cursor: pointer;
a {
text-decoration: none;
color: $color-white;
}
}
}