Atualiza site via novo pacote
This commit is contained in:
+1
-1
@@ -1,5 +1,5 @@
|
||||
import { useEffect, useState } from 'react';
|
||||
import { HashRouter as Router, Routes, Route, useLocation } from 'react-router-dom';
|
||||
import { BrowserRouter as Router, Routes, Route, useLocation } from 'react-router-dom';
|
||||
import { gsap } from 'gsap';
|
||||
import { ScrollTrigger } from 'gsap/ScrollTrigger';
|
||||
import Navigation from './sections/Navigation';
|
||||
|
||||
+6
-9
@@ -11,16 +11,13 @@
|
||||
// Opcao 2: URL da imagem (deixe svgInline vazio e preencha imageUrl)
|
||||
|
||||
export const LOGO = {
|
||||
// Se quiser usar SVG inline, cole o codigo aqui entre as crases
|
||||
// Exemplo: svgInline: `<svg ...>...</svg>`
|
||||
svgInline: `<svg width="40" height="40" viewBox="0 0 100 100">
|
||||
<path d="M50 15 L75 75 H60 L55 60 H45 L40 75 H25 L50 15 Z M48 48 H52 L50 40 L48 48 Z"
|
||||
fill="#cbf400" stroke="#cbf400" stroke-width="4" stroke-linejoin="round" stroke-linecap="round"/>
|
||||
</svg>`,
|
||||
// Opcao 1: SVG inline (deixe vazio se for usar imagem)
|
||||
svgInline: '',
|
||||
|
||||
// Se quiser usar imagem (PNG/JPG), coloque o arquivo em public/assets/
|
||||
// e defina: imageUrl: '/assets/logo.png'
|
||||
imageUrl: '',
|
||||
// Opcao 2: URL da imagem (use quando o logo esta hospedado externamente)
|
||||
// Exemplo: '/assets/logo.png' para arquivo local
|
||||
// Exemplo: 'https://avanzato.com.br/logo.png' para imagem externa
|
||||
imageUrl: 'https://avanzato.com.br/logo.png',
|
||||
|
||||
// Texto ao lado do logo (deixe vazio se nao quiser texto)
|
||||
text: 'avanzato',
|
||||
|
||||
@@ -224,7 +224,7 @@ const Condominios = () => {
|
||||
<div className="hero-animate grid grid-cols-2 md:grid-cols-4 gap-6 mt-16">
|
||||
{[
|
||||
{ valor: '500+', label: 'Condomínios atendidos' },
|
||||
{ valor: '+23', label: 'Anos de experiência' },
|
||||
{ valor: '11', label: 'Anos de experiência' },
|
||||
{ valor: '40%', label: 'Economia média' },
|
||||
{ valor: '24/7', label: 'Monitoramento' },
|
||||
].map((stat, i) => (
|
||||
|
||||
+10
-18
@@ -28,24 +28,14 @@ const Footer = () => {
|
||||
}));
|
||||
|
||||
// Renderiza o logo (SVG inline ou imagem)
|
||||
// const renderLogo = () => {
|
||||
// if (LOGO.imageUrl) {
|
||||
// return <img src={LOGO.imageUrl} alt={COMPANY.name} className="h-10 w-auto" />;
|
||||
// }
|
||||
// return (
|
||||
const renderLogo = () => {
|
||||
return (
|
||||
<img
|
||||
src="/logo.png"
|
||||
alt={COMPANY.name}
|
||||
className="h-10 w-auto"
|
||||
/>
|
||||
);
|
||||
};
|
||||
|
||||
// <div dangerouslySetInnerHTML={{ __html: LOGO.svgInline }} className="flex-shrink-0" />
|
||||
// );
|
||||
// };
|
||||
const renderLogo = () => {
|
||||
if (LOGO.imageUrl) {
|
||||
return <img src={LOGO.imageUrl} alt={COMPANY.name} className="h-10 w-auto" />;
|
||||
}
|
||||
return (
|
||||
<div dangerouslySetInnerHTML={{ __html: LOGO.svgInline }} className="flex-shrink-0" />
|
||||
);
|
||||
};
|
||||
|
||||
return (
|
||||
<footer className="bg-[#0e0e0e] text-white relative border-t border-white/5">
|
||||
@@ -59,6 +49,7 @@ const renderLogo = () => {
|
||||
{LOGO.text && (
|
||||
<span className="text-2xl font-bold tracking-tight">
|
||||
{LOGO.text}
|
||||
<span className="text-[#cbf400]">{LOGO.textHighlight}</span>
|
||||
</span>
|
||||
)}
|
||||
</Link>
|
||||
@@ -170,6 +161,7 @@ const renderLogo = () => {
|
||||
<div className="flex flex-col md:flex-row items-center justify-between gap-4">
|
||||
<p className="text-gray-500 text-sm">
|
||||
© {new Date().getFullYear()} {COMPANY.name}. Todos os direitos reservados.
|
||||
<span className="ml-2 text-gray-600 text-xs">v1.0.4</span>
|
||||
</p>
|
||||
|
||||
<div className="flex items-center gap-6">
|
||||
|
||||
@@ -329,7 +329,7 @@ const Testimonials = () => {
|
||||
<div className="grid grid-cols-2 md:grid-cols-4 gap-6 mb-16">
|
||||
{[
|
||||
{ valor: "500+", label: "Clientes atendidos" },
|
||||
{ valor: "+23", label: "Anos de experiência" },
|
||||
{ valor: "11", label: "Anos de experiência" },
|
||||
{ valor: "4.9", label: "Nota média" },
|
||||
{ valor: "98%", label: "Taxa de satisfação" },
|
||||
].map((stat, i) => (
|
||||
|
||||
Reference in New Issue
Block a user