1import{r as l,s as r,j as e,L as o}from"./index-CqtqAnFJ.js";import{H as i,P as n,M as c,F as m}from"./Footer-Ue_UqbP1.js";function h(){const[a,t]=l.useState([]);return l.useEffect(()=>{r.from("agents").select("id,slug,full_name,title,role,phone,email,photo_url,tagline,google_rating,google_reviews").order("display_order").then(({data:s})=>t(s??[]))},[]),e.jsxs("div",{className:"min-h-screen bg-background",children:[e.jsx(i,{}),e.jsx("section",{className:"bg-navy py-20 text-navy-foreground",children:e.jsxs("div",{className:"mx-auto max-w-7xl px-4 sm:px-6 lg:px-8",children:[e.jsx("h1",{className:"text-5xl font-extrabold",children:"NaÅ¡i makléÅi v Plzni"}),e.jsx("p",{className:"mt-3 max-w-2xl text-white/70",children:"Tým certifikovaných realitnÃch makléÅů s dlouholetou praxà v PlzeÅském kraji."})]})}),e.jsx("div",{className:"mx-auto max-w-7xl px-4 py-16 sm:px-6 lg:px-8",children:e.jsx("div",{className:"grid gap-8 md:grid-cols-2 lg:grid-cols-3",children:a.map(s=>e.jsxs(o,{to:"/makleri/$slug",params:{slug:s.slug},className:"group overflow-hidden rounded-3xl bg-card shadow-soft transition-all hover:-translate-y-1 hover:shadow-elevated",children:[e.jsx("div",{className:"aspect-[4/5] overflow-hidden bg-navy",children:s.photo_url&&e.jsx("img",{src:s.photo_url,alt:`Realitnà makléŠ${s.full_name} â RE/MAX Cross PlzeÅ`,loading:"lazy",width:800,height:1024,className:"h-full w-full object-cover transition-transform duration-500 group-hover:scale-105"})}),e.jsxs("div",{className:"p-6",children:[e.jsx("div",{className:"text-xs font-bold uppercase tracking-wider text-primary",children:s.role}),e.jsx("h3",{className:"mt-1 text-2xl font-bold text-navy",children:s.full_name}),s.tagline&&e.jsxs("p",{className:"mt-2 italic text-muted-foreground",children:['"',s.tagline,'"']}),e.jsxs("div",{className:"mt-4 flex flex-col gap-1 text-sm text-muted-foreground",children:[s.phone&&e.jsxs("span",{className:"flex items-center gap-2",children:[e.jsx(n,{className:"h-3.5 w-3.5"}),s.phone]}),s.email&&e.jsxs("span",{className:"flex items-center gap-2",children:[e.jsx(c,{className:"h-3.5 w-3.5"}),s.email]})]})]})]},s.id))})}),e.jsx(m,{})]})}export{h as component};
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.