1import{r as n,j as e,L as c}from"./react-DiNCFKYz.js";import{H as b}from"./index-BnVcqLrd.js";import{u as m,L as v}from"./Layout-rPgI-u9P.js";import{B as u}from"./button-CWgRMnCY.js";import{C as N,a as R}from"./card-bLr9bz5T.js";import{I as C}from"./input-ruC25BM1.js";import{B as g}from"./badge-rv60utJw.js";import{F as S,R as D}from"./ResourcePagination-fwht020G.js";import{R as L}from"./reveal-group-CJGGN_Zn.js";import{m as F}from"./motion-CC8yCw--.js";import{aq as k,h as P,e as E,X as B,A as p}from"./icons-BrZlZ20t.js";import"./rightdata-gradient-white-BmTqfyDg.js";import"./index-D3A_p7Ut.js";import"./useRevealAnimation-BIIzyZUo.js";const d=6,J=()=>{const[s,j]=n.useState(""),[i,x]=n.useState(1),a=n.useMemo(()=>m.filter(t=>s.trim()===""||t.title.toLowerCase().includes(s.toLowerCase())||t.company.toLowerCase().includes(s.toLowerCase())||t.tags.some(r=>r.toLowerCase().includes(s.toLowerCase()))),[s]),o=m[0],f=n.useMemo(()=>{const r=s.trim()!==""?a:a.slice(1),h=(i-1)*d;return r.slice(h,h+d)},[a,i,s]),y=n.useMemo(()=>{const r=s.trim()!==""?a.length:a.length-1;return Math.ceil(r/d)},[a,s]),l=t=>{j(t),x(1)},w=!s&&i===1;return e.jsxs(v,{children:[e.jsxs(b,{children:[e.jsx("meta",{property:"og:title",content:"Enterprise Data Management Case Studies | RightData"}),e.jsx("meta",{property:"og:description",content:"Real customer success stories: data quality automation, governance, and observability results."}),e.jsx("meta",{property:"og:type",content:"website"}),e.jsx("meta",{property:"og:url",content:"https://www.getrightdata.com/resources/use-cases"}),e.jsx("meta",{property:"og:image",content:"https://www.getrightdata.com/og-rightdata-brand-20260623.png"}),e.jsx("meta",{property:"og:site_name",content:"RightData"}),e.jsx("meta",{name:"twitter:card",content:"summary_large_image"}),e.jsx("meta",{name:"twitter:title",content:"Data Quality Case Studies | RightData"}),e.jsx("meta",{name:"twitter:description",content:"See how enterprises achieve data quality ROI with RightData."}),e.jsx("meta",{name:"twitter:image",content:"https://www.getrightdata.com/og-rightdata-brand-20260623.png"}),e.jsx("link",{rel:"canonical",href:"https://www.getrightdata.com/resources/use-cases"})]}),e.jsxs("section",{className:"relative overflow-hidden bg-gradient-to-br from-primary via-primary/90 to-accent/80 text-primary-foreground py-20 md:py-28",children:[e.jsx("div",{className:"absolute inset-0 bg-grid-pattern opacity-10"}),e.jsx("div",{className:"container mx-auto px-4 relative",children:e.jsxs(F.div,{initial:{opacity:0,y:20},animate:{opacity:1,y:0},className:"text-center max-w-3xl mx-auto",children:[e.jsxs("div",{className:"flex flex-wrap items-center justify-center gap-2 mb-6",children:[e.jsxs(c,{to:"/resources",className:"inline-flex items-center gap-2 px-4 py-2 rounded-full bg-white/10 text-sm hover:bg-white/20 transition-colors",children:[e.jsx(k,{className:"h-4 w-4"}),e.jsx("span",{children:"All Resources"})]}),e.jsxs("div",{className:"inline-flex items-center gap-2 px-4 py-2 rounded-full bg-white/20 text-sm",children:[e.jsx(P,{className:"h-4 w-4"}),e.jsx("span",{children:"Use Cases"})]})]}),e.jsx("h1",{className:"text-4xl md:text-5xl font-bold mb-6",children:"Customer Success Stories"}),e.jsx("p",{className:"text-xl text-primary-foreground/80",children:"See how leading organizations trust RightData to solve their data challenges"}),e.jsxs("div",{className:"mt-6 text-sm text-primary-foreground/60",children:[m.length," success stories"]})]})})]}),e.jsx("section",{className:"py-16 md:py-24 bg-background",children:e.jsxs("div",{className:"container mx-auto px-4",children:[e.jsxs("div",{className:"max-w-2xl mx-auto mb-12",children:[e.jsxs("div",{className:"relative",children:[e.jsx(E,{className:"absolute left-4 top-1/2 -translate-y-1/2 h-5 w-5 text-muted-foreground"}),e.jsx(C,{type:"text",placeholder:"Search use cases by company, industry, or topic...",value:s,onChange:t=>l(t.target.value),className:"pl-12 pr-12 py-6 text-lg rounded-xl border-2 focus:border-accent"}),s&&e.jsx("button",{onClick:()=>l(""),className:"absolute right-4 top-1/2 -translate-y-1/2 text-muted-foreground hover:text-foreground",children:e.jsx(B,{className:"h-5 w-5"})})]}),s&&e.jsxs("p",{className:"text-center mt-4 text-muted-foreground",children:["Found ",a.length," use case",a.length!==1?"s":""]})]}
1),w&&o&&e.jsx(S,{type:"use-case",slug:o.slug,title:o.title,description:o.challenge,thumbnail:o.thumbnail,badge:o.company,ctaText:"Read Case Study"}),e.jsx(L,{className:"grid md:grid-cols-2 lg:grid-cols-3 gap-8",staggerDelay:100,children:f.map(t=>e.jsx("div",{children:e.jsx(c,{to:`/resources/use-cases/${t.slug}`,children:e.jsxs(N,{className:"h-full border-border/50 hover:border-accent/50 hover:shadow-xl transition-all group overflow-hidden",children:[e.jsxs("div",{className:"aspect-video relative overflow-hidden bg-muted",children:[e.jsx("img",{src:t.thumbnail,alt:t.title,className:"w-full h-full object-cover group-hover:scale-105 transition-transform duration-500"}),e.jsx("div",{className:"absolute top-4 left-4",children:e.jsx(g,{variant:"secondary",className:"bg-background/90 text-foreground",children:t.company})})]}),e.jsxs(R,{className:"p-6",children:[e.jsx("h3",{className:"text-lg font-semibold text-foreground mb-3 group-hover:text-accent transition-colors line-clamp-2",children:t.title}),e.jsx("p",{className:"text-sm text-muted-foreground mb-4 line-clamp-2",children:t.challenge}),e.jsx("div",{className:"flex flex-wrap gap-2 mb-4",children:t.tags.slice(0,3).map(r=>e.jsx(g,{variant:"outline",className:"text-xs",children:r},r))}),e.jsxs("div",{className:"flex items-center text-accent font-medium",children:[e.jsx("span",{children:"Read Case Study"}),e.jsx(p,{className:"ml-2 h-4 w-4 group-hover:translate-x-1 transition-transform"})]})]})]})})},t.slug))}),a.length===0&&e.jsxs("div",{className:"text-center py-16",children:[e.jsx("p",{className:"text-xl text-muted-foreground",children:"No use cases found matching your search."}),e.jsx(u,{variant:"outline",onClick:()=>l(""),className:"mt-4",children:"Clear Search"})]}),e.jsx(D,{currentPage:i,totalPages:y,onPageChange:x})]})}),e.jsx("section",{className:"py-16 bg-muted/50",children:e.jsxs("div",{className:"container mx-auto px-4 text-center",children:[e.jsx("h2",{className:"text-3xl font-bold text-foreground mb-4",children:"Ready to become our next success story?"}),e.jsx("p",{className:"text-lg text-muted-foreground mb-8 max-w-2xl mx-auto",children:"See how RightData can help solve your data challenges"}),e.jsx(c,{to:"/book-a-demo",children:e.jsxs(u,{size:"lg",className:"bg-accent hover:bg-accent/90",children:["Book a Demo",e.jsx(p,{className:"ml-2 h-5 w-5"})]})})]})})]})};export{J 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.