const { Button, Card, Badge, Tabs, Modal, EmptyState } = window.ZaviFxDesignSystem_f15c31; function WorkPage({ go }) { const groups = ['All', 'E-commerce', 'Healthcare', 'Creative', 'Services']; const bucket = (p) => /shop|store|commerce|Jewellery|eyewear/i.test(p.industry + p.slug) ? 'E-commerce' : /health|clinic|dental|medical|diet/i.test(p.industry + p.slug) ? 'Healthcare' : /creative|studio|photograph|tattoo|wedding|coffee|food|pizza|restaurant/i.test(p.industry + p.slug) ? 'Creative' : 'Services'; const [tab, setTab] = React.useState('All'); const [open, setOpen] = React.useState(null); const list = PROJECTS.filter((p) => tab === 'All' || bucket(p) === tab); return ( <> {false && (
{list.length === 0 ? setTab('All')}>Show all}>Add projects to this category in the data file. : (
{list.map((p, i) => (
{p.industry}

{p.name}

{p.solution}

{p.services.map((s) => {s})} {p.tech.map((t) => {t})}
{p.url ? : null}
))}
)}
)} setOpen(null)} title={open ? open.name : ''} description={open ? open.industry : ''} actions={<>}> {open && (

Challenge

{open.challenge}

Solution

{open.solution}

Services delivered

{open.services.join(' · ')}

Technologies

{open.tech.join(' · ')}

Result

{open.result}

)}
); } Object.assign(window, { WorkPage });