feat(website): real logos on the Plugin Hub & homepage layout polish#2061
Merged
Conversation
Most plugins fell back to a single grey placeholder because adding an icon meant regenerating the iconfont sprite (js/plugin-icon.js), so newer plugins were all flagged `useDefaultIcon`. Decouple icons from that sprite: a plugin can now declare a `logo` path that renders as an <img>, with a graceful onError fallback. As a result no plugin shows the empty placeholder any more: - 23 plugins now use their real brand logo (OpenTelemetry, Kafka, gRPC, GraphQL, Dubbo, OpenWhisk, OpenFunction, Elasticsearch, ClickHouse, Grafana Loki, Splunk, RocketMQ, AWS Lambda, Azure Functions, OPA, Brotli, SafeLine, OpenAPI, MQTT, Alibaba Cloud, AWS). - The 8 built-in AI plugins share a new on-brand AI glyph. - Other built-in plugins use the APISIX logo instead of the placeholder. The 39 existing sprite icons are untouched. Also reorder the plugin categories so Traffic leads and General is last.
- Integrations: flatten the per-category centered rows into one dense logo wall so every row is evenly filled (no orphan rows). - Features: remove ~18rem of dead space below the "Why APISIX?" heading, left over from the feature-card body this section no longer renders. - Comparison: the heading/subtitle were shifted 16.8% right by the shared `.arch-head`/`.compare-head` offset rule (duplicated in customTheme.scss and architecture.scss) while the table stayed centered. Drop the comparison classes from that rule so all three share one center axis. - Open-source promo: stack the "Learn from developers" copy above a responsive (fluid) video instead of cramming it beside a fixed 640px player, so the text is readable.
guoqqqi
approved these changes
Jun 24, 2026
Yilialinn
approved these changes
Jun 25, 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.
Overview
Two related website improvements, in two commits.
1. Plugin Hub — real logos
Most plugins on
/plugins/fell back to a single grey placeholder, because giving a plugin an icon meant regenerating the iconfont sprite (static/js/plugin-icon.js) — so newer plugins were all flaggeduseDefaultIcon.This decouples the icon from that sprite: a plugin can declare a
logopath inplugins.jsonthat renders as an<img>with a gracefulonErrorfallback. No plugin shows the empty placeholder any more:img/plugin/ai.svg).img/plugin/apisix.svg) instead of the grey placeholder.Logo SVGs come from each project's official assets / Devicon / CNCF artwork / gilbarbara-logos (all open-source and redistributable); each was scanned for
<script>/ event handlers / remote refs before adding. Plugin categories are also reordered so Traffic leads and General is last.2. Homepage layout polish
.arch-head/.compare-headoffset rule (duplicated incustomTheme.scssandarchitecture.scss) while the table stayed centered. Drop the comparison classes from that rule so all three share one center axis.Test plan
/plugins/and/locally — every plugin renders a real icon (0 grey placeholders); homepage sections verified at desktop and wide viewports.