An interactive documentary (a scrollable, video/image slideshow site) built in Next.js for Taller de Historias en Imágenes. This folder keeps a few representative components rather than the full app.
src/components/FullVideo— autoplay/pause driven by viewport visibility (useInView), mute toggle, and anonVideoEndcallback used to chain slides together.src/components/ThreeRow— a layout component composing multiple media tiles.src/components/TileThree— a grid tile component that can render either an image or a video source.
src/app/page.tsxandsrc/app/layout.tsx— the top-level composition that wires all slide components together withswiper/react. Omitted so this folder isn't read as a partially-broken standalone app; the pattern is the same asTileThree/FullVideorepeated across ~15 slides.FullImage,Infotext,TileFour— same patterns as the kept components (image tile, text overlay, four-way grid tile), omitted to avoid repetition.src/data/data.json— slide copy, only meaningful alongside the omittedpage.tsx.
Media playback state (isMuted, play/pause) is derived from viewport
visibility via useInView rather than a manual scroll listener, so each
tile independently starts/stops its own video without the parent needing to
track which slide is active.