Revisão logo

This commit is contained in:
2026-05-30 23:52:07 -03:00
parent 2dc62486d7
commit b3b8917a96
103 changed files with 538 additions and 40886 deletions
-11
View File
@@ -1,4 +1,3 @@
import { useState, useEffect } from 'react';
import { Link } from 'react-router-dom';
import { Facebook, Youtube, Linkedin, Instagram, ArrowUp, MapPin } from 'lucide-react';
import { LOGO, SOCIAL_LINKS, ADDRESSES, FOOTER_LINKS, COMPANY } from '../config/site';
@@ -12,15 +11,6 @@ const socialIcons: Record<string, React.ReactNode> = {
};
const Footer = () => {
const [version, setVersion] = useState('');
useEffect(() => {
fetch('/version.json?t=' + Date.now())
.then(r => r.json())
.then(data => setVersion(data.version))
.catch(() => setVersion(''));
}, []);
const scrollToTop = () => {
window.scrollTo({ top: 0, behavior: 'smooth' });
};
@@ -171,7 +161,6 @@ const Footer = () => {
<div className="flex flex-col md:flex-row items-center justify-between gap-4">
<p className="text-gray-500 text-sm">
&copy; {new Date().getFullYear()} {COMPANY.name}. Todos os direitos reservados.
{version && <span className="ml-2 text-gray-600 text-xs">v{version}</span>}
</p>
<div className="flex items-center gap-6">
+7 -1
View File
@@ -46,8 +46,14 @@ const Navigation = () => {
<div className="container-custom">
<div className="flex items-center justify-between h-20">
{/* Logo - importado de config/site.ts */}
<Link to={LOGO.href} className="flex items-center">
<Link to={LOGO.href} className="flex items-center gap-3">
{renderLogo()}
{LOGO.text && (
<span className="text-2xl font-bold text-white tracking-tight">
{LOGO.text}
<span className="text-[#cbf400]">{LOGO.textHighlight}</span>
</span>
)}
</Link>
{/* Desktop Navigation - importado de config/site.ts */}