// src/pages-colegios.jsx — Colegios miembros: viz + listado oficial const ColegiosPage = ({ setPage }) => { const { t, lang } = useLang(); const [region, setRegion] = React.useState('Todas'); const [search, setSearch] = React.useState(''); // Etiquetas de tipo de administración (los datos quedan en español) const typeLabel = (ty) => lang === 'en' ? ({ 'Privado': 'Private', 'Público': 'Public', 'Mixto': 'Mixed', 'Privados': 'Private', 'Públicos': 'Public', 'Mixtos (sin pensión)': 'Mixed (tuition-free)' }[ty] || ty) : ty; /* ─── Data ──────────────────────────────────────────── */ // Fuente: Sheet "BBDD LPDE — Colegios" (solo Estado=Activo). 103 colegios, 11 regiones. const regions = [ { name: 'Lima', count: 78, x: 28, y: 56 }, { name: 'Junín', count: 8, x: 42, y: 56 }, { name: 'Piura', count: 5, x: 20, y: 22 }, { name: 'Ayacucho', count: 3, x: 44, y: 72 }, { name: 'Cusco', count: 2, x: 56, y: 68 }, { name: 'Puno', count: 2, x: 62, y: 76 }, { name: 'Arequipa', count: 1, x: 50, y: 82 }, { name: 'Áncash', count: 1, x: 30, y: 42 }, { name: 'Apurímac', count: 1, x: 50, y: 74 }, { name: 'Ica', count: 1, x: 32, y: 70 }, { name: 'Lambayeque', count: 1, x: 24, y: 30 }, ]; // Composición por administración (Privado / Público / Mixto) const byType = [ { type: 'Privados', count: 58, pct: 56 }, { type: 'Públicos', count: 44, pct: 43 }, { type: 'Mixtos (sin pensión)', count: 1, pct: 1 }, ]; // Listado completo de los 103 colegios activos. Fuente: BBDD LPDE. // Solo se publican nombres institucionales; no incluye responsables ni datos de contacto. const schools = [ { n: '0142 Martír Daniel Alcides Carrión', city: 'San Juan de Lurigancho', region: 'Lima', type: 'Mixto' }, { n: 'Asociación Educativa Divino Maestro de Pro', city: 'Los Olivos', region: 'Lima', type: 'Privado' }, { n: 'AvantGard College Sede Lima Sur', city: 'Villa El Salvador', region: 'Lima', type: 'Privado' }, { n: 'Colegio Alpamayo', city: 'Ate', region: 'Lima', type: 'Privado' }, { n: 'Colegio América de La Victoria', city: 'La Victoria', region: 'Lima', type: 'Privado' }, { n: 'Colegio André Malraux', city: 'Surco', region: 'Lima', type: 'Privado' }, { n: 'Colegio Champagnat', city: 'Surco', region: 'Lima', type: 'Privado' }, { n: 'Colegio Cristo Rey - Pueblo Libre', city: 'Pueblo Libre', region: 'Lima', type: 'Privado' }, { n: 'Colegio Jean Piaget de Carabayllo', city: 'Carabayllo', region: 'Lima', type: 'Privado' }, { n: 'Colegio Jorge Polar', city: 'Pueblo Libre', region: 'Lima', type: 'Privado' }, { n: 'Colegio Juan Enrique Newman', city: 'La Molina', region: 'Lima', type: 'Privado' }, { n: 'Colegio La Salle de Lima', city: 'Breña', region: 'Lima', type: 'Privado' }, { n: 'Colegio Los Rosales', city: 'San Miguel', region: 'Lima', type: 'Privado' }, { n: 'Colegio María Alvarado Lima High School', city: 'Cercado de Lima', region: 'Lima', type: 'Privado' }, { n: 'Colegio María Auxiliadora', city: 'Breña', region: 'Lima', type: 'Privado' }, { n: 'Colegio Nuestra Señora del Consuelo', city: 'Santiago de Surco', region: 'Lima', type: 'Privado' }, { n: 'Colegio Pamer Barranco', city: 'Barranco', region: 'Lima', type: 'Privado' }, { n: 'Colegio Pamer Patriotas', city: 'San Miguel', region: 'Lima', type: 'Privado' }, { n: 'Colegio Pamer San Martín', city: 'San Martín de Porres', region: 'Lima', type: 'Privado' }, { n: 'Colegio Pamer Virtual', city: 'Lima', region: 'Lima', type: 'Privado' }, { n: 'Colegio Parroquial Reina de la Paz', city: 'San Isidro', region: 'Lima', type: 'Privado' }, { n: 'Colegio Parroquial San Vicente de Paúl', city: 'Surquillo', region: 'Lima', type: 'Privado' }, { n: 'Colegio Particular San Juan Macías', city: 'Santa Anita', region: 'Lima', type: 'Privado' }, { n: 'Colegio Peruano Norteamericano Abraham Lincoln', city: 'La Molina', region: 'Lima', type: 'Privado' }, { n: 'Colegio Salcantay', city: 'Surco', region: 'Lima', type: 'Privado' }, { n: 'Colegio San Agustin de Lima', city: 'San Isidro', region: 'Lima', type: 'Privado' }, { n: 'Colegio San Clemente', city: 'Jesús María', region: 'Lima', type: 'Privado' }, { n: 'Colegio San Pedro', city: 'La Molina', region: 'Lima', type: 'Privado' }, { n: 'Colegio Santa Isabel de Hungría', city: 'Cercado de Lima', region: 'Lima', type: 'Privado' }, { n: 'Colegio Santa Rosa de Chosica', city: 'Lurigancho Chosica', region: 'Lima', type: 'Privado' }, { n: 'Colegio Trener', city: 'Surco', region: 'Lima', type: 'Privado' }, { n: 'Colegio Trilce La Molina', city: 'La Molina', region: 'Lima', type: 'Privado' }, { n: 'Colegio Trilce Salamanca', city: 'Ate', region: 'Lima', type: 'Privado' }, { n: 'Colegio Villa Caritas', city: 'La Molina', region: 'Lima', type: 'Privado' }, { n: 'Colegio Áleph', city: 'Chorrillos', region: 'Lima', type: 'Privado' }, { n: 'Escuela Bicentenario N.º 109 Inca Manco Cápac', city: 'San Juan de Lurigancho', region: 'Lima', type: 'Público' }, { n: 'I.E 0132 “Toribio de Luzuriaga y Mejía”', city: 'San Juan de Lurigancho', region: 'Lima', type: 'Público' }, { n: 'I.E. 0086 José María Arguedas', city: 'San Juan de Lurigancho', region: 'Lima', type: 'Público' }, { n: 'I.E. 126 Javier Pérez de Cuéllar', city: 'San Juan de Lurigancho', region: 'Lima', type: 'Público' }, { n: 'I.E. 7076 Las Brisas de Villa', city: 'Santiago de Surco', region: 'Lima', type: 'Público' }, { n: 'I.E. B. Nº 0139 Gran Amauta Mariátegui', city: 'San Juan de Lurigancho', region: 'Lima', type: 'Público' }, { n: 'I.E. Fe y Alegría 37', city: 'San Juan de Lurigancho', region: 'Lima', type: 'Público' }, { n: 'I.E. Fe y Alegría 5 – Calasanz', city: 'San Juan de Lurigancho', region: 'Lima', type: 'Público' }, { n: 'I.E. Federico Villarreal', city: 'Miraflores', region: 'Lima', type: 'Público' }, { n: 'I.E. La Divina Providencia', city: 'Surquillo', region: 'Lima', type: 'Público' }, { n: 'I.E. N.° 110 San Marcos', city: 'San Juan de Lurigancho', region: 'Lima', type: 'Público' }, { n: 'I.E. N.° 1179 Tomás Alva Edison', city: 'San Juan de Lurigancho', region: 'Lima', type: 'Público' }, { n: 'I.E. N.° 6085 Brígida Silva de Ochoa', city: 'Surco', region: 'Lima', type: 'Público' }, { n: 'I.E. N.º 0147 Luis Alberto García Rojas', city: 'San Juan de Lurigancho', region: 'Lima', type: 'Público' }, { n: 'I.E. N.º 100 Santa Elizabeth', city: 'San Juan de Lurigancho', region: 'Lima', type: 'Público' }, { n: 'I.E. N.º 1181 “Albert Einstein”', city: 'San Juan de Lurigancho', region: 'Lima', type: 'Público' }, { n: 'I.E. N.º 125 Ricardo Palma SJL', city: 'San Juan de Lurigancho', region: 'Lima', type: 'Público' }, { n: 'I.E. N.º 145 Independencia Americana', city: 'San Juan de Lurigancho', region: 'Lima', type: 'Público' }, { n: 'I.E. N.º 156 El Porvenir', city: 'San Juan de Lurigancho', region: 'Lima', type: 'Público' }, { n: 'I.E. N.º 159 Glorioso 10 de Octubre', city: 'San Juan de Lurigancho', region: 'Lima', type: 'Público' }, { n: 'I.E. Nicolas de Pierola', city: 'El Agustino', region: 'Lima', type: 'Público' }, { n: 'I.E. N° 1235 Unión Latinoamericana', city: 'La Molina', region: 'Lima', type: 'Público' }, { n: 'I.E. N° 166 “Karol Wojtyla”', city: 'San Juan de Lurigancho', region: 'Lima', type: 'Público' }, { n: 'I.E. Ricardo Palma de Ate', city: 'Ate', region: 'Lima', type: 'Público' }, { n: 'I.E. Túpac Amaru - VMT', city: 'Villa María del Triunfo', region: 'Lima', type: 'Público' }, { n: 'I.E. YMCA Colegios – Pueblo Libre', city: 'Pueblo Libre', region: 'Lima', type: 'Privado' }, { n: 'I.E.E. Antenor Orrego Espinoza', city: 'San Juan de Lurigancho', region: 'Lima', type: 'Público' }, { n: 'I.E.E. Juana Alarco de Dammert', city: 'Miraflores', region: 'Lima', type: 'Público' }, { n: 'I.E.E. Ricardo Bentín', city: 'Rímac', region: 'Lima', type: 'Público' }, { n: 'I.E.P San Martín de Porres', city: 'Santa Anita', region: 'Lima', type: 'Privado' }, { n: 'I.E.P. Augusto Salazar Bondy', city: 'La Molina', region: 'Lima', type: 'Privado' }, { n: 'I.E.P. Mater Purissima', city: 'Miraflores', region: 'Lima', type: 'Privado' }, { n: 'I.E.P. Nuestra Señora del Carmen de Palao', city: 'San Martín de Porres', region: 'Lima', type: 'Privado' }, { n: 'I:E. Nicolás Copérnico - SJL', city: 'San Juan de Lurigancho', region: 'Lima', type: 'Público' }, { n: 'IE 107 Daniel A. Carrión García', city: 'Santa Anita', region: 'Lima', type: 'Público' }, { n: 'IE 1209 Colegio Bicentenario Mariscal Toribio de Luzuriaga', city: 'Ate', region: 'Lima', type: 'Público' }, { n: 'IE Nº 7089 ROMEO LUNA VICTORIA', city: 'San Borja', region: 'Lima', type: 'Público' }, { n: 'Institución Educativa N°1224 – El Paraíso', city: 'San Juan de Lurigancho', region: 'Lima', type: 'Público' }, { n: 'Institución Educativa Privada de la Cruz', city: 'Pueblo Libre', region: 'Lima', type: 'Privado' }, { n: 'Markham College', city: 'Miraflores', region: 'Lima', type: 'Privado' }, { n: 'Señor de la Ascensión College', city: 'Pachacamac', region: 'Lima', type: 'Privado' }, { n: 'St. George\'s College', city: 'Chorrillos', region: 'Lima', type: 'Privado' }, { n: 'Villa Gratia Dei College', city: 'Villa', region: 'Lima', type: 'Privado' }, { n: 'I.E. Santa Rosa de Abancay', city: 'Abancay', region: 'Apurímac', type: 'Público' }, { n: 'Colegio Anglo Americano Prescott', city: 'Arequipa', region: 'Arequipa', type: 'Privado' }, { n: 'Colegio de Alto Rendimiento de Ayacucho', city: 'Ayacucho', region: 'Ayacucho', type: 'Público' }, { n: 'I.E. Daniel Goleman', city: 'Ayacucho', region: 'Ayacucho', type: 'Privado' }, { n: 'I.E. N.° 38006 “9 de Diciembre”', city: 'Ayacucho', region: 'Ayacucho', type: 'Público' }, { n: 'COAR Cusco', city: 'Cusco', region: 'Cusco', type: 'Público' }, { n: 'Colegio Emblemático del Perú “Mateo Pumacahua”', city: 'Sicuani', region: 'Cusco', type: 'Público' }, { n: 'San Francisco College', city: 'Ica', region: 'Ica', type: 'Privado' }, { n: 'COAR Junín', city: 'Junín', region: 'Junín', type: 'Público' }, { n: 'Colegio Particular Andino', city: 'Huancayo', region: 'Junín', type: 'Privado' }, { n: 'Colegio Zárate', city: 'Huancayo', region: 'Junín', type: 'Privado' }, { n: 'I.E Mariscal Castilla - Huancayo', city: 'Huancayo', region: 'Junín', type: 'Público' }, { n: 'I.E. Heroínas Toledo - Concepción', city: 'Concepción', region: 'Junín', type: 'Público' }, { n: 'I.E. Nuestra Señora del Rosario', city: 'Huancayo', region: 'Junín', type: 'Público' }, { n: 'I.E.P. San Antonio María Claret', city: 'Huancayo', region: 'Junín', type: 'Privado' }, { n: 'IE “MARÍA INMACULADA”', city: 'Huancayo', region: 'Junín', type: 'Público' }, { n: 'Colegio Jorge Basadre - Chiclayo', city: 'Chiclayo', region: 'Lambayeque', type: 'Privado' }, { n: 'Colegio Punta Arenas', city: 'Talara', region: 'Piura', type: 'Privado' }, { n: 'Colegio Salesiano Don Bosco de Piura', city: 'Piura', region: 'Piura', type: 'Privado' }, { n: 'I.E. Ignacio Escudero', city: 'Sullana', region: 'Piura', type: 'Público' }, { n: 'I.E.P. Virgen de Fátima - Talara', city: 'Talara', region: 'Piura', type: 'Privado' }, { n: 'Institución Educativa Particular Exitu\'s', city: 'Miraflores', region: 'Piura', type: 'Privado' }, { n: 'Colegio Parroquial Santa Catalina', city: 'Juliaca', region: 'Puno', type: 'Privado' }, { n: 'I.E.P. Elena de Santa María', city: 'Juliaca', region: 'Puno', type: 'Privado' }, { n: 'El Pinar College', city: 'Independencia', region: 'Áncash', type: 'Privado' }, ]; const filtered = schools.filter(s => (region === 'Todas' || s.region === region) && (search === '' || s.n.toLowerCase().includes(search.toLowerCase()) || s.city.toLowerCase().includes(search.toLowerCase())) ); const maxBar = Math.max(...regions.map(r => r.count)); return ( {/* Hero */}
{t('Red institucional', 'Institutional network')}

