Barcelona | October 29, 2026

The major event in the pharmaceutical and cosmetics industry

Organized by:

Our speakers

Daniel Ballarín

Recipharm | ISPE Iberia

Marta Rodríguez

Leti Pharma | PDA Spain

Francisco de Tierra

Hipra

Carol Megías

Almirall

Enrique Latorre

Álava Group

Raúl Miñón

Tecnalia

Jacob Jiménez

DSA Group

Jordi Pelegrí

Teradyne Robotics

Alejandro Salvador

AER

Cristina González

Álava Group

Jaume Mir Armada

Grifols

Sergio Rebullida

Álava Group

Speaker

Role

Bio

Paper: ‘‘.

PHARMA Overfly: A 360° View of the Pharmaceutical and Cosmetics Industry.

The pharmaceutical industry is constantly evolving: scientific breakthroughs advance relentlessly, but operational agility isn’t keeping pace. This gap between innovation in the lab and execution across the value chain calls for change.

At PHARMA Overfly, the strategic forum created by Grupo Álava, we don’t just address this challenge—we solve it. We invite you to an event designed to bring together the most inspiring insights with the most tangible action.

First, you’ll learn directly from the key players who are redefining the industry. Leaders and executives from the pharmaceutical and technology sectors will share their vision, real-world success stories, and practical roadmaps. You won’t find empty theory here—just the honest, actionable knowledge you need to drive transformation in your organization.

Together, we’ll take a step forward to immerse you in THE IMMERSIVE EXPERIENCE. This is a fully interconnected, fully operational 360° technological ecosystem. Forget everything you know about events. You’ll see, touch, and understand the real impact of automation in the lab, machine vision in production, and real-time traceability in logistics , and AI in the maintenance.

Join the leaders who are shaping the new era of pharmaceuticals and cosmetics. Connect, learn, and take the lead.

FondoCapa 1Capa 2Capa 3Capa 4
@media (min-width: 960px){ .canvas-container { height: 80vh!important; } } .canvas-container { position: relative; width: 100%; height: 300px; } .layer-img { position: absolute; top: 0; left: 0; width: 100%; height: 100%; object-fit: contain; transition: transform 0.5s ease-out, filter 0.5s ease, z-index 0.3s ease!important; filter: opacity(1) blur(0px) brightness(1); z-index: 1; } #fondo { z-index: 0; transform: none !important; transition: filter .5s ease; } .layer-img.active { z-index: 10; transform: translateY(-25px); } .layer-img.dimmed { z-index: 1; filter: blur(2px) brightness(0.7)!important; transform: translateY(0); opacity: 0.5; } document.addEventListener("DOMContentLoaded", () => { const accionesCapa = { 'btn-capa1': 'capa1', 'btn-capa2': 'capa2', 'btn-capa3': 'capa3', 'btn-capa4': 'capa4' }; const todasLasImagenes = document.querySelectorAll('.layer-img'); let inicializado = false; function resetearEstado() { todasLasImagenes.forEach(img => { img.classList.remove('active', 'dimmed'); }); } function activarCapa(idCapaActive) { todasLasImagenes.forEach(img => { if (img.id === idCapaActive) { img.classList.add('active'); img.classList.remove('dimmed'); } else { img.classList.add('dimmed'); img.classList.remove('active'); } }); } function ariaExpandedValue(element) { return element.getAttribute('aria-expanded'); } function sincronizarDesdeAvada() { let algunaActiva = false; Object.keys(accionesCapa).forEach(botonId => { const botonEl = document.getElementById(botonId); if (!botonEl) return; const enlace = botonEl.querySelector('a'); if (enlace && ariaExpandedValue(enlace) === 'true') { activarCapa(accionesCapa[botonId]); algunaActiva = true; } }); // Después de la carga inicial, si no hay acordeones abiertos, // quitamos todas las clases. if (!algunaActiva && inicializado) { resetearEstado(); } } const observer = new MutationObserver((mutations) => { mutations.forEach((mutation) => { if ( mutation.type === 'attributes' && mutation.attributeName === 'aria-expanded' ) { sincronizarDesdeAvada(); } }); }); Object.keys(accionesCapa).forEach(botonId => { const botonEl = document.getElementById(botonId); if (!botonEl) return; const enlace = botonEl.querySelector('a'); if (enlace) { observer.observe(enlace, { attributes: true, attributeFilter: ['aria-expanded'] }); } }); // Abrir el primer acordeón automáticamente setTimeout(() => { if (window.jQuery) { const primerEnlace = window.jQuery('#btn-capa1 a'); if ( primerEnlace.length && primerEnlace.attr('aria-expanded') !== 'true' ) { primerEnlace.trigger('click'); } } activarCapa('capa1'); inicializado = true; }, 400); document.addEventListener('click', (e) => { const dentroDeContenedor = e.target.closest('#contenedor-vision') || e.target.closest('.fusion-layout-column.2_5'); if (!dentroDeContenedor) { if (window.jQuery) { window.jQuery('#accordion-51579-1 .panel-collapse') .collapse('hide'); } resetearEstado(); } }); });

