diff --git a/.vscode/settings.json b/.vscode/settings.json index 04540ca..bac992e 100644 --- a/.vscode/settings.json +++ b/.vscode/settings.json @@ -164,5 +164,14 @@ } } } - ] + ], + "files.exclude": { + "**/.git": true, + "**/.svn": true, + "**/.hg": true, + "**/CVS": true, + "**/.DS_Store": true, + "**/Thumbs.db": false + }, + "explorerExclude.backup": {} } diff --git a/react/components/PaymentPix/PaymentPix.tsx b/react/components/PaymentPix/PaymentPix.tsx index 60bf463..fe6c855 100644 --- a/react/components/PaymentPix/PaymentPix.tsx +++ b/react/components/PaymentPix/PaymentPix.tsx @@ -1,21 +1,30 @@ import React from "react"; import { useProduct } from "vtex.product-context"; +import styles from "./styles.css"; + const PaymentPix = () => { const product = useProduct(); const pricePix = ( (product?.product?.priceRange.sellingPrice.highPrice || 0.0) * 0.9 ).toFixed(2); - { - /*const imagePix =*/ - } + + const imagePix = + "https://agenciamagma.vtexassets.com/arquivos/imgPix-savio-carvalho.png"; const convertPrice = pricePix.toString().replace(".", ","); return ( -
R$ {convertPrice}
-10% de desconto
+R$ {convertPrice}
+10% de desconto
+