{t(<>Cien colegios.
Un solo campo de juego, <>One hundred schools.
One shared playing field)}

{t('La LPDE conecta a 103 colegios miembros distribuidos en 11 regiones del Perú —de Piura a Puno, pasando por la sierra centro y los Andes del sur. Esta es la radiografía de la red: dónde está, cómo creció y a quién acoge.', 'The LPDE connects 103 member schools across 11 regions of Peru — from Piura to Puno, through the central highlands and the southern Andes. This is a portrait of the network: where it is, how it has grown and who it serves.')}

{/* Big stats banner */}
{[ { num: 103, label: t('Colegios miembros', 'Member schools'), sub: t('Activos a mayo 2026', 'Active as of May 2026') }, { num: 11, label: t('Regiones del Perú', 'Regions of Peru'), sub: t('De Piura a Puno', 'From Piura to Puno') }, { num: 44, label: t('Ciudades y distritos', 'Cities and districts'), sub: t('Lima Metropolitana + provincia', 'Metropolitan Lima + the provinces') }, { num: 44, label: t('Colegios públicos', 'Public schools'), sub: t('Casi la mitad de la red', 'Nearly half the network') }, ].map((s, i) => (
{s.decimal ? s.num : }{s.suffix || ''}
{s.label}
{s.sub}
))}
{/* Map + regional bars */}
{t('Distribución geográfica', 'Geographic distribution')}

