Skip to content

feat: use real logos for QUDT, UCUM, and BIPM authority badges#16

Merged
ronaldtse merged 1 commit intomainfrom
feat/authority-logos
Apr 29, 2026
Merged

feat: use real logos for QUDT, UCUM, and BIPM authority badges#16
ronaldtse merged 1 commit intomainfrom
feat/authority-logos

Conversation

@ronaldtse
Copy link
Copy Markdown
Contributor

Replaces the fake text-based authority icons (ⓢ, ⓤ, ⓠ) in UnitsDB entity detail pages with actual SVG logos:

  • BIPM — official BIPM logo for the SI Digital Framework references
  • UCUM — UCUM circle logo for Unified Code for Units of Measure references
  • QUDT — QUDT logo for Quantities, Units, Dimensions and Types references

The authority badge CSS has been adjusted to accommodate the different logo aspect ratios (BIPM/QUDT are wide horizontal, UCUM is circular). NIST still uses the Ⓝ text badge.

Replace text-based authority icons (ⓢ, ⓤ, ⓠ) with actual SVG logos
in UnitsDB entity detail external references section.

- Add logo-qudt.svg, logo-ucum.svg, logo-bipm.svg to public assets
- Update UnitsDBEntityDetail to render logos via <img> in auth badges
- Adjust badge CSS for variable-width logos (BIPM/QUDT are wide,
  UCUM is circular) with per-authority sizing
@ronaldtse ronaldtse merged commit ea8472e into main Apr 29, 2026
6 checks passed
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