Paginas e SEO master

This commit is contained in:
2026-06-02 12:43:57 -03:00
parent 6db7b5200b
commit 80dbb986f4
18 changed files with 431 additions and 387 deletions
+2
View File
@@ -130,6 +130,7 @@ export const NAV_LINKS = [
},
{ name: 'Tecnologias', href: '/tecnologias' },
{ name: 'Avaliacao TI', href: '/avaliacao' },
{ name: 'Onde Atuamos', href: '/onde-atuamos' },
{ name: 'Cases', href: '/cases' },
{ name: 'Blog', href: '/blog' },
{ name: 'Contato', href: '/contato' },
@@ -146,6 +147,7 @@ export const FOOTER_LINKS = {
],
empresa: [
{ name: 'Sobre nos', href: '/sobre' },
{ name: 'Onde Atuamos', href: '/onde-atuamos' },
{ name: 'Cases de sucesso', href: '/cases' },
{ name: 'Blog', href: '/blog' },
{ name: 'Trabalhe conosco', href: '/contato' },
+11 -4
View File
@@ -15,10 +15,17 @@ const Footer = () => {
const [version, setVersion] = useState('');
useEffect(() => {
fetch('/version.json?t=' + Date.now())
.then(r => r.json())
.then(data => setVersion(data.version))
.catch(() => setVersion(''));
// Ler versao da meta tag (mais confiavel que fetch de arquivo separado)
const metaVersion = document.querySelector('meta[name="app-version"]')?.getAttribute('content');
if (metaVersion && metaVersion !== '1.0.0') {
setVersion(metaVersion);
} else {
// Fallback: tentar version.json
fetch('/version.json?t=' + Date.now())
.then(r => r.json())
.then(data => setVersion(data.version))
.catch(() => setVersion(''));
}
}, []);
const scrollToTop = () => {