// Past Solutions — case studies of completed industry projects. import useFetch from '../lib/useFetch'; import { Loading, ErrorState, EmptyState } from '../components/States'; function PastSolutions() { const { data, loading, error, reload } = useFetch('/api/content/case-studies'); const items = data?.caseStudies || []; return ( <>
Past Solutions

Real results, delivered for industry

Highlights of past solutions we have provided — and the measurable outcomes they produced.

{loading && } {error && } {!loading && !error && items.length === 0 && ( )} {!loading && !error && items.length > 0 && (
{items.map((c) => (
{c.image_url && ( {`${c.client )}
{c.industry && {c.industry}} {c.client && {c.client}}

{c.title}

{c.summary}

{c.outcome && (

Outcome: {c.outcome}

)}
))}
)}
); } export default PastSolutions;