import{r as e}from"./rolldown-runtime-S-ySWqyJ.js";import{i as t,r as n}from"./framework-CXnKph_e.js";import{t as r}from"./link-BoC-zFZC.js";import{a as i,r as a}from"./clinic-RzHQAS4L.js";import{n as o,t as s}from"./InnerPage-D77o7cMS.js";var c=e(t(),1),l=n();function u(){let[e,t]=(0,c.useState)(`All`),n=e===`All`?a:a.filter(t=>t.category===e);return(0,l.jsxs)(o,{children:[(0,l.jsx)(s,{kicker:`Complete care`,title:`Treatments, tailored to you.`,copy:`Explore modern restorative, cosmetic and orthodontic care with clear next steps.`}),(0,l.jsxs)(`section`,{className:`listing`,children:[(0,l.jsx)(`div`,{className:`filters`,children:[`All`,`Restorative`,`Cosmetic`,`Orthodontic`].map(n=>(0,l.jsx)(`button`,{className:e===n?`active`:``,onClick:()=>t(n),children:n},n))}),(0,l.jsx)(`div`,{className:`treatment-grid`,children:n.map(e=>(0,l.jsxs)(`article`,{children:[(0,l.jsx)(`img`,{src:`/assets/${e.image}`,alt:``}),(0,l.jsx)(`small`,{children:e.category}),(0,l.jsx)(`h2`,{children:e.title}),(0,l.jsx)(`p`,{children:e.summary}),(0,l.jsxs)(`div`,{children:[(0,l.jsx)(r,{href:`/treatment-detail?slug=${e.slug}`,children:`Learn more →`}),(0,l.jsx)(`a`,{href:i(`Hello, I want to ask about ${e.title}.`),children:`Ask on WhatsApp`})]})]},e.slug))})]})]})}export{u as default};