1import{j as e}from"./react-core-DoLPJglX.js";import{L as l}from"./router-D1AqrP3c.js";import{aJ as o,I as p,k as i,a2 as u,f as g,a6 as h,z as b,B as f}from"./index-0RnzAjNp.js";import{A as j}from"./arrow-right-Bx2gx_Ku.js";import{Z as N}from"./zap-B8yUB89f.js";import{R as v}from"./rocket-sguSRBnC.js";import{M as k}from"./message-square-DTTGFHhO.js";import"./ui-BfgHxYAM.js";import"./supabase-BinY0f6C.js";import"./query-BbjvRfSr.js";const w={feature:{label:"Feature",className:"bg-emerald-500/10 text-emerald-600 dark:text-emerald-400 border-emerald-500/20",icon:v,dot:"bg-emerald-500"},improvement:{label:"Improvement",className:"bg-blue-500/10 text-blue-600 dark:text-blue-400 border-blue-500/20",icon:N,dot:"bg-blue-500"},fix:{label:"Fix",className:"bg-amber-500/10 text-amber-600 dark:text-amber-400 border-amber-500/20",icon:h,dot:"bg-amber-500"},community:{label:"Community",className:"bg-purple-500/10 text-purple-600 dark:text-purple-400 border-purple-500/20",icon:g,dot:"bg-purple-500"}},z=()=>{const n=o.updates,m=n[0]?.version||o.currentVersion,d=n.reduce((t,a)=>{const s=new Date(a.date).toLocaleDateString("en-US",{month:"long",year:"numeric"});return t[s]||(t[s]=[]),t[s].push(a),t},{});return e.jsxs("div",{className:"min-h-screen bg-background",children:[e.jsx(p,{title:"Changelog | Tiger Den",description:"What's new in Tiger Den. Feature releases, improvements, and platform updates for the maker community.",keywords:["changelog","updates","release notes","Tiger Den","new features"]}),e.jsx("main",{className:"pt-24 pb-16",children:e.jsxs("div",{className:"container mx-auto px-6 max-w-3xl",children:[e.jsxs("div",{className:"mb-16",children:[e.jsxs("div",{className:"flex items-center gap-3 mb-6",children:[e.jsx("h1",{className:"text-4xl md:text-5xl font-display font-bold tracking-tight",children:"Changelog"}),e.jsxs(i,{variant:"outline",className:"font-mono text-xs h-6",children:["v",m]})]}),e.jsx("p",{className:"text-lg text-muted-foreground max-w-xl",children:"New features, improvements, and fixes shipped to Tiger Den."}),e.jsx("div",{className:"mt-6 flex items-center gap-4",children:e.jsxs(l,{to:"/suggestions",className:"text-sm text-muted-foreground hover:text-foreground transition-colors flex items-center gap-1.5",children:[e.jsx(u,{className:"h-4 w-4"}),"Request a feature",e.jsx(j,{className:"h-3 w-3"})]})})]}),e.jsx("div",{className:"space-y-16",children:Object.entries(d).map(([t,a])=>e.jsxs("section",{children:[e.jsx("h2",{className:"text-sm font-medium text-muted-foreground uppercase tracking-widest mb-8 sticky top-20 bg-background/80 backdrop-blur-sm py-2 z-10",children:t}),e.jsx("div",{className:"space-y-12",children:a.map(s=>{const r=w[s.type];return e.jsxs("article",{className:"relative pl-8 border-l-2 border-border",children:[e.jsx("div",{className:`absolute -left-[7px] top-1.5 h-3 w-3 rounded-full ${r.dot} ring-4 ring-background`}),e.jsxs("div",{className:"flex flex-wrap items-center gap-2.5 mb-2",children:[e.jsx(i,{variant:"outline",className:`text-[11px] font-medium ${r.className}`,children:r.label}),e.jsxs("span",{className:"text-xs text-muted-foreground font-mono",children:["v",s.version]}),e.jsx("span",{className:"text-xs text-muted-foreground",children:new Date(s.date).toLocaleDateString("en-US",{month:"short",day:"numeric"})})]}),e.jsxs("h3",{className:"text-xl font-semibold mb-3 tracking-tight",children:[s.title,s.suggestedBy&&e.jsxs("span",{className:"inline-flex items-center gap-1 ml-2.5 text-xs font-medium text-pink-600 dark:text-pink-400 bg-pink-500/10 border border-pink-500/20 rounded-full px-2 py-0.5 align-middle",children:[e.jsx(b,{className:"h-3 w-3 fill-current"}),"Suggested by a member"]})]}),e.jsx("ul",{className:"space-y-2",children:s.highlights.map((c,x)=>e.jsxs("li",{className:"text-sm text-muted-foreground leading-relaxed flex gap-2.5",children:[e.jsx("span",{className:"text-foreground/30 select-none mt-0.5",children:"â"}),e.jsx("span",{children:c})]},x))})]},s.version)})})]},t))}),e.jsxs("div",{className:"mt-20 pt-8 border-t text-center",children:[e.jsx("p",{className:"text-sm text-muted-foreground mb-4",children:"Have a feature request or found a bug?"}),e.jsx(l,{to:"/suggestions",children:e.jsxs(f,{variant:"outline",size:"sm",className:"gap-2",children:[e.jsx(k,{className:"h-4 w-4"}),"Send Feedback"]})})]})]})})]})};export{z 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.