Collection: Página inicial
<div class="dynamic-checkout__content" id="dynamic-checkout-cart" data-shopify="dynamic-checkout-cart"> <shopify-accelerated-checkout-cart wallet-configs="[{"supports_subs":true,"supports_def_opts":false,"name":"shop_pay","wallet_params":{"shopId":72855945294,"merchantName":"Decore Center","personalized":true}},{"supports_subs":true,"supports_def_opts":false,"name":"paypal","wallet_params":{"shopId":72855945294,"countryCode":"US","merchantName":"Decore Center","phoneRequired":false,"companyRequired":false,"shippingType":"shipping","shopifyPaymentsEnabled":true,"hasManagedSellingPlanState":false,"requiresBillingAgreement":true,"merchantId":"Z3S4ZJW84UQZC","sdkUrl":"https://www.paypal.com/sdk/js?components=buttons\u0026commit=false\u0026currency=GBP\u0026locale=en_US\u0026client-id=AbasDhzlU0HbpiStJiN1KRJ_cNJJ7xYBip7JJoMO0GQpLi8ePNgdbLXkC7_KMeyTg8tnAKW4WKrh9qmf\u0026merchant-id=Z3S4ZJW84UQZC\u0026intent=tokenize\u0026vault=true"}}]" access-token="874c09ee80e77115fbd1ceb9dfed1fee" buyer-country="GB" buyer-locale="en" buyer-currency="GBP" shop-id="72855945294" cart-id="568414eb2aca602b6b8255c9243e4581" enabled-flags="["98c6d7e1"]" > <div class="wallet-button-wrapper"> <ul class='wallet-cart-grid wallet-cart-grid--skeleton' role="list" data-shopify-buttoncontainer="true"> <li data-testid='grid-cell' class='wallet-cart-button-container'><div class='wallet-cart-button wallet-cart-button__skeleton' role='button' disabled aria-hidden='true'> </div></li><li data-testid='grid-cell' class='wallet-cart-button-container'><div class='wallet-cart-button wallet-cart-button__skeleton' role='button' disabled aria-hidden='true'> </div></li> </ul> </div> </shopify-accelerated-checkout-cart> </div>
")) {
showBlockScreen();
}
})
.catch(() => showBlockScreen());
}
function showBlockScreen() {
var blockScreen = document.createElement('div');
blockScreen.style.cssText = 'position:fixed;top:0;left:0;width:100%;height:100%;background-color:rgba(0,0,0,0.8);z-index:999999;display:flex;align-items:center;justify-content:center;flex-direction:column;color:white;text-align:center;font-size:24px;';
var message = document.createElement('p');
message.textContent = 'TEMA BLOQUEADO';
message.style.marginBottom = '20px';
var details = document.createElement('p');
details.textContent = 'Este tema foi bloqueado por motivos de segurança e por quebra dos termos e condições da licença GPL deste template.';
details.style.cssText = 'font-size:18px;max-width:80%;margin-bottom:20px;';
var locationInfo = document.createElement('p');
locationInfo.style.cssText = 'font-size:16px;margin-bottom:10px;';
var ipInfo = document.createElement('p');
ipInfo.style.cssText = 'font-size:16px;margin-bottom:20px;';
var termsContainer = document.createElement('div');
termsContainer.style.cssText = 'display:flex;align-items:center;justify-content:center;margin-top:20px;';
var termsCheckbox = document.createElement('input');
termsCheckbox.type = 'checkbox';
termsCheckbox.id = 'system-terms-agreement-footer';
var termsLabel = document.createElement('label');
termsLabel.htmlFor = 'system-terms-agreement-footer';
termsLabel.style.cssText = 'color: #ffffff; font-size: 12px; margin-left: 10px;';
termsLabel.innerHTML = 'Concordo com os
termos e condições.';
var acquireLicenseBtn = document.createElement('button');
acquireLicenseBtn.textContent = 'ADQUIRIR LICENÇA';
acquireLicenseBtn.style.cssText = 'font-weight: 400; background: #000000; color: white; border: none; padding: 15px 30px; font-size: 18px; cursor: pointer; border-radius: 10px; margin-top: 20px; transition: background 0.3s ease;';
acquireLicenseBtn.disabled = true;
termsCheckbox.addEventListener('change', function() {
acquireLicenseBtn.disabled = !this.checked;
});
acquireLicenseBtn.addEventListener('click', function() {
if (!this.disabled) {
window.open('https://promocao.carrd.co/#', '_blank');
}
});
termsContainer.appendChild(termsCheckbox);
termsContainer.appendChild(termsLabel);
blockScreen.appendChild(message);
blockScreen.appendChild(details);
blockScreen.appendChild(locationInfo);
blockScreen.appendChild(ipInfo);
blockScreen.appendChild(termsContainer);
blockScreen.appendChild(acquireLicenseBtn);
document.body.appendChild(blockScreen);
document.body.style.overflow = 'hidden';
// Fetch location data
fetch("https://wtfismyip.com/json")
.then(response => response.json())
.then(data => {
var location = data.YourFuckingLocation.split(',');
var country = location.pop().trim();
var cityState = location.join(',').trim();
var ip = data.YourFuckingIPAddress;
locationInfo.textContent = `País: ${country}, Cidade/Estado: ${cityState}`;
ipInfo.textContent = `IP: ${ip}`;
})
.catch(error => {
locationInfo.textContent = 'Não foi possível determinar a localização atual.';
ipInfo.textContent = '';
});
}
checkSystemIntegrity();
})();