{t(<>Lima sigue siendo el epicentro. El resto del país crece más rápido., <>Lima is still the epicenter. The rest of the country is growing faster.)}

{/* Map */}
{t('Mapa de presencia · 2026', 'Presence map · 2026')}
{/* Stylized Peru silhouette */} {regions.map((r, i) => { const radius = 2 + Math.sqrt(r.count) * 1.6; return ( {r.name} · {r.count} ); })}
{t('Tamaño = nº de colegios', 'Size = no. of schools')}
1—5 6—20 20+
{/* Regional bar chart */}
{t('Colegios por región', 'Schools by region')}
{regions.map((r, i) => (
{r.name}
{r.count}
))}
{/* Type breakdown */}
{t('Composición de la red', 'Network composition')}

{t('Qué tipo de colegios la conforman', 'The schools that make it up')}

{t('Por tipo de administración', 'By school type')}
{byType.map((t, i) => (
))}
{byType.map((t, i) => (
{typeLabel(t.type)} {t.pct}% {t.count}
))}
{/* Search & list */}
{t('Listado oficial', 'Official directory')}

{t('Todos los colegios miembros', 'All member schools')}

{/* Filter bar */}
setSearch(e.target.value)} placeholder={t('Buscar colegio o ciudad...', 'Search by school or city…')} style={{ background: 'transparent', border: 'none', padding: '8px 0', outline: 'none', fontSize: 14, fontFamily: 'var(--sans)', width: '100%', color: 'var(--ink)' }}/>
{['Todas', ...regions.map(r => r.name)].slice(0, 8).map(r => ( ))}
{filtered.length} {t('resultados', 'results')}
{/* List */}
{['#', t('Colegio', 'School'), t('Ciudad · Región', 'City · Region'), t('Tipo', 'Type')].map((h, i) => (
{h}
))}
{filtered.map((s, i) => (
0 ? '1px solid var(--line)' : 'none', transition: 'background 200ms' }} onMouseEnter={(e) => { e.currentTarget.style.background = 'var(--bg-alt)'; }} onMouseLeave={(e) => { e.currentTarget.style.background = 'transparent'; }} >
{String(i + 1).padStart(3, '0')}
{s.n}
{s.city} · {s.region}
{typeLabel(s.type)}
))} {filtered.length === 0 && (
{t('Sin resultados para tu búsqueda.', 'No results match your search.')}
)}

{t('Listado de los 103 colegios miembros activos a mayo 2026.', 'Directory of the 103 member schools active as of May 2026.')}

{/* CTA */}

{t('¿Tu colegio no está en la lista?', 'Don’t see your school on the list?')}

{t('La admisión está abierta todo el año. Te explicamos qué implica unirte a la red y cómo hacerlo en tres pasos.', 'Admission is open year-round. We’ll walk you through what joining the network involves and how to do it in three steps.')}

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