// Shared UI: header, footer, WhatsApp FAB, helpers const WA_NUMBER = "5568984054309"; const WA_TEXT = encodeURIComponent("Olá! Vim pelo site da 8Bits Tecnologia e gostaria de conversar."); const WA_LINK = `https://wa.me/${WA_NUMBER}?text=${WA_TEXT}`; function WhatsAppIcon({ size = 18 }) { return ( ); } function Brand({ white }) { return ( 8Bits Tecnologia ); } function Header({ route, setRoute }) { const [open, setOpen] = React.useState(false); const links = [ ["home", "Home"], ["solucoes", "Soluções"], ["tutoriais", "Tutoriais"], ["downloads", "Downloads"], ["sobre", "Sobre"], ["contato", "Contato"], ]; const go = (k) => (e) => { e.preventDefault(); setOpen(false); window.location.hash = "/" + k; }; return ( <>
Atendimento rápido • Seg–Sáb
Rio Branco — AC CNPJ 32.088.571/0001-16 (68) 98405-4309
WhatsApp
); } function Footer() { const go = (k) => (e) => { e.preventDefault(); window.location.hash = "/" + k; }; return ( ); } function FabWA() { return ( Fale no WhatsApp ); } function FinalCTA() { return (

Um problema pra resolver? Chama a 8Bits.

(68) 98405-4309 Formulário de contato
); } // Pixel icon: 4x4 grid from string pattern (# = ink, r = red, . = empty) function PxIcon({ pattern }) { const rows = pattern.trim().split(/\s+/); const cells = []; for (const row of rows) { for (const ch of row) { const cls = ch === "#" ? "" : ch === "r" ? "r" : "e"; cells.push(cls); } } return (
{cells.map((c, i) => )}
); } Object.assign(window, { WA_LINK, WA_NUMBER, WhatsAppIcon, Brand, Header, Footer, FabWA, FinalCTA, PxIcon });