{"version":3,"sources":["assets/images/step1.jpg","assets/images/step2.jpg","assets/images/step3.jpg","assets/images/step4.jpg","assets/images/america.webp","assets/images/tudor.webp","assets/images/heliar.webp","assets/images/moura.webp","assets/images/sobre.webp","services/apiService.js","components/CustomModal.js","components/ModalColeta.js","components/ModalLigue.js","components/Footer.js","components/Header.js","components/FloatButtons.js","components/PhoneButtons.js","components/Steps.js","components/Products.js","components/AboutUs.js","components/Contact.js","pages/Index.js","App.js","reportWebVitals.js","index.js"],"names":["module","exports","API_URL","process","CustomModal","_ref","show","handleClose","title","text","React","createElement","Modal","onHide","centered","className","Header","closeButton","Title","Body","Footer","Button","variant","onClick","ModalColeta","showCollectionModal","handleCloseCollectionModal","name","setName","useState","company","setCompany","email","setEmail","phone","setPhone","errors","setErrors","loading","setLoading","showModal","setShowModal","modalTitle","setModalTitle","modalText","setModalText","Fragment","Form","onSubmit","async","event","preventDefault","validateForm","newErrors","Object","keys","length","response","fetch","method","headers","body","JSON","stringify","data","ok","json","errorData","error","sendColeta","message","_errorResponse$error","_errorResponse$error2","_errorResponse$error3","errorResponse","parse","_errorResponse$error4","_errorResponse$error5","details","global","Group","controlId","Label","Control","type","placeholder","value","onChange","e","target","prev","isInvalid","Feedback","InputMask","mask","size","disabled","Spinner","as","animation","role","aria-hidden","handleCloseModal","ModalLigue","showCallModal","handleCloseCallModal","sendCallMe","navigate","useNavigate","setShowCallModal","setShowCollectionModal","currentYear","Date","getFullYear","Container","Row","Col","md","Nav","Link","handleScrollToTarget","setTimeout","element","document","getElementById","scrollIntoView","behavior","handleShowCallModal","activeclassname","handleShowCollectionModal","href","FontAwesomeIcon","icon","faFacebook","faInstagram","faWhatsapp","faYoutube","location","useLocation","handleScrollToAboutUs","pathname","to","src","alt","NavLink","FloatButtons","rel","faPhone","PhoneButtons","fluid","xl","style","backgroundColor","Steps","Image","step1","step2","step3","step4","Products","moura","heliar","tudor","america","AboutUs","id","sobre","Contact","setMessage","defaultCenter","lat","lng","LoadScript","googleMapsApiKey","GoogleMap","mapContainerStyle","height","width","zoom","center","Marker","position","sendContact","rows","Index","background","Helmet","content","xxl","sm","xs","App","Router","Routes","Route","path","reportWebVitals","onPerfEntry","Function","then","getCLS","getFID","getFCP","getLCP","getTTFB","ReactDOM","createRoot","render"],"mappings":"6GAAAA,EAAOC,QAAU,IAA0B,mC,mBCA3CD,EAAOC,QAAU,IAA0B,mC,mBCA3CD,EAAOC,QAAU,IAA0B,mC,mBCA3CD,EAAOC,QAAU,IAA0B,mC,mBCA3CD,EAAOC,QAAU,IAA0B,sC,mBCA3CD,EAAOC,QAAU,IAA0B,oC,mBCA3CD,EAAOC,QAAU,IAA0B,qC,mBCA3CD,EAAOC,QAAU,IAA0B,oC,mBCA3CD,EAAOC,QAAU,IAA0B,oC,ydCA3C,MAAMC,EAAUC,wC,MCsBDC,MAlBKC,IAAyC,IAAxC,KAAEC,EAAI,YAAEC,EAAW,MAAEC,EAAK,KAAEC,GAAMJ,EACnD,OACIK,IAAAC,cAACC,IAAK,CAACN,KAAMA,EAAMO,OAAQN,EAAaO,UAAQ,EAACC,UAAU,aACvDL,IAAAC,cAACC,IAAMI,OAAM,CAACC,aAAW,EAACF,UAAU,oBAChCL,IAAAC,cAACC,IAAMM,MAAK,KAAEV,IAElBE,IAAAC,cAACC,IAAMO,KAAI,CAACJ,UAAU,kBACjBN,GAELC,IAAAC,cAACC,IAAMQ,OAAM,CAACL,UAAU,oBACpBL,IAAAC,cAACU,IAAM,CAACC,QAAQ,UAAUC,QAAShB,GAAa,aCuKjDiB,MA9KKnB,IAIX,IAHP,oBACEoB,EAAmB,2BACnBC,GACDrB,EAED,MAAOsB,EAAMC,GAAWC,mBAAS,KAC1BC,EAASC,GAAcF,mBAAS,KAChCG,EAAOC,GAAYJ,mBAAS,KAC5BK,EAAOC,GAAYN,mBAAS,KAE5BO,EAAQC,GAAaR,mBAAS,KAC9BS,EAASC,GAAcV,oBAAS,IAGhCW,EAAWC,GAAgBZ,oBAAS,IACpCa,EAAYC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,+BAOzEL,IAAAC,cAACyI,EAAY,MACb1I,IAAAC,cAAC8I,EAAK,MACN/I,IAAAC,cAACyJ,EAAO,MACR1J,IAAAC,cAACoJ,EAAQ,MACTrJ,IAAAC,cAAC4J,GAAO,MACR7J,IAAAC,cAACsI,EAAY,MACbvI,IAAAC,cAACS,EAAM,QCnDR2K,OAXf,WAEE,OACErL,IAAAC,cAACqL,IAAM,KACLtL,IAAAC,cAACsL,IAAM,KACLvL,IAAAC,cAACuL,IAAK,CAACC,KAAK,IAAIzE,QAAShH,IAAAC,cAAC6K,GAAK,WCGtBY,OAZOC,IAChBA,GAAeA,aAAuBC,UACxC,6BAAqBC,KAAKlM,IAAkD,IAAjD,OAAEmM,EAAM,OAAEC,EAAM,OAAEC,EAAM,OAAEC,EAAM,QAAEC,GAASvM,EACpEmM,EAAOH,GACPI,EAAOJ,GACPK,EAAOL,GACPM,EAAON,GACPO,EAAQP,MCDHQ,IAASC,WAAWnF,SAASC,eAAe,SACpDmF,OACDrM,IAAAC,cAACoL,GAAG,OAERK,O","file":"static/js/main.10876254.chunk.js","sourcesContent":["module.exports = __webpack_public_path__ + \"static/media/step1.e5b0503a.jpg\";","module.exports = __webpack_public_path__ + \"static/media/step2.d46c5854.jpg\";","module.exports = __webpack_public_path__ + \"static/media/step3.808fac6e.jpg\";","module.exports = __webpack_public_path__ + \"static/media/step4.73f3894d.jpg\";","module.exports = __webpack_public_path__ + \"static/media/america.c76f4555.webp\";","module.exports = __webpack_public_path__ + \"static/media/tudor.1e3751d1.webp\";","module.exports = __webpack_public_path__ + \"static/media/heliar.a5dd80a7.webp\";","module.exports = __webpack_public_path__ + \"static/media/moura.355b70c4.webp\";","module.exports = __webpack_public_path__ + \"static/media/sobre.b89b77c3.webp\";","const API_URL = process.env.REACT_APP_API_URL;\n\n\nexport const sendContact = async (data) => {\n try {\n const response = await fetch(`${API_URL}contato`, {\n method: 'POST',\n headers: {\n 'Content-Type': 'application/json',\n },\n body: JSON.stringify(data),\n });\n\n if (response.ok) {\n return await response.json();\n } else {\n const errorData = await response.json();\n throw JSON.stringify(errorData);\n }\n } catch (error) {\n throw error;\n }\n};\n\nexport const sendColeta = async (data) => {\n try {\n const response = await fetch(`${API_URL}coleta`, {\n method: 'POST',\n headers: {\n 'Content-Type': 'application/json',\n },\n body: JSON.stringify(data),\n });\n\n if (response.ok) {\n return await response.json();\n } else {\n const errorData = await response.json();\n throw JSON.stringify(errorData);\n }\n } catch (error) {\n throw error;\n }\n};\n\n\nexport const sendCallMe = async (data) => {\n try {\n const response = await fetch(`${API_URL}call-me`, {\n method: 'POST',\n headers: {\n 'Content-Type': 'application/json',\n },\n body: JSON.stringify(data),\n });\n\n if (response.ok) {\n return await response.json();\n } else {\n const errorData = await response.json();\n throw JSON.stringify(errorData);\n }\n } catch (error) {\n throw error;\n }\n};","import React from 'react';\nimport { Modal, Button } from 'react-bootstrap';\nimport './css/CustomModal.css';\n\nconst CustomModal = ({ show, handleClose, title, text }) => {\n return (\n \n \n {title}\n \n \n {text}\n \n \n \n \n \n );\n};\n\nexport default CustomModal;\n","import React, { useState } from 'react';\nimport { Modal, Form, Spinner, Button } from 'react-bootstrap';\nimport InputMask from 'react-input-mask';\nimport { sendColeta } from '../services/apiService';\nimport CustomModal from './CustomModal';\nimport './css/Footer.css';\n\nconst ModalColeta = (\n {\n showCollectionModal,\n handleCloseCollectionModal\n }) => {\n\n const [name, setName] = useState('');\n const [company, setCompany] = useState('');\n const [email, setEmail] = useState('');\n const [phone, setPhone] = useState('');\n\n const [errors, setErrors] = useState({});\n const [loading, setLoading] = useState(false);\n\n // modal de alerta \n const [showModal, setShowModal] = useState(false);\n const [modalTitle, setModalTitle] = useState('');\n const [modalText, setModalText] = useState('');\n const handleCloseModal = () => setShowModal(false);\n\n const validateForm = () => {\n const newErrors = {};\n if (!name) newErrors.name = ['O nome é obrigatório.'];\n if (!company) newErrors.company = ['O nome da empresa é obrigatório.'];\n if (!email) newErrors.email = ['O email é obrigatório.'];\n if (!phone) newErrors.phone = ['O telefone é obrigatório.'];\n setErrors(newErrors);\n return Object.keys(newErrors).length === 0;\n };\n\n const handleSubmit = async (event) => {\n event.preventDefault();\n\n if (!validateForm()) return; // não envia se houver erros\n\n setLoading(true);\n\n try {\n const response = await sendColeta({\n name,\n company,\n email,\n phone\n });\n\n // Verifica se a resposta contém um sucesso\n if (response) {\n handleCloseCollectionModal();\n setModalTitle(response.title);\n setModalText(response.message);\n setShowModal(true);\n // Limpar campos após o envio\n setName('');\n setCompany('');\n setEmail('');\n setPhone('');\n setErrors({});\n }\n } catch (error) {\n let errorResponse = {};\n try {\n errorResponse = JSON.parse(error);\n } catch {\n errorResponse = { error: { message: 'Erro desconhecido' } };\n }\n\n setErrors(errorResponse.error?.details || { global: 'Ocorreu um erro desconhecido.' });\n if (!errorResponse.error?.details || typeof errorResponse.error?.details === \"string\") {\n setModalText(typeof errorResponse.error?.details === \"string\" ? errorResponse.error?.details : \"Ocorreu um erro desconhecido\");\n setModalTitle(\"Ocorreu um erro\");\n setShowModal(true);\n }\n } finally {\n setLoading(false);\n }\n };\n\n\n\n return (\n <>\n \n \n Solicitação de Coleta\n \n \n
\n \n Nome do Encarregado\n {\n setName(e.target.value);\n setErrors(prev => ({ ...prev, name: '' }));\n }}\n isInvalid={!!errors.name}\n />\n \n {errors.name ? errors.name[0] : ''}\n \n \n \n Nome da Empresa\n {\n setCompany(e.target.value);\n setErrors(prev => ({ ...prev, company: '' }));\n }}\n isInvalid={!!errors.company}\n placeholder=\"Digite o nome da empresa\"\n />\n \n {errors.company ? errors.company[0] : ''}\n \n \n \n Email\n {\n setEmail(e.target.value);\n setErrors(prev => ({ ...prev, email: '' }));\n }}\n isInvalid={!!errors.email}\n />\n \n {errors.email ? errors.email[0] : ''}\n \n \n \n Telefone\n {\n setPhone(e.target.value);\n setErrors(prev => ({ ...prev, phone: '' }));\n }}\n isInvalid={!!errors.phone}\n >\n {() => }\n \n \n {errors.phone ? errors.phone[0] : ''}\n \n \n \n
\n
\n
\n {/* Modal para mostrar mensagens de sucesso ou erro */}\n \n \n );\n};\n\nexport default ModalColeta;\n","import React, { useState } from 'react';\nimport { Modal, Form, Spinner, Button } from 'react-bootstrap';\nimport InputMask from 'react-input-mask';\nimport { sendCallMe } from '../services/apiService';\nimport CustomModal from './CustomModal';\nimport './css/Footer.css';\n\nconst ModalLigue = (\n {\n showCallModal,\n handleCloseCallModal\n }) => {\n\n const [phone, setPhone] = useState('');\n\n const [errors, setErrors] = useState({});\n const [loading, setLoading] = useState(false);\n\n // modal de alerta \n const [showModal, setShowModal] = useState(false);\n const [modalTitle, setModalTitle] = useState('');\n const [modalText, setModalText] = useState('');\n const handleCloseModal = () => setShowModal(false);\n\n const validateForm = () => {\n const newErrors = {};\n if (!phone) newErrors.phone = ['O telefone é obrigatório.'];\n setErrors(newErrors);\n return Object.keys(newErrors).length === 0;\n };\n\n const handleSubmit = async (event) => {\n event.preventDefault();\n\n if (!validateForm()) return; // não envia se houver erros\n\n setLoading(true);\n\n try {\n const response = await sendCallMe({\n phone\n });\n\n // Verifica se a resposta contém um sucesso\n if (response) {\n handleCloseCallModal();\n setModalTitle(response.title);\n setModalText(response.message);\n setShowModal(true);\n // Limpar campos após o envio\n setPhone('');\n setErrors({});\n }\n } catch (error) {\n let errorResponse = {};\n try {\n errorResponse = JSON.parse(error);\n } catch {\n errorResponse = { error: { message: 'Erro desconhecido' } };\n }\n\n setErrors(errorResponse.error?.details || { global: 'Ocorreu um erro desconhecido.' });\n if (!errorResponse.error?.details || typeof errorResponse.error?.details === \"string\") {\n setModalText(typeof errorResponse.error?.details === \"string\" ? errorResponse.error?.details : \"Ocorreu um erro desconhecido\");\n setModalTitle(\"Ocorreu um erro\");\n setShowModal(true);\n }\n\n } finally {\n setLoading(false);\n }\n };\n\n\n\n return (\n <>\n \n \n Quero que me liguem grátis\n \n \n
\n \n Telefone\n {\n setPhone(e.target.value);\n setErrors(prev => ({ ...prev, phone: '' }));\n }}\n isInvalid={!!errors.phone}\n >\n {() => }\n \n \n {errors.phone ? errors.phone[0] : ''}\n \n \n \n
\n
\n
\n {/* Modal para mostrar mensagens de sucesso ou erro */}\n \n \n );\n};\n\nexport default ModalLigue;\n","import React, { useState } from 'react';\nimport { Container, Row, Col, Button, Nav } from 'react-bootstrap';\nimport { useNavigate } from 'react-router-dom';\nimport { FontAwesomeIcon } from '@fortawesome/react-fontawesome';\nimport { faFacebook, faInstagram, faYoutube, faWhatsapp } from '@fortawesome/free-brands-svg-icons';\nimport './css/Footer.css';\nimport ModalColeta from './ModalColeta';\nimport ModalLigue from './ModalLigue';\n\nconst Footer = () => {\n const navigate = useNavigate();\n\n // Estado para controle dos modais\n const [showCallModal, setShowCallModal] = useState(false);\n const [showCollectionModal, setShowCollectionModal] = useState(false);\n\n const handleScrollToTarget = () => {\n navigate('/');\n setTimeout(() => {\n const element = document.getElementById('quem-somos');\n if (element) {\n element.scrollIntoView({ behavior: 'smooth' });\n }\n }, 100);\n };\n\n const handleCloseCallModal = () => setShowCallModal(false);\n const handleShowCallModal = () => setShowCallModal(true);\n\n const handleCloseCollectionModal = () => setShowCollectionModal(false);\n const handleShowCollectionModal = () => setShowCollectionModal(true);\n\n const currentYear = new Date().getFullYear();\n\n return (\n
\n \n \n \n \n \n \n \n \n \n \n \n \n

© Copyright 2005-{currentYear} | Todos os Direitos Reservados - {process.env.REACT_APP_NAME}.

\n \n
\n
\n\n {/* Modal para \"Quero que me liguem grátis\" */}\n \n {/* Modal para \"Solicitação de Coleta\" */}\n \n
\n );\n};\n\nexport default Footer;\n","import React from 'react';\nimport { Button, Nav } from 'react-bootstrap';\nimport { Link, NavLink, useNavigate, useLocation } from 'react-router-dom';\nimport { FontAwesomeIcon } from '@fortawesome/react-fontawesome';\nimport { faWhatsapp } from '@fortawesome/free-brands-svg-icons';\nimport './css/Header.css';\n\nconst Header = () => {\n const navigate = useNavigate();\n const location = useLocation();\n\n const handleScrollToAboutUs = (target) => {\n // Navegar para '/' apenas se a rota atual não for '/'\n if (location.pathname !== '/') {\n navigate('/');\n setTimeout(() => {\n const element = document.getElementById(target);\n if (element) {\n element.scrollIntoView({ behavior: 'smooth' });\n }\n }, 100);\n } else {\n // Se já estamos em '/', apenas rolar\n const element = document.getElementById(target);\n if (element) {\n element.scrollIntoView({ behavior: 'smooth' });\n }\n }\n };\n\n return (\n
\n
\n \n \"Passeei\n \n
\n \n
\n );\n};\n\nexport default Header;\n","import React from 'react';\nimport { FontAwesomeIcon } from '@fortawesome/react-fontawesome';\nimport { faWhatsapp } from '@fortawesome/free-brands-svg-icons';\nimport { faPhone } from '@fortawesome/free-solid-svg-icons';\n\nimport './css/FloatButtons.css';\nconst FloatButtons = () => {\n return (\n <>\n \n \n \n \n \n \n \n );\n};\n\nexport default FloatButtons;\n","import React from 'react';\nimport { Container, Row, Col } from 'react-bootstrap';\nimport { FontAwesomeIcon } from '@fortawesome/react-fontawesome';\nimport { faInstagram } from '@fortawesome/free-brands-svg-icons';\nimport { faPhone } from '@fortawesome/free-solid-svg-icons';\n\nimport './css/PhoneButtons.css';\nconst PhoneButtons = () => {\n return (\n \n \n \n \n \n \n
NOSSO INSTAGRAM
\n
@centraldasbateriasmaceio
\n
\n \n\n \n \n \n
LIGUE AGORA MÓVEL
\n
(82) 98849-0802
\n
\n \n\n \n \n \n
LIGUE AGORA FIXO
\n
(82) 3034-3354
\n
\n \n
\n
\n
\n );\n};\n\nexport default PhoneButtons;\n","import React from 'react';\nimport { Container, Row, Col, Image } from 'react-bootstrap';\nimport step1 from './../assets/images/step1.jpg';\nimport step2 from './../assets/images/step2.jpg';\nimport step3 from './../assets/images/step3.jpg';\nimport step4 from './../assets/images/step4.jpg';\n\nimport './css/Steps.css';\n\nconst Steps = () => {\n return (\n \n \n

\n Como Funciona?\n

\n \n \n
\n \"Passo\n
\n
PASSO 01
\n

Peça sua bateria do local que estiver e vamos até você.

\n \n\n \n
\n \"Passo\n
\n
PASSO 02
\n

\n Contate nossa central de vendas por WhatsApp, telefone ou e-mail para confirmar modelo e valor do produto.\n

\n \n\n \n
\n \"Passo\n
\n
PASSO 03
\n

Finalize seu pedido com nossos atendentes e é só aguardar a entrega.

\n \n\n \n
\n \"Passo\n
\n
PASSO 04
\n

\n Nossos técnicos estão habilitados a fazer a instalação com segurança, e após receberão o valor combinado.\n

\n \n
\n
\n
\n );\n};\n\nexport default Steps;\n","import React from 'react';\nimport { Container, Row, Col, Image } from 'react-bootstrap';\nimport america from './../assets/images/america.webp';\nimport tudor from './../assets/images/tudor.webp';\nimport heliar from './../assets/images/heliar.webp';\nimport moura from './../assets/images/moura.webp';\n\nimport './css/Products.css';\n\nconst Products = () => {\n return (\n \n \n

\n Produtos {process.env.REACT_APP_NAME}\n

\n \n \n
\n \"Passo\n
\n
Moura
\n \n\n \n
\n \"Passo\n
\n
Heliar
\n \n\n \n
\n \"Passo\n
\n
Tudor
\n \n\n \n
\n \"Passo\n
\n
America
\n \n
\n
\n
\n );\n};\n\nexport default Products;\n","import React from 'react';\nimport { Container, Row, Col, Image } from 'react-bootstrap';\nimport sobre from './../assets/images/sobre.webp';\nimport './css/AboutUs.css';\n\nconst AboutUs = () => {\n return (\n \n \n

\n Conheça um pouco mais sobre nós\n

\n \n \n
\n \"Fachada\"\n
\n \n \n

Somos uma empresa especializada na venda, instalação e manutenção preventiva de baterias para carros, caminhões, motos, maquinas agrícolas, embarcações náuticas, jet skys, grupos geradores, carros elétricos e sistemas estacionários (especificas para Nobreaks de informática e emergência).

\n

Dispomos de técnicos treinados nas principais fabricas de baterias do Brasil.

\n

Analisamos as baterias com equipamentos de alta tecnologia, proporcionando uma resposta elétrica mais precisa.

\n

Comercializamos as marcas de baterias mais conceituadas do mercado como Moura, Heliar, Pioneiro, Zetta, Tudor, Naja e outras.

\n

Facilitamos o pagamento nos cartões de crédito Visa, Master, Hiper e Dinners.

\n

Executamos serviços em motores de partida e alternadores de toda a linha automotiva leve e pesada 12 volts.

\n

Temos peças autoelétricas para motores de partida e alternadores de toda linha automotiva leve e pesada 12 volts. A nossa missão é oferecer soluções em diversas aplicações de baterias de maneira técnica e, sobretudo com ética. Respeitando e satisfazendo clientes, colaboradores, fornecedores e parceiros comerciais.

\n \n
\n
\n
\n );\n};\n\nexport default AboutUs;\n","import React, { useState } from 'react';\nimport { Container, Row, Col, Form, Button, Spinner } from 'react-bootstrap';\nimport { GoogleMap, LoadScript, Marker } from '@react-google-maps/api';\nimport InputMask from 'react-input-mask';\nimport { sendContact } from '../services/apiService';\nimport CustomModal from '../components/CustomModal';\nimport './css/Contact.css';\n\nconst Contact = () => {\n const [name, setName] = useState('');\n const [email, setEmail] = useState('');\n const [phone, setPhone] = useState('');\n const [message, setMessage] = useState('');\n const [errors, setErrors] = useState({});\n const [loading, setLoading] = useState(false);\n\n const [showModal, setShowModal] = useState(false);\n const [modalTitle, setModalTitle] = useState('');\n const [modalText, setModalText] = useState('');\n\n const mapStyles = {\n height: \"450px\",\n width: \"100%\"\n };\n\n const defaultCenter = {\n lat: -9.65686,\n lng: -35.715804\n };\n\n const validateForm = () => {\n const newErrors = {};\n if (!name) newErrors.name = ['O nome é obrigatório.'];\n if (!email) newErrors.email = ['O email é obrigatório.'];\n if (!phone) newErrors.phone = ['O telefone é obrigatório.'];\n if (!message) newErrors.message = ['A mensagem é obrigatória.'];\n setErrors(newErrors);\n return Object.keys(newErrors).length === 0;\n };\n\n const handleSubmit = async (event) => {\n event.preventDefault();\n\n if (!validateForm()) return;\n\n setLoading(true);\n\n try {\n const response = await sendContact({\n name,\n email,\n phone,\n message\n });\n\n // Verifica se a resposta contém um sucesso\n if (response) {\n setModalTitle(response.title);\n setModalText(response.message);\n setShowModal(true);\n // Limpar campos após o envio\n setName('');\n setEmail('');\n setPhone('');\n setMessage('');\n setErrors({});\n }\n } catch (error) {\n let errorResponse = {};\n try {\n errorResponse = JSON.parse(error);\n } catch {\n errorResponse = { error: { message: 'Erro desconhecido' } };\n }\n \n setErrors(errorResponse.error?.details || { global: 'Ocorreu um erro desconhecido.' });\n if (!errorResponse.error?.details || typeof errorResponse.error?.details === \"string\") {\n setModalText(typeof errorResponse.error?.details === \"string\" ? errorResponse.error?.details : \"Ocorreu um erro desconhecido\");\n setModalTitle(\"Ocorreu um erro\");\n setShowModal(true);\n }\n\n } finally {\n setLoading(false);\n }\n };\n\n const handleCloseModal = () => setShowModal(false);\n\n return (\n \n \n

Fale Conosco

\n \n \n \n \n \n \n \n \n \n
\n \n Nome\n {\n setName(e.target.value);\n setErrors(prev => ({ ...prev, name: '' }));\n }}\n isInvalid={!!errors.name}\n />\n \n {errors.name ? errors.name[0] : ''}\n \n \n \n Email\n {\n setEmail(e.target.value);\n setErrors(prev => ({ ...prev, email: '' }));\n }}\n isInvalid={!!errors.email}\n />\n \n {errors.email ? errors.email[0] : ''}\n \n \n \n Telefone\n {\n setPhone(e.target.value);\n setErrors(prev => ({ ...prev, phone: '' }));\n }}\n isInvalid={!!errors.phone}\n >\n {() => }\n \n \n {errors.phone ? errors.phone[0] : ''}\n \n \n \n Mensagem\n {\n setMessage(e.target.value);\n setErrors(prev => ({ ...prev, message: '' }));\n }}\n isInvalid={!!errors.message}\n />\n {errors.message ? errors.message[0] : ''}\n \n \n
\n \n
\n
\n\n {/* Modal para mostrar mensagens de sucesso ou erro */}\n \n
\n );\n};\n\nexport default Contact;\n","import React from 'react';\nimport 'bootstrap/dist/css/bootstrap.min.css';\nimport { Helmet } from 'react-helmet';\nimport { Container, Button, Row, Col, Image } from 'react-bootstrap';\nimport { FontAwesomeIcon } from '@fortawesome/react-fontawesome';\nimport { faWhatsapp } from '@fortawesome/free-brands-svg-icons';\nimport Footer from '../components/Footer';\nimport Header from '../components/Header';\nimport './css/index.css';\nimport FloatButtons from '../components/FloatButtons';\nimport PhoneButtons from '../components/PhoneButtons';\nimport Steps from '../components/Steps';\nimport Products from '../components/Products';\nimport AboutUs from '../components/AboutUs';\nimport Contact from '../components/Contact';\n\nconst Index = () => {\n\n return (\n <>\n \n \n \n {process.env.REACT_APP_NAME}\n \n \n
\n \n \n \n \n \n

Bateria em maceió

\n \n \n

\n Ficou sem bateria e precisa de ajuda? Não se preocupe! Estamos prontos para resolver seu problema de forma rápida e segura.\n

\n \n \n \n \n \n

Parcele em até 8x sem juros

\n \n
Horário de Funcionamento
\n

Seg à Seg 08:00 - 00:00

\n

(Incluindo Domingos e Feriados)

\n \n \n \n \n
\n \n
\n
\n
\n \n \n \n \n \n \n