1import{j as s,m as n}from"./vendor-motion-D_eWtC2i.js";import{u as c}from"./usePartners-BZ3YDdtL.js";import{L as r,m,F as d,I as x,J as h,K as p,ae as g,P as u,B as j,r as N}from"./index-BB35H7Wo.js";import{S as t}from"./skeleton-BMFUsGhM.js";import{u as f}from"./vendor-react-C5-rmG_I.js";import"./publicPartners-DrOIGnAr.js";import"./vendor-supabase-CfDyWxaF.js";import"./vendor-charts-BzSnLuq2.js";const z=()=>{const{partners:a,isLoading:i}=c(!1),o=f();return i?s.jsx(r,{title:"Parceiros",description:"Conheça nossos parceiros",children:s.jsx("div",{className:"pt-8 bg-gradient-to-b from-pink-50 to-white min-h-screen",children:s.jsxs("div",{className:"container mx-auto px-4 sm:px-6 lg:px-8 py-16",children:[s.jsxs("div",{className:"text-center mb-12",children:[s.jsx(t,{className:"h-12 w-64 mx-auto mb-4"}),s.jsx(t,{className:"h-6 w-96 mx-auto"})]}),s.jsx("div",{className:"grid grid-cols-1 md:grid-cols-2 lg:grid-cols-3 gap-6",children:[1,2,3,4,5,6].map(e=>s.jsx(t,{className:"h-96"},e))})]})})}):s.jsx(r,{title:"Nossos Parceiros",description:"Conheça as empresas que confiam em nosso trabalho e fazem parte da nossa rede de parceiros",children:s.jsx("div",{className:"pt-8 bg-gradient-to-b from-pink-50 to-white min-h-screen",children:s.jsxs("div",{className:"container mx-auto px-4 sm:px-6 lg:px-8 py-16",children:[s.jsxs(n.div,{initial:{opacity:0,y:20},animate:{opacity:1,y:0},transition:{duration:.5},className:"text-center mb-12",children:[s.jsx("h1",{className:"text-xl sm:text-2xl lg:text-3xl font-bold text-gray-900 mb-4",children:"Nossos Parceiros"}),s.jsx("p",{className:"text-sm sm:text-base lg:text-lg text-gray-600 max-w-2xl mx-auto",children:"Conheça as empresas que confiam em nosso trabalho e fazem parte da nossa rede de parceiros"})]}),a&&a.length>0?s.jsx("div",{className:"grid grid-cols-1 md:grid-cols-2 lg:grid-cols-3 gap-6",children:a.map((e,l)=>s.jsxs(m,{className:"group hover:shadow-xl transition-all duration-300 cursor-pointer hover-scale animate-fade-in",style:{animationDelay:`${l*.1}s`},onClick:()=>o(`/parceiros/${e.slug}`),children:[s.jsxs(d,{children:[e.logo&&s.jsx("div",{className:"mb-4 flex justify-center bg-muted rounded-lg p-4",children:s.jsx("img",{src:e.logo,alt:`Logo ${e.name}`,className:"h-24 w-auto object-contain group-hover:scale-110 transition-transform duration-300"})}),s.jsx(x,{className:"text-xl group-hover:text-primary transition-colors",children:e.name}),e.description&&s.jsx(h,{className:"line-clamp-2",children:e.description})]}),s.jsxs(p,{className:"space-y-3",children:[e.about&&s.jsx("p",{className:"text-sm text-muted-foreground line-clamp-3",children:e.about}),s.jsxs("div",{className:"space-y-2 min-h-[80px]",children:[e.location&&s.jsxs("div",{className:"flex items-center gap-2 text-sm text-muted-foreground",children:[s.jsx(g,{className:"h-4 w-4 flex-shrink-0 text-primary"}),s.jsx("span",{className:"truncate",children:e.location})]}),e.phone&&s.jsxs("div",{className:"flex items-center gap-2 text-sm text-muted-foreground",children:[s.jsx(u,{className:"h-4 w-4 flex-shrink-0 text-primary"}),s.jsx("span",{children:e.phone})]})]}),s.jsxs(j,{variant:"outline",size:"sm",className:"w-full mt-4 group-hover:bg-primary group-hover:text-primary-foreground transition-colors",children:["Ver Detalhes",s.jsx(N,{className:"ml-2 h-4 w-4 group-hover:translate-x-1 transition-transform"})]})]})]},e.id))}):s.jsx("div",{className:"text-center py-12",children:s.jsx("p",{className:"text-muted-foreground text-lg",children:"Ainda não temos parceiros cadastrados."})})]})})})};export{z 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.