// portfolio.jsx — featured work with Y2K depth visuals
const { useRef: __pr, useState: __ps, useEffect: __pe } = React;
function Portfolio({ t }) {
return (
{t.work_eye}
{t.work_title_1}
{t.work_title_2}
{t.work_sub}
{t.works.map((w, i) => (
))}
);
}
function WorkCard({ work, index, ctaLabel }) {
const [hover, setHover] = __ps(false);
return (
setHover(true)}
onMouseLeave={() => setHover(false)}
className="reveal clickable" data-hover
style={{
display: 'block', textDecoration: 'none', color: 'var(--ink)',
marginTop: index % 2 ? 80 : 0,
}}>
{/* Overlay */}
{work.year}
0{index + 1} · 0{4}
{work.metric}
{work.client}
{work.title}
{work.services.map(s => {s})}
{ctaLabel}
↗
);
}
function WorkVisual({ kind, hover, bgColor }) {
if (kind === 'dashboard') {
return (
{[0,1,2].map(i => (
{['EN RUTA', 'ENTREGADO', 'PENDIENTE'][i]}
{['247', '1,842', '38'][i]}
))}
);
}
if (kind === 'app') {
return (
9:41
Casas en
el bosque.
Reservar
);
}
if (kind === 'brand') {
return (
);
}
if (kind === 'shop') {
return (
);
}
return null;
}
Object.assign(window, { Portfolio, WorkCard, WorkVisual });