import{o as e}from"./useStore-BLH_7XFg.js";import{T as t,_ as n,b as r,u as i}from"./dist-C9VbCov8.js";import{t as a}from"./useSuspenseQuery-0pRt0U_3.js";import{t as o}from"./map-pin-BF0RZ4iX.js";import{m as s,p as c,s as l}from"./index-C4A4GzcU.js";var u=r(`instagram`,[[`rect`,{width:`20`,height:`20`,x:`2`,y:`2`,rx:`5`,ry:`5`,key:`2e1cvw`}],[`path`,{d:`M16 11.37A4 4 0 1 1 12.63 8 4 4 0 0 1 16 11.37z`,key:`9exkf1`}],[`line`,{x1:`17.5`,x2:`17.51`,y1:`6.5`,y2:`6.5`,key:`r4j83e`}]]),d=r(`phone`,[[`path`,{d:`M13.832 16.568a1 1 0 0 0 1.213-.303l.355-.465A2 2 0 0 1 17 15h3a2 2 0 0 1 2 2v3a2 2 0 0 1-2 2A18 18 0 0 1 2 4a2 2 0 0 1 2-2h3a2 2 0 0 1 2 2v3a2 2 0 0 1-.8 1.6l-.468.351a1 1 0 0 0-.292 1.233 14 14 0 0 0 6.392 6.384`,key:`9njp5v`}]]),f=e();function p(){let{data:e}=a(l);return(0,f.jsxs)(s,{children:[(0,f.jsx)(c,{title:`Kontakt`,intro:`Salon lepote u centru Novog Sada.`}),(0,f.jsxs)(`div`,{className:`mx-auto grid max-w-5xl gap-10 px-4 py-10 md:grid-cols-2`,children:[(0,f.jsxs)(`div`,{className:`space-y-4`,children:[(0,f.jsx)(`h2`,{className:`text-2xl`,children:`Švonja Beauty`}),(0,f.jsxs)(`div`,{className:`space-y-3 text-muted-foreground`,children:[(0,f.jsxs)(`p`,{className:`flex items-start gap-2`,children:[(0,f.jsx)(o,{className:`mt-0.5 h-4 w-4 text-primary shrink-0`}),(0,f.jsx)(`span`,{children:e.salon_address||n.address})]}),e.salon_phone&&(0,f.jsxs)(`p`,{className:`flex items-center gap-2`,children:[(0,f.jsx)(d,{className:`h-4 w-4 text-primary shrink-0`}),(0,f.jsx)(`a`,{href:`tel:${e.salon_phone}`,className:`hover:text-primary`,children:e.salon_phone})]}),e.salon_instagram&&(0,f.jsxs)(`p`,{className:`flex items-center gap-2`,children:[(0,f.jsx)(u,{className:`h-4 w-4 text-primary shrink-0`}),(0,f.jsxs)(`a`,{href:`https://instagram.com/${e.salon_instagram.replace(/^@/,``)}`,target:`_blank`,rel:`noreferrer`,className:`hover:text-primary`,children:[`@`,e.salon_instagram.replace(/^@/,``)]})]})]}),(0,f.jsxs)(`div`,{children:[(0,f.jsx)(`h3`,{className:`text-lg mt-6`,children:`Radno vreme`}),(0,f.jsxs)(`ul`,{className:`mt-2 text-sm text-muted-foreground space-y-1`,children:[(0,f.jsx)(`li`,{children:`Pon – Pet: 09:00 – 19:00`}),(0,f.jsx)(`li`,{children:`Subota: 09:00 – 15:00`}),(0,f.jsx)(`li`,{children:`Nedelja: neradno`})]})]}),(0,f.jsxs)(`div`,{children:[(0,f.jsx)(`h3`,{className:`text-lg mt-6`,children:`Kako doći`}),(0,f.jsx)(`p`,{className:`mt-1 text-sm text-muted-foreground`,children:`Salon se nalazi u centru Novog Sada. U blizini je više autobuskih linija i parking mesta.`})]}),(0,f.jsx)(i,{asChild:!0,size:`lg`,className:`mt-4`,children:(0,f.jsx)(t,{to:`/zakazivanje`,children:`Zakaži termin`})})]}),(0,f.jsx)(`div`,{className:`overflow-hidden rounded-2xl border border-border/60`,children:(0,f.jsx)(`iframe`,{title:`Mapa`,src:n.mapEmbed,className:`h-full min-h-[400px] w-full`,loading:`lazy`})})]})]})}export{p as component};