/* Academia Page */ const AcademiaPage = ({ setPage }) => { const [filter, setFilter] = React.useState('Todos'); const allTalleres = window.TALLERES_DATA || []; const cats = ['Todos', 'Panadería', 'Pastelería']; const filtered = filter === 'Todos' ? allTalleres : allTalleres.filter(t => t.categoria === filter); return (
{/* Header */}
Academia LK Mejia

Talleres que transforman

Grupos pequeños, participación activa, técnicas reales. Aprende repostería de la manera correcta.

{cats.map(c => ( ))}
⚡ ¡Alta demanda! Varios talleres con últimos cupos
{/* Panadería Section */} {(filter === 'Todos' || filter === 'Panadería') && (

Panadería

{allTalleres.filter(t => t.categoria === 'Panadería').length} talleres disponibles

{(filter === 'Todos' ? allTalleres : filtered).filter(t => t.categoria === 'Panadería').map(t => ( ))}
)} {/* Pastelería Section */} {(filter === 'Todos' || filter === 'Pastelería') && (

Pastelería

{allTalleres.filter(t => t.categoria === 'Pastelería').length} talleres disponibles

{(filter === 'Todos' ? allTalleres : filtered).filter(t => t.categoria === 'Pastelería').map(t => ( ))}
)} {/* CTA */}

¿Buscas un taller personalizado?

Organizamos talleres a medida para grupos, empresas y eventos especiales.

Solicitar información

Nota: El costo del taller es por persona, incluye todos los materiales, dotación de delantal y gorro y parte proporcional de lo que se produce en clase.

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