PageSourceSearch

https://faf.co.ao/assets/Contact-DA48wnan.js

js faf.co.ao collected 2026-10-02 19:10:14 UTC 6,143 bytes, 2 lines download raw bytes

1import{r as p,j as e}from"./vendor-react-core-_0sZDOLQ.js";import{j as i,o as c,B as u}from"./index-j07E1qHv.js";import{I as m}from"./input-rti45mgP.js";import{T as y}from"./textarea-CHKzP3UK.js";import{L as n}from"./label-7HT5__eZ.js";import{C as d,a as h}from"./card-DHmBnTdH.js";import{C as f}from"./CleanHero-B9_2ARuE.js";import{P as N,aN as v,m as w,l as C,F as E,I as F,j as k,a3 as A,a as I}from"./vendor-lucide-Ddz0eB7N.js";import{m as r}from"./vendor-framer-motion-C1oRD-X5.js";import"./vendor-radix-CFmJ1img.js";import"./vendor-utils-BRu4i-LD.js";import"./vendor-supabase-Ca6cp8v2.js";const L=[{icon:v,title:"Morada",details:i.addressLines},{icon:w,title:"Email",details:[i.primaryEmail,i.secondaryEmail]},{icon:C,title:"Atendimento",details:i.supportHoursLines}],P=[{name:"Facebook",icon:E,href:c.facebook,color:"hover:bg-blue-600"},{name:"Instagram",icon:F,href:c.instagram,color:"hover:bg-pink-600"},{name:"LinkedIn",icon:k,href:c.linkedin,color:"hover:bg-blue-700"}];function _(){const[s,t]=p.useState({name:"",email:"",subject:"",message:""}),[g,x]=p.useState(!1),j=a=>{a.preventDefault();const o=[`Nome: ${s.name}`,`Email de resposta: ${s.email}`,"",s.message].join(`
2`),l=`mailto:${i.primaryEmail}?subject=${encodeURIComponent(s.subject)}&body=${encodeURIComponent(o)}`;x(!0),window.location.href=l};return e.jsxs("main",{className:"min-h-screen bg-gray-50",children:[e.jsx(f,{eyebrow:"Fale Connosco",title:"Contacte-nos",description:"Estamos disponíveis para responder às suas questões e receber as suas sugestões. Entre em contacto connosco através dos canais abaixo.",icon:N}),e.jsx("section",{className:"py-16",children:e.jsx("div",{className:"container mx-auto px-4",children:e.jsxs("div",{className:"grid grid-cols-1 lg:grid-cols-3 gap-8",children:[e.jsxs("div",{className:"space-y-6",children:[L.map((a,o)=>e.jsx(r.div,{initial:{opacity:0,x:-20},animate:{opacity:1,x:0},transition:{delay:o*.1},children:e.jsx(d,{className:"border-0 shadow-sm hover:shadow-md transition-shadow",children:e.jsxs(h,{className:"p-6 flex items-start gap-4",children:[e.jsx("div",{className:"w-12 h-12 bg-red-100 rounded-xl flex items-center justify-center flex-shrink-0",children:e.jsx(a.icon,{className:"w-6 h-6 text-red-600"})}),e.jsxs("div",{children:[e.jsx("h3",{className:"font-semibold text-gray-900 mb-1",children:a.title}),a.details.map((l,b)=>e.jsx("p",{className:"text-gray-600 text-sm",children:l},b))]})]})})},a.title)),e.jsx(r.div,{initial:{opacity:0,x:-20},animate:{opacity:1,x:0},transition:{delay:.4},children:e.jsx(d,{className:"border-0 shadow-sm",children:e.jsxs(h,{className:"p-6",children:[e.jsx("h3",{className:"font-semibold text-gray-900 mb-4",children:"Redes Sociais"}),e.jsx("div",{className:"flex gap-3",children:P.map(a=>e.jsx("a",{href:a.href,target:"_blank",rel:"noreferrer","aria-label":a.name,className:`w-12 h-12 bg-gray-100 rounded-xl flex items-center justify-center text-gray-600 ${a.color} hover:text-white transition-colors`,children:e.jsx(a.icon,{className:"w-5 h-5"})},a.name))})]})})})]}),e.jsx(r.div,{initial:{opacity:0,y:20},animate:{opacity:1,y:0},transition:{delay:.2},className:"lg:col-span-2",children:e.jsx(d,{className:"border-0 shadow-sm",children:e.jsx(h,{className:"p-8",children:g?e.jsxs(r.div,{initial:{opacity:0,scale:.9},animate:{opacity:1,scale:1},className:"text-center py-12",children:[e.jsx("div",{className:"w-20 h-20 bg-green-100 rounded-full flex items-center justify-center mx-auto mb-6",children:e.jsx(A,{className:"w-10 h-10 text-green-600"})}),e.jsx("h3",{className:"text-2xl font-bold text-gray-900 mb-2",children:"Email preparado"}),e.jsx("p",{className:"text-gray-600 mb-6",children:"Abrimos o seu programa de email com a mensagem preenchida. Confirme o envio por lá."}),e.jsx(u,{onClick:()=>x(!1),variant:"outline",className:"rounded-full",children:"Preparar outro email"})]}):e.jsxs(e.Fragment,{children:[e.jsx("h2",{className:"text-2xl font-bold text-gray-900 mb-2",children:"Envie-nos uma mensagem"}),e.jsx("p",{className:"text-gray-600 mb-8",children:"Preencha o formulário para preparar uma mensagem dirigida ao contacto institucional da FAF."}),e.jsxs("form",{onSubmit:j,className:"space-y-6",children:[e.jsxs("div",{className:"grid grid-cols-1 md:grid-cols-2 gap-6",children:[e.jsxs("div",{className:"space-y-2",children:[e.jsx(n,{htmlFor:"name",children:"Nome Completo"}),e.jsx(m,{id:"name",placeholder:"Seu nome",value:s.name,onChange:a=>t({...s,name:a.target.value}),required:!0,className:"h-12 rounded-xl"})]}),e.jsxs("div",{className:"space-y-2",children:[e.jsx(n,{htmlFor:"email",children:"Email"}),e.jsx(m,{id:"email",type:"email",placeholder:"[email protected]",value:s.email,onChange:a=>t({...s,email:a.target.value}),required:!0,className:"h-12 rounded-xl"})]})]}),e.jsxs("div",{className:"space-y-2",children:[e.jsx(n,{htmlFor:"subject",children:"Assu
2nto"}),e.jsx(m,{id:"subject",placeholder:"Assunto da mensagem",value:s.subject,onChange:a=>t({...s,subject:a.target.value}),required:!0,className:"h-12 rounded-xl"})]}),e.jsxs("div",{className:"space-y-2",children:[e.jsx(n,{htmlFor:"message",children:"Mensagem"}),e.jsx(y,{id:"message",placeholder:"Escreva a sua mensagem...",value:s.message,onChange:a=>t({...s,message:a.target.value}),required:!0,className:"min-h-[150px] rounded-xl resize-none"})]}),e.jsx(u,{type:"submit",className:"w-full h-12 bg-red-600 hover:bg-red-700 text-white rounded-xl text-lg",children:e.jsxs("span",{className:"flex items-center gap-2",children:[e.jsx(I,{className:"w-5 h-5"}),"Preparar Email"]})})]})]})})})})]})})}),e.jsx("section",{className:"py-12 bg-white",children:e.jsx("div",{className:"container mx-auto px-4",children:e.jsx(r.div,{initial:{opacity:0,y:20},whileInView:{opacity:1,y:0},viewport:{once:!0},className:"rounded-3xl overflow-hidden shadow-lg h-[400px] bg-gray-200",children:e.jsx("iframe",{src:"https://www.google.com/maps?q=Urbaniza%C3%A7%C3%A3o%20Nova%20Vida%20N.%C2%BA%2053%2C%20Luanda%2C%20Angola&output=embed",width:"100%",height:"100%",style:{border:0},allowFullScreen:"",loading:"lazy",referrerPolicy:"no-referrer-when-downgrade",title:"Localização FAF"})})})})]})}export{_ as default};

Line numbers count LF bytes from the start of the resource, as the search results do. Vendor segments are library code the classifier recognised; they are stored but not indexed. Bytes are shown as Latin1 characters, one per byte.