import React, { useMemo, useState } from "react";
import { AnimatePresence, motion } from "framer-motion";
import {
ChevronLeft,
ChevronRight,
MapPin,
MessageCircle,
PawPrint,
PhoneCall,
Scissors,
ShieldCheck,
Sparkles,
Stethoscope,
Syringe,
} from "lucide-react";
type Links = {
whatsapp: {
davi: string;
enzo: string;
};
maps: string;
};
type GalleryItem = {
src: string;
alt: string;
tag: string;
};
export default function EquipePetDeTodos() {
const links: Links = useMemo(
() => ({
whatsapp: {
davi: "https://wa.me/5515991729405",
enzo: "https://wa.me/5515996972011",
},
maps:
"https://www.google.com/maps?q=Av.+Barão+de+Tatuí+375+Sorocaba&output=embed",
}),
[]
);
const gallery: GalleryItem[] = useMemo(
() => [
{
src: "/equipe.jpg",
alt: "Equipe Pet de Todos",
tag: "Equipe Pet de Todos",
},
],
[]
);
const [active,setActive] = useState(0)
const next = () => setActive((p)=> wrapIndex(p+1,gallery.length))
const prev = () => setActive((p)=> wrapIndex(p-1,gallery.length))
return (
)
}
function Header({links}:{links:Links}){
return(
)
}
function Hero({gallery,active,setActive,next,prev,links}:any){
const item = gallery[active]
return(
Seu pet com saúde em dia
Plano de saúde para seu pet
por muito menos
Atendimento simples e rápido. Fale direto conosco no WhatsApp.
)
}
function Stats(){
const items=[
{icon:ShieldCheck,title:"Atendimento rápido",desc:"sem burocracia"},
{icon:Stethoscope,title:"Saúde do pet",desc:"acompanhamento"},
{icon:PawPrint,title:"Para cães e gatos",desc:"planos acessíveis"}
]
return(
)
}
function Plans({links}:any){
const plans=[
{
name:"Plano Individual",
price:"R$29,90",
desc:"Para 1 pet",
href:links.whatsapp.davi,
cta:"Falar com Davi"
},
{
name:"Plano Família",
price:"R$39,90",
desc:"Até 4 pets",
href:links.whatsapp.enzo,
cta:"Falar com Enzo"
}
]
return(
{plans.map((p,i)=>(
{p.name}
{p.price}
{p.desc}
{p.cta}
))}
)
}
function Services(){
const items=[
{icon:Stethoscope,title:"Consultas"},
{icon:Syringe,title:"Vacinas"},
{icon:ShieldCheck,title:"Especialidades"},
{icon:Scissors,title:"Cirurgias"}
]
return(
)
}
function BathCTA({links}:any){
return(
Banho a partir de R$19,90
Agende pelo WhatsApp
)
}
function Location({links}:any){
return(
)
}
function FinalCTA({links}:any){
return(
Fale conosco no WhatsApp
Davi ou Enzo irão te atender
)
}
function Footer({links}:any){
return(
)
}
function wrapIndex(index:number,length:number){
return((index%length)+length)%length
}