// screens-account.jsx — Account, Loyalty, Notifications, Transactions, Support /* ─────────────────────────── ACCOUNT ─────────────────────────── */ function ScreenAccount({ go, user, tweaks, setTweak }) { return ( <>
go("notifications")}> } />
{/* Profile card */}
{user.name}
{user.phone}
Gold · {fmtXof(user.points)} pts
{/* SIM card */}
Telecel SIM · Principal
ICCID 89245···0123 · 4G+
Ativa
{/* Sections */} {}} /> go("payment-methods")} /> go("transactions")} /> go("loyalty")} /> go("notifications")} /> } /> } onClick={() => setTweak("dark", !tweaks.dark)} /> go("support")} /> { localStorage.removeItem(FIRST_VISIT_KEY); go("login"); }} />

Telecel Guiné-Bissau · versão 4.2.1

); } function AccountSection({ title, children }) { return ( <> {title ?
{title}
:
}
{React.Children.map(children, (c, i) => (
{c}
))}
); } function AccountRow({ Icon, label, sub, right, onClick, danger }) { return ( ); } /* ─────────────────────────── LOYALTY ─────────────────────────── */ function ScreenLoyalty({ go, user }) { const tiers = ["Bronze", "Silver", "Gold", "Platinum"]; const pct = user.tierProgress / user.tierTarget; return ( <>
go("account")} right={ } />
{/* Big tier card */}
Telecel Gold
Nível atual
SALDO DE PONTOS
{fmtXof(user.points)} pontos
Gold {user.tierTarget - user.tierProgress} pts até Platinum
{/* Earn ways */}
Como ganhar pontos
{[ { Icon: IconBolt, label: "Recargas", pts: "1 pt por 100 XOF" }, { Icon: IconBundles, label: "Pacotes", pts: "2x pontos" }, { Icon: IconWallet, label: "TeleTaku", pts: "1.5x pontos" }, { Icon: IconRefresh, label: "Atividade diária", pts: "+10 pts/dia" }, ].map(e => (
{e.label}
{e.pts}
))}
{/* Redeem */}

Trocar recompensas

{[ { title: "1 GB de Internet", pts: 500, sub: "Validade 7 dias", Icon: IconGlobe }, { title: "30 MIN extra", pts: 300, sub: "Para qualquer rede", Icon: IconPhone }, { title: "WhatsApp 24h", pts: 200, sub: "Tráfego ilimitado", Icon: IconWhatsapp, locked: false }, { title: "Tele Boss 5.000", pts: 5000, sub: "Exclusivo Platinum", Icon: IconBolt, locked: true }, ].map(r => (
{r.title}
{r.sub}
))}
{/* Tiers */}

Níveis

{tiers.map((t, i) => { const active = t === "Gold"; return (
{t}
); })}
); } /* ─────────────────────────── NOTIFICATIONS ─────────────────────────── */ function ScreenNotifications({ go }) { const NOTIF = [ { group: "Hoje", items: [ { Icon: IconBolt, color: "var(--accent)", title: "Recarga concluída", body: "1.000 XOF · referência TLC-84210293", time: "há 12 min", unread: true }, { Icon: IconGift, color: "var(--amber)", title: "Oferta exclusiva: 30% off", body: "Internet Semanal: 3 GB com TeleTaku — só hoje.", time: "há 2h", unread: true }, ]}, { group: "Esta semana", items: [ { Icon: IconClock, color: "var(--blue)", title: "Pacote a expirar", body: "Internet Semanal termina em 2 dias. Renova já.", time: "ontem" }, { Icon: IconStar, color: "var(--accent)", title: "Ganhaste 250 pontos", body: "Parabéns! Estás mais perto de Platinum.", time: "há 3 dias" }, { Icon: IconRefresh, color: "var(--green)", title: "Recarga automática ativada", body: "TeleTaku · limite 500 XOF.", time: "há 4 dias" }, ]}, ]; return ( <>
go("home")} right={ } />
{["Todas", "Promoções", "Conta", "Apoio"].map((t, i) => ( {t} ))}
{NOTIF.map(g => (
{g.group}
{g.items.map((n, i) => (
{n.title} {n.unread ? : null}

{n.body}

{n.time}
))}
))}
); } /* ─────────────────────────── TRANSACTIONS ─────────────────────────── */ function ScreenTransactions({ go }) { const groups = [ { label: "Hoje", items: [ { Icon: IconBolt, title: "Recarga · meu número", time: "14:32", amount: -1000, status: "Sucesso", method: "TeleTaku" }, { Icon: IconBundles, title: "Internet Semanal · 3 GB", time: "11:08", amount: -1000, status: "Ativo", method: "Saldo principal" }, ]}, { label: "11 Mai 2026", items: [ { Icon: IconStar, title: "+250 pts de fidelidade", time: "18:44", amount: null, status: "Acumulado", method: "Recompensa" }, { Icon: IconContact, title: "Recarga · Aissatu Camará", time: "10:22", amount: -500, status: "Sucesso", method: "TeleTaku" }, ]}, { label: "9 Mai 2026", items: [ { Icon: IconWallet, title: "Carregamento de carteira", time: "08:15", amount: 5000, status: "Sucesso", method: "Saldo principal", positive: true }, { Icon: IconGift, title: "Cashback Combo", time: "07:50", amount: 200, status: "Recompensa", method: "TeleTaku", positive: true }, ]}, ]; return ( <>
go("account")} right={ } />
{/* Summary */}
Gasto este mês
11.250 XOF
Transações
18
{/* mini chart */}
{[40,30,55,28,80,46,60].map((h, i) => (
))}
{["Seg","Ter","Qua","Qui","Sex","Sáb","Dom"].map(d => {d})}
{["Tudo", "Recargas", "Pacotes", "Recompensas", "Devoluções"].map((t, i) => ( {t} ))}
{groups.map(g => (
{g.label}
{g.items.map((t, i) => (
{t.title}
{t.method} · {t.time}
{t.amount === null ? "+250 pts" : (t.positive ? "+" : "−") + fmtXof(Math.abs(t.amount)) + " XOF"}
{t.status}
))}
))}
); } /* ─────────────────────────── SUPPORT ─────────────────────────── */ function ScreenSupport({ go }) { return ( <>
go("account")} />

Como podemos ajudar?

Resolvemos a maioria das questões em menos de 2 minutos.

{/* Quick channels */}
{/* AI assistant preview */}
Telecel AI
● Disponível
Olá Etiandro! Como te posso ajudar hoje?
{["Saldo", "Ativar pacote", "Problema de rede", "Falar com agente"].map(s => ( {s} ))}
{/* FAQ */}

Perguntas frequentes

{[ "Como ativo um pacote de dados?", "Como configuro o TeleTaku?", "Esqueci o meu PIN — o que fazer?", "Como transfiro saldo para outro número?", "O que faz parte do nível Gold?", ].map((q, i, arr) => ( ))}
{/* Ticket */}
); } /* ─────────────────────────── SERVICES (bonus) ─────────────────────────── */ function ScreenServices({ go }) { const SERVICES = [ { Icon: IconBulb, label: "Eletricidade", sub: "Energia pré-paga EAGB", tone: "#B98500", to: "electricity", isNew: true }, { Icon: IconWallet, label: "TeleTaku", sub: "Carteira & pagamentos", tone: "var(--accent)" }, { Icon: IconRefresh, label: "Transferir saldo", sub: "Crédito para amigos", tone: "var(--blue)" }, { Icon: IconWifi, label: "Internet Caseira", sub: "MiFi & Fibra", tone: "var(--green)" }, { Icon: IconGift, label: "Vouchers", sub: "Resgatar código", tone: "var(--amber)" }, { Icon: IconShield, label: "Telecel Seguro", sub: "Proteção SIM", tone: "var(--ink)" }, { Icon: IconChart, label: "Uso & estatísticas", sub: "Consumo detalhado", tone: "var(--accent)" }, { Icon: IconStar, label: "Recompensas", sub: "Pontos e ofertas" }, { Icon: IconHeadset, label: "Suporte", sub: "Chat, WhatsApp, AI" }, ]; return ( <>
} />
Saldo TeleTaku
8.450 XOF

Todos os serviços

{SERVICES.map(s => ( ))}
); } Object.assign(window, { ScreenAccount, ScreenLoyalty, ScreenNotifications, ScreenTransactions, ScreenSupport, ScreenServices, });