How januarasprilla/siatpc-informacion works
This is an Astro static SIAT PC information module for GIC-PA: visitors start at the home page and browse entities, documents, and news, using URL-backed search, filters, pagination, and sharing. A separate home-page story map presents territorial chapters with approximate map-area highlighting and zoom controls. The graph preserves these documented capabilities and the sampled map-view dependency. Some page-to-data and script-to-page wiring is not shown in the excerpts, so those links are omitted rather than inferred.
Main entry points: datos.ts Content access · pages/index.astro Home page · storymap.js Map interactions · entidades/index.astro Entity directory
Components 21
Site shell
- Base layout
src/layouts/Base.astro - SIAT header
src/components/SiatHeader.astro - SIAT footer
src/components/SiatFooter.astro
Information browsing
- Home page
src/pages/index.astro - Entity directory
src/pages/entidades/index.astro - Entity profile
src/pages/entidades/[slug].astro - Document library
src/pages/documentos/index.astro - News listing
src/pages/noticias/index.astro - News article
src/pages/noticias/[id].astro - List interactions
src/scripts/lista.js - News sharing
src/scripts/noticia.js
Content data
- Content access
src/lib/datos.ts - Entity records
src/data/entidades.json - Document records
src/data/documentos.json - News records
src/data/noticias.json - News topics
src/data/tematicas.json
Territorial story map
- Territory chapters
src/data/territorio.json - Story map
src/components/storymap/Storymap.astro - Map interactions
src/scripts/storymap.js - Map view math
src/lib/vista.js
Other components
- Visitor
Connections 12
- Visitor → Home page: opens
README.md - Visitor → Entity directory: browses
README.md - Visitor → Entity profile: opens profile
README.md - Visitor → Document library: browses
README.md - Visitor → News listing: browses
README.md - Visitor → News article: opens article
README.md - Home page → Story map: presents
README.md - Content access → Entity records: imports
src/lib/datos.ts - Content access → Document records: imports
src/lib/datos.ts - Content access → News records: imports
src/lib/datos.ts - Content access → News topics: imports
src/lib/datos.ts - Map interactions → Map view math: uses
src/scripts/storymap.js