The Immersive Experience

REAL-LIFE SCENARIO

Imagine one of your most experienced scientists wrapping up a crucial experiment. The next step: manually transferring the data from the equipment to a different system for analysis. It’s a process that requires maximum concentration to avoid a transcription error that could jeopardize hours of work. Meanwhile, their ability to analyze, interpret, and design the next experiment is on hold.

In the IMMERSIVE EXPERIENCE, we’ll show you:

How a connected lab eliminates this friction. You’ll see firsthand how data flows automatically and securely from any instrument, consolidating at a central hub for immediate analysis. You’ll see how automation frees your experts from repetitive tasks, allowing them to focus their talents on what generates the most value: advancing research.

REAL-LIFE SCENARIO

“Batch in quarantine.” Those three words bring everything to a standstill. One out-of-range parameter, one missing signature on the paper batch record—and a grueling investigation protocol is triggered that takes days, involves half the plant, and delays the release of a product the market is waiting for. You live with the pressure of maintaining 100% quality in a system riddled with potential points of human error.

In our IMMERSIVE EXPERIENCE, we’ll show you:

How a digitized manufacturing system (MES) with an Electronic Batch Record prevents deviations before they occur. We’ll take you to a production line where machine vision detects imperceptible micro-cracks and where the system won’t let you proceed if critical data is missing. You’ll see how a batch is inspected and released in hours, not weeks.

REAL-LIFE SCENARIO

A €2 million shipment of vaccines is stuck at customs in a country where the temperature is 30°C. Your tracking system says “held,” but it doesn’t tell you the most important thing: whether the temperature inside the container remains stable. The only way to know if the product is still viable is to wait for it to arrive at its destination and download the data from the logger… if it ever arrives. That uncertainty poses an unacceptable financial and health risk.

In our IMMERSIVE EXPERIENCE, we’ll show you:

The power of real-time monitoring. We’ll track a simulated shipment using sensors that transmit temperature, humidity, and geolocation data every minute. You’ll see how a predictive alert is generated on your cell phone: “Attention: The temperature is rising. Risk of a cold chain break in 25 minutes.” We’ll show you how to go from hoping everything goes well to being in control so you can take action before a disaster strikes.

REAL-LIFE SCENARIO

An unexpected alarm shuts down the line in the middle of a batch. This is reactive maintenance: the chaos of fixing a breakdown on the fly. The traditional alternative—major preventive shutdowns—forces you to halt production for weeks to inspect assets according to a schedule, rather than based on their actual condition. Both models come at a very high cost, whether in the form of unexpected downtime or inefficient scheduled shutdowns.

In our IMMERSIVE EXPERIENCE, we’ll show you:

