Rework Conf 2026 sponsor sizing for clearer tier hierarchy#2404
Merged
martinbonnin merged 1 commit intographql:sourcefrom May 7, 2026
Merged
Rework Conf 2026 sponsor sizing for clearer tier hierarchy#2404martinbonnin merged 1 commit intographql:sourcefrom
martinbonnin merged 1 commit intographql:sourcefrom
Conversation
Replace the fixed `aspect-[3]` box with per-tier max-h/max-w envelopes and per-logo overrides so visual hierarchy reads Platinum > Gold > Silver/Community > Bronze regardless of each logo's intrinsic aspect ratio. - Switch row layout from 2-col grid to flex with justify-center so single-logo tiers (Platinum, Community, Bronze) center on the section instead of sitting in the left grid column. - Position tier label absolutely on desktop so logos align to the section's true horizontal center, not the post-label area. - Crop internal whitespace from Meta SVGs and align airbnb width/ height to its cropped viewBox so logos fill their envelopes. - Add intrinsic width/height to Chillicream, airbnb, and Meta SVGs so they have a defined size when sized via max-h/max-w alone.
|
@jeanlucaslima is attempting to deploy a commit to the The GraphQL Foundation Team on Vercel. A member of the Team first needs to authorize it. |
Contributor
Author
Contributor
Author
|
Focus was to give ChilliCream a visual equivalence because it is a more vertical logo |
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.


Closes #2403
Summary
The 2026 Sponsors section had inconsistent visual hierarchy: Gold and Silver logos rendered larger than Platinum because every non-Meta logo was forced into a fixed
aspect-[3]box while Meta was constrained byaspect-video. Logos with internal SVG whitespace (Meta, airbnb) and logos with very different aspect ratios within the same tier (wide Apollo vs square ChilliCream) further compounded the imbalance.This PR replaces the fixed-aspect approach with per-tier
max-h/max-wenvelopes plus optional per-logo overrides for cases where intrinsic aspect ratios make a single tier rule look unbalanced.Changes
src/app/conf/2026/components/sponsors.tsxmax-h-* max-w-*per tier with mobile + desktop breakpoints. Logos render at their natural aspect viaobject-containcapped by the envelope.sizeOverridefield onSponsorso individual logos with extreme aspect ratios (square ChilliCream, stacked airbnb, small Grafast) can be tuned without raising the whole tier.justify-centerso single-logo tiers (Platinum, Community, Bronze) center on the section instead of sitting in the left grid column.md:absoluteon desktop so logos align to the section's true horizontal center, not centered relative to the post-label area.<img>no longer needs theaspect-videowrapper; the cropped SVG handles its own sizing.SVG asset cleanup
Meta.svgandMeta-dark.svg(viewBox="940 940 5100 1120").airbnb.svgwidth/heightattributes with the cropped viewBox so the logo fills its envelope without internal padding.width/heightattributes toChillicream.svg,airbnb.svg,Meta.svg,Meta-dark.svgso they have intrinsic dimensions when sized viamax-h/max-walone (previously these collapsed without theaspect-[3]wrapper).Result
Visual hierarchy now reads Platinum > Gold > Silver/Community > Bronze at any viewport, and logos within a tier feel comparable in visual weight regardless of shape.
Test plan
/conf/2026/#sponsorsand confirm tier hierarchy reads correctly