Skip to content

Commit

Permalink
Update Layout “code”
Browse files Browse the repository at this point in the history
  • Loading branch information
urbanna committed Feb 18, 2025
1 parent 17229f4 commit 80c2392
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion content/code.json
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
{
"css": ".product__short-stock {\ndisplay: none !important;\n}\n.product__buy button {\nwidth: 100%;\nborder-radius: 5px;\n}\n.product__favorite {\nwidth: 100%;\nborder-radius: 5px;\n}\n#product-actions .btn.share {\ndisplay: none\n}\n.order-info__toggle {\n display: none !important;\n}\n.brands-carousel .glide__track {\n display: flex;\n justify-content: center\n}\n.search-engine__filter--cor {\n display: none !important;\n}\n.search-engine__filter--modelo {\n display: none !important;\n}\n.search-engine__filter--age_group {\n display: none !important;\n}\n.search-engine__filter--gender {\n display: none !important;\n}\n/* Remove botão \"Finalizar Compra\" no Checkout */\n.checkout__btn-top {\ndisplay: none !important;\n}\n// Deixar branco os textos da forma de envio escolhida\n.shipping-calculator__services .active .shipping-calculator__option small, .shipping-calculator__services .active .shipping-calculator__option span, .shipping-calculator__services .active .shipping-calculator__option strong {\n color: #fff;\n}\n// Deixa inputs e botoes search mais elegantes\n.header__search-input{\n width:100%;\n font-size:15px;\n border-radius: 12px;\n box-shadow:none; \n}\n.header__search-btn{\n font-size:17px;\n margin: 0 0 -17px 0 \n}\n.search__input{\n width:100%;\n font-size:15px;\n border-radius: 12px;\n box-shadow:none; \n}\n.search__submit{\n font-size:20px;\n margin: -18px 0 0 0;\n}\n#c-66f21f6e9e4b2e07f51759dc {\n display: none;\n}\n#c-66f220839e4b2e07f5175a57 {\n display: none;\n}\n#c-66f220a79e4b2e07f5175a75 {\n display: none;\n}\n#c-66f220de9e4b2e07f5175a99 {\n display: none;\n}\n#c-66f338ce9e4b2e07f518b6b3 {\n display: none;\n}\n#c-66f3391d9e4b2e07f518b70b {\n display: none;\n}\n#c-66f344799e4b2e07f518c6cc {\n display: none;\n}\n#c-66f21f259e4b2e07f517599c {\n display: none;\n}\n#c-66f21f6e9e4b2e07f51759dc {\n display: none;\n}\n#c-66f9fd309e4b2e07f51e9f2a {\n display: none;\n}\n#c-66f34f5e9e4b2e07f518d7e3 {\n display: none;\n}\n#c-66f34f029e4b2e07f518d78c {\n display: none;\n}\n#c-66f34e2c9e4b2e07f518d62d {\n display: none;\n}\n#c-66f34d3f9e4b2e07f518d4cd {\n display: none;\n}\n#c-66f34b399e4b2e07f518d163 {\n display: none;\n}\n#c-66f34af99e4b2e07f518d10e {\n display: none;\n}\n#c-66f345ca9e4b2e07f518c877 {\n display: none;\n}\n#c-66f2202d9e4b2e07f5175a28 {\n display: none;\n}\n#c-66f220149e4b2e07f5175a1d {\n display: none;\n}\n#c-66f21f959e4b2e07f51759f0 {\n display: none;\n}\n#c-66b93ad186679971c64078ef {\n display: none;\n}\n#c-66f21f259e4b2e07f517599c {\n display: none;\n}\n#c-66f34f319e4b2e07f518d7b5 {\n display: none;\n}\n#c-66f34d7a9e4b2e07f518d52b {\n display: none;\n}\n#c-66f57d2f9e4b2e07f51b20b8 {\n display: none;\n}\n#c-66f57d719e4b2e07f51b20fe {\n display: none;\n}\n#c-66f57db49e4b2e07f51b214c {\n display: none;\n}\n#c-66fc39569e4b2e07f5216353 {\n display: none;\n}",
"html_head": "<!–Script do botão do Whatsapp –>\n <link rel=\"stylesheet\" href=\"https://cdnjs.cloudflare.com/ajax/libs/font-awesome/5.15.3/css/all.min.css\">\n <style>\n * {\n font-family: 'Poppins', sans-serif;\n }\n\n .whatsapp-button {\n position: fixed;\n width: 60px;\n height: 60px;\n bottom: 40px;\n right: 40px;\n background-color: #25d366;\n color: #FFF;\n border-radius: 50px;\n text-align: center;\n font-size: 30px;\n line-height: 60px;\n box-shadow: 1px 1px 2px #888;\n z-index: 1000;\n transition: background-color 0.3s ease;\n }\n\n .whatsapp-button:hover {\n background-color: #128c7e;\n cursor: pointer;\n }\n </style>\n<!-- Seu botão do WhatsApp -->\n<a href=\"https://api.whatsapp.com/send?phone=5522997269952&text=Ol%C3%A1,%20gostaria%20de%20fazer%20uma%20compra...\" class=\"whatsapp-button\" id=\"btnWhatsapp\" target=\"_blank\">\n <i class=\"fab fa-whatsapp\" style=\"line-height: normal;\"></i>\n</a>\n\n<!-- Adicione este script JavaScript em seu site -->\n<script>\n// Função para verificar se a URL da página começa com um determinado prefixo\nfunction urlStartsWith(prefix) {\n return window.location.href.startsWith(prefix);\n}\n\n// Array de prefixos de URL que você deseja verificar\nvar prefixesToHideOn = [\n \"https://urbanna.com.br/app/#/cart\",\n \"https://urbanna.com.br/app/#/checkout\"\n];\n\n// Verificar se a URL da página atual começa com um dos prefixos desejados\nif (prefixesToHideOn.some(urlStartsWith)) {\n // Se a URL corresponder a um dos prefixos, ocultar o botão do WhatsApp\n var whatsappButton = document.getElementById(\"btnWhatsapp\");\n if (whatsappButton) {\n whatsappButton.style.display = \"none\";\n }\n}\n</script>",
"html_head": "<!–Script do botão do Whatsapp –>\n <link rel=\"stylesheet\" href=\"https://cdnjs.cloudflare.com/ajax/libs/font-awesome/5.15.3/css/all.min.css\">\n <style>\n * {\n font-family: 'Poppins', sans-serif;\n }\n\n .whatsapp-button {\n position: fixed;\n width: 60px;\n height: 60px;\n bottom: 40px;\n right: 40px;\n background-color: #25d366;\n color: #FFF;\n border-radius: 50px;\n text-align: center;\n font-size: 30px;\n line-height: 60px;\n box-shadow: 1px 1px 2px #888;\n z-index: 1000;\n transition: background-color 0.3s ease;\n }\n\n .whatsapp-button:hover {\n background-color: #128c7e;\n cursor: pointer;\n }\n </style>\n<!-- Seu botão do WhatsApp -->\n<a href=\"https://api.whatsapp.com/send?phone=5522997269959&text=Ol%C3%A1,%20gostaria%20de%20fazer%20uma%20compra...\" class=\"whatsapp-button\" id=\"btnWhatsapp\" target=\"_blank\">\n <i class=\"fab fa-whatsapp\" style=\"line-height: normal;\"></i>\n</a>\n\n<!-- Adicione este script JavaScript em seu site -->\n<script>\n// Função para verificar se a URL da página começa com um determinado prefixo\nfunction urlStartsWith(prefix) {\n return window.location.href.startsWith(prefix);\n}\n\n// Array de prefixos de URL que você deseja verificar\nvar prefixesToHideOn = [\n \"https://urbanna.com.br/app/#/cart\",\n \"https://urbanna.com.br/app/#/checkout\"\n];\n\n// Verificar se a URL da página atual começa com um dos prefixos desejados\nif (prefixesToHideOn.some(urlStartsWith)) {\n // Se a URL corresponder a um dos prefixos, ocultar o botão do WhatsApp\n var whatsappButton = document.getElementById(\"btnWhatsapp\");\n if (whatsappButton) {\n whatsappButton.style.display = \"none\";\n }\n}\n</script>",
"html_body": ""
}

0 comments on commit 80c2392

Please sign in to comment.