Añadir tier 'Comunidades Patrocinadoras' para sponsors#196
Merged
Conversation
- Añadir 'community' al union TSponsorTier - Añadir variable CSS --color-tier-community (azul suave #4a6fa5) en @theme - Añadir clave 'sponsors.community' en i18n (es, en, ca) - Mover EuroPython Society de tier 'gold' a tier 'community' - Renderizar nueva sección debajo de Bronce en SectionSponsors.astro (tamaño 140) - Refactor: reemplazar 6 bloques SponsorsGroup repetidos por un array de configuración tierDefs iterado con .map(). Añadir un nuevo tier ahora es 1 línea en el array en vez de 6 líneas de JSX
ctrl-alt-d
approved these changes
Jun 15, 2026
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
Resumen
Agrega una nueva sección "Comunidades Patrocinadoras" en la home, debajo del bloque de Patrocinadores Bronce, para distinguir aliados/comunidades (ej. EuroPython Society) de los sponsors comerciales pagos (main/platinum/gold/silver/bronze).
Cambios
communityagregado al unionTSponsorTierensrc/types/sponsors.ts--color-tier-community: #4a6fa5(azul suave) en el bloque@themedesrc/style/global.csssponsors.communityensrc/i18n/home.ts(es, en, ca)src/data/sponsors/eps.md: EuroPython Society movido detier: gold→tier: communitysrc/components/home/SectionSponsors.astroBonus: refactor
Mientras estaba en el archivo, refactoricé los 6 bloques
<SponsorsGroup>repetidos a un arraytierDefscon.map(). Agregar un nuevo tier ahora es 1 línea en el array en vez de 6 líneas de JSX + const + lookup. Bonus:filterSponsorsByTierahora tipa su parámetro comoTSponsorTieren vez destring, así que un tier inválido es error de compilación.Orden en la home
Verificación
pnpm format→ todos los archivosunchangedpnpm astro check→ 0 errors, 0 warnings (2 hints preexistentes sin relación con este cambio)SponsorsGroup.astro)Notas
/sponsors(src/i18n/sponsors/*.ts). No se tocó esa sección porque es la grilla de marketing/venta de paquetes, separada del listado real de sponsors. Si se quiere eliminar de ahí, abrir issue aparte.Capturas
Closes #190