1import{t as e}from"./jsx-runtime-DGeXAQPT.js";import{t}from"./link-VOFt2yun.js";import{C as n,k as r}from"./index-Du2F0RY9.js";var i=e();function a(){let{artist:e}=n.useLoaderData(),a=[...e.paintings].sort((e,t)=>e.title.localeCompare(t.title)),o=new Map;for(let e of a){let t=(e.title[0]??`#`).toUpperCase(),n=o.get(t)??[];n.push(e),o.set(t,n)}let s=Array.from(o.keys());return(0,i.jsxs)(`div`,{className:`mx-auto max-w-4xl px-6 py-12`,children:[(0,i.jsx)(`header`,{className:`border-b border-border pb-6`,children:(0,i.jsx)(`h1`,{className:`font-display text-3xl text-foreground md:text-4xl`,children:`Sitemap In Alphabetical Order`})}),(0,i.jsx)(`nav`,{className:`mt-6 flex flex-wrap gap-2 text-sm`,"aria-label":`Letters`,children:s.map(e=>(0,i.jsx)(`a`,{href:`#letter-${e}`,className:`rounded border border-border px-2 py-1 text-accent`,children:e},e))}),(0,i.jsx)(`div`,{className:`mt-10 space-y-10`,children:s.map(e=>(0,i.jsxs)(`section`,{id:`letter-${e}`,children:[(0,i.jsxs)(`h2`,{className:`font-display text-xl text-foreground`,children:[`LETTER â`,e,`â`]}),(0,i.jsx)(`ul`,{className:`mt-3 grid grid-cols-1 gap-1 md:grid-cols-2`,children:o.get(e).map(e=>(0,i.jsx)(`li`,{children:(0,i.jsx)(t,{to:r(e),className:`text-accent hover:underline`,children:e.title})},e.slug))})]},e))})]})}export{a 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.