Skip to content

feat(website): real logos on the Plugin Hub & homepage layout polish#2061

Merged
Yilialinn merged 2 commits into
masterfrom
feat/plugin-logos-and-homepage
Jun 25, 2026
Merged

feat(website): real logos on the Plugin Hub & homepage layout polish#2061
Yilialinn merged 2 commits into
masterfrom
feat/plugin-logos-and-homepage

Conversation

@moonming

Copy link
Copy Markdown
Member

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 flagged useDefaultIcon.

This decouples the icon from that sprite: a plugin can declare a logo path in plugins.json that renders as an <img> with a graceful onError fallback. 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 (img/plugin/ai.svg).
  • Other built-in plugins use the APISIX logo (img/plugin/apisix.svg) instead of the grey placeholder.
  • The existing 39 sprite icons are untouched.

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

  • Integrations ("Integrates with your stack"): flatten the per-category centered rows into one dense logo wall, so rows are evenly filled instead of leaving orphan rows.
  • Features ("Why APISIX?"): drop ~18rem of dead space below the heading, left over from a feature-card body this section no longer renders.
  • Comparison ("Among the best"): 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.

Test plan

  • Built /plugins/ and / locally — every plugin renders a real icon (0 grey placeholders); homepage sections verified at desktop and wide viewports.
  • CI build / preview deploy passes.

moonming added 2 commits June 24, 2026 20:51
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.
@Yilialinn Yilialinn merged commit c2b3238 into master Jun 25, 2026
4 checks passed
@Yilialinn Yilialinn deleted the feat/plugin-logos-and-homepage branch June 25, 2026 03:06
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.

3 participants