The Definitive Leap: From Reactive to Predictive Maintenance. We’ll show you how your assets can “speak” and how you can learn to listen to them. We’ll connect sensors to critical equipment, and you’ll see how advanced data analysis—vibration, acoustic analysis, thermography, energy consumption—enables the detection of subtle patterns that predict a future failure weeks in advance.

Event Details

There are places that don’t just host events—they elevate them. As it celebrates its 20th anniversary, the Hyatt Regency Barcelona Tower isn’t commemorating the past, but rather two decades of the future. It’s a legacy of innovation that aligns perfectly with Pharma Overfly’s purpose.

In this iconic space, the message is clear: we’re here to build the future, in a place that has always been ahead of its time.

Your Plans for Pharma Overfly 2026

In the conference brochure, you’ll find all the information about the event.

Agenda →

Download the event agenda along with the schedule for each presentation.

We provide you with a guide to different means of transportation and accommodations in the area.

jQuery(document).ready(function($) { $('.fusion-modal .modal-footer .fusion-button').text('Cerrar'); }); .cuenta-atras-container { display: flex; justify-content: center; align-items: center; gap: 16px; margin: 20px auto; } .reloj-bloque { display: flex; flex-direction: column; align-items: center; background: #f8f9fa; border: 1px solid #eaeaea; padding: 20px 15px; border-radius: 12px; min-width: 90px; box-shadow: 0 4px 12px rgba(0,0,0,0.02); transition: transform 0.2s; } .reloj-bloque:hover { transform: translateY(-2px); } .reloj-numero { font-size: 2rem; font-weight: 600; color: #2d3748; line-height: 1; } .reloj-etiqueta { font-size: 0.8rem; text-transform: uppercase; color: #718096; margin-top: 4px; letter-spacing: 1.5px; } .expirado-msg { display: none; color: #e53e3e; font-weight: bold; font-size: 1.2rem; margin: 20px 0; } @media (max-width: 550px) { .preview-card { padding: 20px; } .cuenta-atras-container { gap: 8px; } .reloj-bloque { min-width: 70px; padding: 15px 8px; } .reloj-numero { font-size: 2rem; } .reloj-etiqueta { font-size: 0.7rem; margin-top: 5px; } }
00Días
00Horas
00Minutos
00Segundos
¡El evento ha comenzado!
(function() { const fechaFinObjetivo = new Date('2026-10-29T10:00:00').getTime(); let intervalo; const elDias = document.getElementById('dias'); const elHoras = document.getElementById('horas'); const elMinutos = document.getElementById('minutos'); const elSegundos = document.getElementById('segundos'); const elMensajeFin = document.getElementById('mensaje-fin'); const elRelojVisual = document.getElementById('reloj-visual'); function actualizarCuentaAtras() { const ahora = new Date().getTime(); const distancia = fechaFinObjetivo - ahora; if (distancia < 0) { clearInterval(intervalo); elDias.innerText = '00'; elHoras.innerText = '00'; elMinutos.innerText = '00'; elSegundos.innerText = '00'; elRelojVisual.style.opacity = '0.5'; elMensajeFin.style.display = 'block'; return; } elRelojVisual.style.opacity = '1'; elMensajeFin.style.display = 'none'; const dias = Math.floor(distancia / (1000 * 60 * 60 * 24)); const horas = Math.floor((distancia % (1000 * 60 * 60 * 24)) / (1000 * 60 * 60)); const minutos = Math.floor((distancia % (1000 * 60 * 60)) / (1000 * 60)); const segundos = Math.floor((distancia % (1000 * 60)) / 1000); elDias.innerText = dias < 10 ? '0' + dias : dias; elHoras.innerText = horas < 10 ? '0' + horas : horas; elMinutos.innerText = minutos < 10 ? '0' + minutos : minutos; elSegundos.innerText = segundos < 10 ? '0' + segundos : segundos; } actualizarCuentaAtras(); intervalo = setInterval(actualizarCuentaAtras, 1000); })();

We are waiting for you

Welcome to Pharma Overfly 2026.

iframe.pardotform{height: 600px;} html{scroll-behavior: smooth;} .fusion-tb-header{display:none} .height-section{display:none;} /*FORM*/ #form-box{bottom: -100px} @media (max-width: 900px) { #form-box{position:relative; bottom: 0px} } .bloque-separador { position: relative; padding-top: 0px; } .bloque-separador::before { content: ""; position: absolute; top: 0; width: 50%; height: 50px; background-repeat: no-repeat; background-size: 100% 100%; background-image: url("data:image/svg+xml,"); } #home-main-block::before{ content: ""; position: absolute; transform: rotate(180deg); opacity: 0.6; top: 0; left:0; width: 100%; height: 100%; background-repeat: no-repeat; background-size: cover; background-image: url("/wp-content/uploads/2026/06/pharma-overfly-form-bg.svg"); } .bloque-separador { background-image: url(https://www.grupoalava.com/wp-content/uploads/2026/03/prediforo-form-bg.svg), linear-gradient(120deg, #090711 29%, #181bb2 100%)!important; } /*Header*/ #div-main-header .fusion-column-wrapper{align-items: center; } #img-foro { transition: 0.4s; } #div-main-header:has(a.fusion-button:hover) #img-foro { opacity: 0.8; filter: saturate(1); } /*Speakers*/ #speaker-photo{ background-repeat: no-repeat; background-size: cover; background-position: 50% 50%; width: 400px; height: 200px; border-radius: 40px; } #buttons-container{ min-height: 60vh; } #buttons-container .column-speaker, #buttons-container .column-speaker .fusion-imageframe, #buttons-container .column-speaker{ cursor: pointer; transition: all 0.4s; } #buttons-container .column-speaker .fusion-column-inner-bg{ border-top: 2px solid #c4c4c4; border-left: 2px solid #c4c4c4; border-top-left-radius: 8px; margin-bottom: 10px; } #buttons-container .column-speaker:hover .fusion-column-inner-bg{ border-color: #204EDF!important; } #buttons-container .column-speaker:hover .fusion-imageframe{ filter: saturate(1)!important; } #buttons-container .column-speaker:hover p.speaker-content-button{ color: #204EDF!important; } #buttons-container .column-speaker.active .fusion-column-inner-bg{ border-color: #204EDF; } #buttons-container .column-speaker.active .fusion-imageframe{ filter: saturate(1); } #buttons-container .column-speaker.active p.speaker-content-button{ color: #204EDF; } /*Planificación*/ .download-btn{ background: white; padding: 10px 20px; border-radius: 5px; width: fit-content; transition: all 0.5s; } .download-box:hover .download-btn{ background: #E4E4E4; } .download-btn{ background: white; padding: 10px 20px; border-radius: 5px; width: fit-content; transition: all 0.5s; } .download-box{ transition: all 0.5s; } .download-box{ border-radius: 10px; transition: all 0.5s; } .download-box:hover{ background: white; } #modal-agenda-pharma-overfly .modal-dialog{ width: 850px; } #modal-agenda-pharma-overfly .modal-dialog .modal-content{ padding: 40px; } #modal-agenda-pharma-overfly .close{ display: none; } #modal-agenda-pharma-overfly h3.modal-title{ font-size: 28px!important; } const inputs = document.querySelectorAll('input[type="text"], textarea'); inputs.forEach(input => { input.addEventListener('input', (e) => { e.target.value = e.target.value.toUpperCase(); }); });
/** * ARRAY DE PONENTES */ const speakers = [ { id: 1, name: "Daniel Ballarín", role: "PMO en Recipharm y Presidente del ISPE Iberia", bio: "Líder orientado a la innovación y al desarrollo global en la industria farmacéutica, Daniel Ballarin gestiona proyectos estratégicos internacionales con operaciones clave en España y Boston (EE. UU.). Su compromiso con el desarrollo del talento se refleja en su faceta como docente en másteres de ingeniería farmacéutica. Además, en su rol como presidente de ISPE Iberia, impulsa la cohesión, la formación y el crecimiento de la comunidad de profesionales del sector dentro de una red global de más de 40.000 miembros.", talk: "Pendiente título.", photo: "https://www.grupoalava.com/wp-content/uploads/2026/10/DANIEL-BALLERIN-RECIPHARM.png", linkedin: "https://www.linkedin.com/in/daniel-ballarin-montesinos-8485242b/" }, { id: 2, name: "Marta Rodríguez", role: "Head of Corporative Quality | Leti Pharma and Volunteer PDA Spain", bio: "Más de 20 años en industria biofarmacéutica y lifescience, especializada en gestión de calidad farmacéutica, cumplimiento GXP, fabricación aséptica, transformación digital e integridad de datos. Actualmente Head of Corporate Quality en LETI Pharma, Vicepresidenta de la Sección Centro de la Asociación Española de Farmacéuticos de la Industria, miembro activo en ISPE y PDA, ponente en congresos internacionales y profesora asociada en Escuelas de Negocio especializadas en sector biopharma.", talk: "Evolving Quality Management in the Digital Era: Del cumplimiento reactivo a la calidad predictiva.", photo: "https://www.grupoalava.com/wp-content/uploads/2026/10/MARTA-LETI-PHARMA.png", linkedin: "https://www.linkedin.com/in/martarodriguezvelez/" }, { id: 3, name: "Francisco de Tierra", role: "Excutive MBA | Laboratorios Hipra", bio: "Con una sólida trayectoria de tres décadas impulsando la transformación industrial, Francisco de Tierra es Senior Engineer en HIPRA Robotics (HIPRA). Su perfil destaca por integrar de manera excepcional la robótica, los sistemas OT y la IA en la exigente industria biotecnológica y farmacéutica. Como experto en la transición hacia la Pharma 4.0, Francisco ofrece a la audiencia una perspectiva fundamentada, resolutiva y orientada a la práctica sobre cómo afrontar la automatización y la innovación en plantas de alta complejidad.", talk: "Robótica y automatización avanzada: casos reales en industria", photo: "https://www.grupoalava.com/wp-content/uploads/2026/10/FRANCISCO-DE-TIERRA.png", linkedin: "https://www.linkedin.com/in/fdetierra/" }, { id: 4, name: "Carol Megías", role: "IT Business Process Manager | Almirall", bio: "En su rol como IT Business Process Manager, Carol Megías es una referente en la digitalización y modernización de laboratorios. Su trayectoria destaca por liderar proyectos prácticos de implementación y mejora continua de soluciones digitales. Su enfoque estratégico no solo optimiza los flujos de trabajo y la eficiencia operativa, sino que resulta clave para asegurar la estandarización y el cumplimiento normativo a través de la integridad de los datos.", talk: "La transformación digital no va de tecnología: va de personas", photo: "https://www.grupoalava.com/wp-content/uploads/2026/06/image_1781595242837193.png", linkedin: "https://www.linkedin.com/in/megiasc/" }, { id: 5, name: "Enrique Latorre", role: "Project Manager R&D Cleanroom, Nanoparticles and Aerosol.", bio: "Enrique Latorre Tarrasa es un ingeniero y Project Manager con más de 15 años de experiencia técnica y comercial, especializado en la monitorización de salas limpias, nanopartículas y aerosoles para los sectores farmacéutico y biotecnológico. A lo largo de su consolidada trayectoria, que abarca desde el mantenimiento industrial y la metrología en sus inicios hasta la ingeniería de preventa y el soporte de instrumentación de alta tecnología, Enrique ha destacado por su capacidad para asesorar estratégicamente a los clientes, impartir formación especializada y gestionar la implementación integral de proyectos y licitaciones bajo estrictas normativas GxP y de calidad ambiental.", talk: "Caso de Éxito", photo: "https://www.grupoalava.com/wp-content/uploads/2026/06/Enrique-Latorre.png", linkedin: "https://www.linkedin.com/in/enrique-latorre-tarrasa-247b442a/" }, { id: 6, name: "Raúl Miñón", role: "Data & Computation Team Leader | Tecnalia", bio: "Responsable del equipo Data & Computation en TECNALIA Research & Innovation, donde lidera iniciativas de investigación e innovación en Autonomous AI Systems, plataformas computacionales y operacionalización de la inteligencia artificial. Es Doctor Internacional en Ingeniería Informática (Cum Laude) y MBA. Actualmente dirige proyectos nacionales y europeos de I+D+i y compagina su actividad investigadora con la docencia en la Universidad Carlos III de Madrid, la Universidad de Deusto y la Universidad del País Vasco (EHU).", talk: "Beyond AI: Building the Next Generation of Computational Systems for Drug Discovery", photo: "https://www.grupoalava.com/wp-content/uploads/2026/10/RAUL-MINON.png", linkedin: "https://www.linkedin.com/in/raulminon/" }, { id: 7, name: "Jacob Jiménez", role: "CEO | DSA Grupo", bio: "Ingeniero en Organización Industrial y CEO de Grupo DSA, un grupo industrial especializado en ingeniería, automatización y fabricación avanzada. Compagina la dirección empresarial con la docencia y la divulgación en escuelas de negocio, donde trabaja especialmente sobre estrategia, productividad y transformación industrial. En los últimos años, está muy centrado en analizar y aplicar el impacto real de la inteligencia artificial y la robótica —especialmente la robótica humanoide— en las operaciones, los modelos productivos y los nuevos perfiles profesionales. Su enfoque e interés principal radica en separar el hype tecnológico de aquello que ya está transformando de verdad la competitividad de las empresas.", talk: "Physical AI, robótica humanoide y productividad: cómo están cambiando las reglas de la industria", photo: "https://www.grupoalava.com/wp-content/uploads/2026/10/JACOB-JIMENEZ-DSA-GRUPO.png", linkedin: "linkedin.com/in/jacob-jimenez-9b76a33a" }, { id: 8, name: "Jordi Pelegrí", role: "Country Manager Spain & Portugal | Teradyne Robotics", bio: "Coordina el negocio de robótica colaborativa en Iberia, trabajando estrechamente junto a los equipos de marketing, ventas y soporte técnico para alcanzar entre todos los objetivos comerciales y de crecimiento en España y Portugal. Su papel es ayudar a que estas áreas avancen alineadas, construyendo juntos el futuro de la automatización colaborativa en el mercado ibérico.Fuera del trabajo, su otra pasión es la bicicleta, su forma favorita de desconectar y recargar energía.", talk: "Manos robóticas, mentes humanas: así se produce la farma del mañana", photo: "https://www.grupoalava.com/wp-content/uploads/2026/10/JORDI-PELEGRI-HORIZONTAL.png", linkedin: "https://www.linkedin.com/in/jordi-pelegrí-aldabert/" }, { id: 9, name: "Alejandro Salvador", role: "Managing Director | AER", bio: "Economista, consultor y director general de AER Automation (Asociación Española de Robótica y Automatización), donde lidera la innovación y la adopción de tecnologías de industria 4.0 en el tejido empresarial. Cuenta con una sólida trayectoria en puestos directivos dentro del sector industrial y se especializa de forma paralela en la gestión del talento, la consultoría estratégica para pymes y la transformación organizacional.", talk: "Pharma 5.0: Automatización inteligente y robótica en la nueva era bio-farmacéutica", photo: "https://www.grupoalava.com/wp-content/uploads/2026/10/ALEX-SALVADOR.png", linkedin: "https://www.linkedin.com/in/alexsalvador68/" }, { id: 10, name: "Cristina González", role: "Directora de Unidad de Negocio de Sensores y Equipos | Grupo Álava", bio: "Especialista en desarrollo de negocio en Grupo Álava, donde gestiona tecnología científica avanzada de partners internacionales para los mercados de España y Portugal. Su trayectoria destaca por conectar la innovación tecnológica de vanguardia con soluciones prácticas y de alta precisión para el sector industrial y científico.", talk: "Apertura y Bienvenida", photo: "https://www.grupoalava.com/wp-content/uploads/2026/10/CRISTINA-GONZALEZ.png", linkedin: "https://www.linkedin.com/in/cristina-gonzalez-rodriguez-a8930126/" }, { id: 11, name: "Jaume Mir Armada", role: "Senior manager industrial information technology | Grifols", bio: "Responsable del area de Industrial Digital Transformation Smart Factory & IT/OT", talk: "Pharma 5.0: Automatización inteligente y robótica en la nueva era bio-farmacéutica", photo: "https://www.grupoalava.com/wp-content/uploads/2026/10/JAUME-MIR.png", linkedin: "https://www.linkedin.com/in/jaumemiraramda/" }, { id: 12, name: "Sergio Rebullida", role: "Corporate Key Account Manager: Pharmaceutical, Food, and Beverage Industries | Grupo Álava", bio: "Corporate Key Account Manager en Grupo Álava, especializado en el sector farmacéutico y en soluciones tecnológicas para la industria. A lo largo de mi trayectoria profesional, he ayudado a empresas farmacéuticas a mejorar sus procesos mediante la incorporación de tecnologías orientadas a la automatización, la visión artificial, la instrumentación, la monitorización, el control de calidad y el mantenimiento predictivo. Mi objetivo es acompañar a las compañías del sector en la optimización de sus operaciones, contribuyendo a mejorar la eficiencia, la calidad, la trazabilidad y el cumplimiento de los estándares exigidos por la industria farmacéutica.", talk: " ", photo: "https://www.grupoalava.com/wp-content/uploads/2026/10/SERGIO-REBULLIDA.png", linkedin: "https://www.linkedin.com/in/sergio-rebullida-valero-7bbb2890/" }, { id: 13, name: " ", role: " ", bio: " ", talk: " ", photo: " ", linkedin: " " }, { id: 14, name: " ", role: " ", bio: " ", talk: " ", photo: " ", linkedin: " " }, { id: 15, name: " ", role: " ", bio: " ", talk: " ", photo: " ", linkedin: " " } ]; /* *Comienzo de código */ const nameEl = document.getElementById('speaker-name'); const roleEl = document.getElementById('speaker-role'); const bioEl = document.getElementById('speaker-bio'); const talkEl = document.getElementById('speaker-talk'); const photoEl = document.getElementById('speaker-photo'); const linkedinEl = document.querySelector('#speaker-linkedin a'); const infoWrapper = document.getElementById('info-wrapper'); /* *Función para actualizar la UI */ function updateSpeaker(speakerId) { const speaker = speakers.find(s => s.id == speakerId); if (!speaker) return; // Si no existe el ID, no hacemos nada infoWrapper.classList.remove('fade-in'); void infoWrapper.offsetWidth; infoWrapper.classList.add('fade-in'); nameEl.textContent = speaker.name; roleEl.textContent = speaker.role; bioEl.textContent = speaker.bio; talkEl.textContent = speaker.talk; linkedinEl.href = speaker.linkedin; photoEl.style.backgroundImage = `url('${speaker.photo}')`; // Gestión de clases activas en los botones (opcional) document.querySelectorAll('[data-speaker-id]').forEach(btn => { btn.classList.toggle('active', btn.getAttribute('data-speaker-id') == speakerId); }); } /* *Inicialización */ function init() { // Buscamos todos los elementos que tengan el atributo data-speaker-id const speakerButtons = document.querySelectorAll('[data-speaker-id]'); speakerButtons.forEach(btn => { btn.addEventListener('click', () => { const id = btn.getAttribute('data-speaker-id'); updateSpeaker(id); }); }); // Cargar el primero por defecto si existe el primer ponente if (speakers.length > 0) { updateSpeaker(speakers[0].id); } } window.onload = init;