Spaces:
Sleeping
Sleeping
Deploy automatico PixelAI (frontend + backend unificados)
Browse files- public/index.html +1 -1
- public/script.js +16 -0
public/index.html
CHANGED
|
@@ -62,7 +62,7 @@
|
|
| 62 |
<div class="hero-grid">
|
| 63 |
<div class="hero-copy glass-card" data-parallax="22">
|
| 64 |
<p class="hero-kicker">PIXELAI STUDIO</p>
|
| 65 |
-
<h1>Remoção de Fundo Profissional para Logos e
|
| 66 |
<p class="hero-sub">Escolha seu plano e comece em segundos. Alta qualidade, fluxo simples e edição manual integrada.</p>
|
| 67 |
<div class="hero-cta">
|
| 68 |
<button class="btn btn-primary" onclick="showPage('auth')">Começar Grátis</button>
|
|
|
|
| 62 |
<div class="hero-grid">
|
| 63 |
<div class="hero-copy glass-card" data-parallax="22">
|
| 64 |
<p class="hero-kicker">PIXELAI STUDIO</p>
|
| 65 |
+
<h1>Remoção de Fundo Profissional para Logos, textos e imagens</h1>
|
| 66 |
<p class="hero-sub">Escolha seu plano e comece em segundos. Alta qualidade, fluxo simples e edição manual integrada.</p>
|
| 67 |
<div class="hero-cta">
|
| 68 |
<button class="btn btn-primary" onclick="showPage('auth')">Começar Grátis</button>
|
public/script.js
CHANGED
|
@@ -140,6 +140,22 @@ Object.assign(translations.en, {
|
|
| 140 |
msg_nft_claim_error: "NFT claim error: "
|
| 141 |
});
|
| 142 |
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| 143 |
let currentLang = localStorage.getItem('lang') || 'pt';
|
| 144 |
let activeApiUrl = localStorage.getItem('last-working-api-url') || CONFIG.API_URL;
|
| 145 |
const API_PROBE_TIMEOUT_MS = 8000;
|
|
|
|
| 140 |
msg_nft_claim_error: "NFT claim error: "
|
| 141 |
});
|
| 142 |
|
| 143 |
+
Object.assign(translations.pt, {
|
| 144 |
+
msg_phantom_blocked: "A Phantom bloqueou esta dApp neste domínio. Use o fallback de pagamento manual para liberar créditos.",
|
| 145 |
+
msg_manual_pay_prompt: "Envie {price} SOL para {wallet} na Phantom e cole aqui a assinatura (hash) da transação:",
|
| 146 |
+
msg_manual_pay_invalid: "Transação inválida ou sem pagamento correto para a carteira de destino.",
|
| 147 |
+
msg_manual_pay_already: "Essa assinatura já foi usada para claim de créditos.",
|
| 148 |
+
msg_manual_pay_success: "Pagamento confirmado on-chain. Créditos liberados!"
|
| 149 |
+
});
|
| 150 |
+
|
| 151 |
+
Object.assign(translations.en, {
|
| 152 |
+
msg_phantom_blocked: "Phantom blocked this dApp on this domain. Use manual payment fallback to unlock credits.",
|
| 153 |
+
msg_manual_pay_prompt: "Send {price} SOL to {wallet} in Phantom and paste the transaction signature (hash):",
|
| 154 |
+
msg_manual_pay_invalid: "Invalid transaction or payment not sent correctly to destination wallet.",
|
| 155 |
+
msg_manual_pay_already: "This signature was already used to claim credits.",
|
| 156 |
+
msg_manual_pay_success: "On-chain payment confirmed. Credits unlocked!"
|
| 157 |
+
});
|
| 158 |
+
|
| 159 |
let currentLang = localStorage.getItem('lang') || 'pt';
|
| 160 |
let activeApiUrl = localStorage.getItem('last-working-api-url') || CONFIG.API_URL;
|
| 161 |
const API_PROBE_TIMEOUT_MS = 8000;
|