From fa79557cb46ece4ea0522e4639f181ed60d2d114 Mon Sep 17 00:00:00 2001 From: Rafael Sampaio Date: Mon, 12 Dec 2022 06:38:50 -0300 Subject: [PATCH] feat: adiciona link dos produtos nos botoes da prateleira --- checkout/src/arquivos/js/components/Footer.js | 3 ++- checkout/src/arquivos/sass/partials/_footer.scss | 7 ++++++- 2 files changed, 8 insertions(+), 2 deletions(-) diff --git a/checkout/src/arquivos/js/components/Footer.js b/checkout/src/arquivos/js/components/Footer.js index 62d77d4..7e0bba8 100644 --- a/checkout/src/arquivos/js/components/Footer.js +++ b/checkout/src/arquivos/js/components/Footer.js @@ -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 { `; diff --git a/checkout/src/arquivos/sass/partials/_footer.scss b/checkout/src/arquivos/sass/partials/_footer.scss index b88b008..736cfed 100644 --- a/checkout/src/arquivos/sass/partials/_footer.scss +++ b/checkout/src/arquivos/sass/partials/_footer.scss @@ -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; + } } } -- 2.34.1