// 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 (
);
}
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 (
<>