Skip to content

fix(ui): replace the logo with the transparent-background version - #332

Merged
aalvaropc merged 1 commit into
mainfrom
fix/gdg-logo-transparent-background
Jul 30, 2026
Merged

fix(ui): replace the logo with the transparent-background version#332
aalvaropc merged 1 commit into
mainfrom
fix/gdg-logo-transparent-background

Conversation

@aalvaropc

Copy link
Copy Markdown
Member

What changed

public/gdg-logo.png is replaced with the version already prepared on the redesign branch (worktree-redesign-ux, #278).

Before After
Size 120×120 180×180
Background Opaque white Transparent

Why

The old PNG had the white background baked into the image — all four corners are fully opaque RGBA (255,255,255,255). On any surface that is not white, the logo renders as a light box instead of a logo. It is most obvious in the admin panel, which is dark:

The corrected asset already existed on the redesign branch, so this pulls just that one file rather than waiting for the whole redesign PR to land.

Notes for review

  • The file is referenced from ten places. All of them are plain <img> with CSS classes or width/height attributes that only scale it — none use Astro's <Image> component, so nothing does build-time processing against the old dimensions. Going from 120px to 180px is safe, and the larger source is an improvement for the og:image / JSON-LD logo references.
  • The rounded-sm (Footer) and rounded-2xl (/about) classes on the logo were there to soften the white box. They are harmless now that there is no box, but I left them alone rather than mix an unrelated cleanup into an asset swap.
  • public/favicon.png is also upgraded on feat(ui): redesign public site with design system, dark mode and a11y fixes #278 (64×64 → 128×128). I did not include it here since the request was specifically the logo — say the word and I will add it to this PR.

How to test

pnpm run build   # 47 pages
file dist/gdg-logo.png   # -> PNG image data, 180 x 180, 8-bit/color RGBA

Visually, the place it matters most is the dark UI: open /admin (sidebar) and the login screen, and confirm the logo no longer sits inside a white square. Also check the footer and /about, which render it on light backgrounds — it should look unchanged there.

public/gdg-logo.png tenía el fondo blanco calcado en el propio PNG (RGBA
totalmente opaco en las cuatro esquinas), así que sobre cualquier
superficie que no fuese blanca se veía como un recuadro claro. Salta a la
vista en el panel, que es oscuro: el logo aparece metido en una caja.

Se sustituye por la versión que ya venía preparada en la rama del rediseño
(worktree-redesign-ux, PR #278): fondo transparente y 180x180 en vez de
120x120.

El archivo se referencia desde diez sitios, todos con <img> y clases o
atributos que solo escalan —ninguno usa el componente Image de Astro—, así
que el cambio de dimensiones no afecta a ningún layout. Las esquinas
redondeadas del footer y de /about estaban ahí para disimular el recuadro
blanco; ahora son inocuas, no las toco para no mezclar cambios.
@aalvaropc
aalvaropc marked this pull request as ready for review July 30, 2026 23:08
@aalvaropc
aalvaropc requested a review from DavidMarioLC as a code owner July 30, 2026 23:08
@aalvaropc
aalvaropc merged commit a58e91c into main Jul 30, 2026
@aalvaropc
aalvaropc deleted the fix/gdg-logo-transparent-background branch July 30, 2026 23:08
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant