1import{j as e,$ as d}from"./app-Ce8cAmW-.js";import{M as i}from"./main-layout-C-X_DRHS.js";import{C as o,a as c}from"./card-BX0hYp-V.js";import{B as n}from"./badge-BdOe8ugd.js";import{M as l}from"./map-pin-DDQYNcJ0.js";import{C as x}from"./calendar-BZX8ChDG.js";/* empty css */import"./index-skiHflQy.js";import"./primary-button-hvRD1VpQ.js";import"./index-BLDRET_f.js";function w({monuments:a,title:s,description:t}){return e.jsxs(i,{title:s,description:t,keywords:"approved monuments, 7 wonders, competition, winners",children:[e.jsx(d,{title:s}),e.jsxs("div",{className:"min-h-screen bg-background",children:[e.jsx("section",{className:"bg-gradient-to-br from-background via-background/95 to-primary/5 py-16 lg:py-24",children:e.jsx("div",{className:"container mx-auto px-4",children:e.jsxs("div",{className:"max-w-4xl mx-auto text-center",children:[e.jsx("h1",{className:"text-4xl md:text-6xl lg:text-7xl font-bold bg-gradient-to-r from-primary via-primary/80 to-primary/60 bg-clip-text text-transparent mb-6",children:s}),e.jsx("p",{className:"text-xl md:text-2xl text-muted-foreground max-w-3xl mx-auto leading-relaxed",children:t})]})})}),e.jsx("section",{className:"py-16 lg:py-24",children:e.jsx("div",{className:"container mx-auto px-4",children:a.data.length>0?e.jsxs(e.Fragment,{children:[e.jsx("div",{className:"grid grid-cols-1 md:grid-cols-2 lg:grid-cols-3 gap-8",children:a.data.map(r=>e.jsxs(o,{className:"group hover:shadow-xl transition-all duration-300 overflow-hidden",children:[e.jsx("div",{className:"aspect-video overflow-hidden bg-muted",children:r.media&&r.media.length>0?e.jsx("img",{src:r.media[0].preview_url||r.media[0].original_url,alt:r.name,className:"w-full h-full object-cover group-hover:scale-105 transition-transform duration-300"}):e.jsx("div",{className:"w-full h-full flex items-center justify-center bg-gradient-to-br from-muted to-muted/50",children:e.jsx(l,{className:"h-12 w-12 text-muted-foreground"})})}),e.jsx(c,{className:"p-6",children:e.jsxs("div",{className:"space-y-4",children:[e.jsx("div",{className:"space-y-2",children:e.jsxs("div",{className:"flex items-start justify-between gap-2",children:[e.jsx("h3",{className:"text-xl font-bold text-foreground line-clamp-2",children:r.name}),e.jsx(n,{variant:"secondary",className:"shrink-0",children:"Approved"})]})}),e.jsx("p",{className:"text-muted-foreground line-clamp-3 leading-relaxed",children:r.description}),e.jsxs("div",{className:"flex items-center gap-2 text-sm text-muted-foreground pt-2 border-t",children:[e.jsx(x,{className:"h-4 w-4"}),e.jsxs("span",{children:["Submitted ",new Date(r.created_at).toLocaleDateString()]})]})]})})]},r.id))}),a.last_page>1&&e.jsx("div",{className:"mt-12 text-center",children:e.jsxs("p",{className:"text-muted-foreground",children:["Showing ",a.data.length," of ",a.total," approved monuments",a.current_page<a.last_page&&e.jsxs("span",{children:[" ⢠Page ",a.current_page," of ",a.last_page]})]})})]}):e.jsx("div",{className:"text-center py-16",children:e.jsxs("div",{className:"max-w-md mx-auto",children:[e.jsx(l,{className:"h-16 w-16 mx-auto mb-6 text-muted-foreground"}),e.jsx("h3",{className:"text-2xl font-bold text-foreground mb-4",children:"No Approved Monuments Yet"}),e.jsx("p",{className:"text-muted-foreground mb-8",children:"Monument applications are currently being reviewed. Check back soon to see the approved monuments!"})]})})})})]})]})}export{w 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.