From b0f0eeaa59dc1c8cd53843020cb1a1a510c2da99 Mon Sep 17 00:00:00 2001 From: Infi-Knight Date: Wed, 16 Sep 2026 17:50:07 +0530 Subject: [PATCH] docs: add the DPG badge to the Rafiki footer (DOCSDEV-78) Rafiki is now a verified digital public good. The DPGA asks projects to show the badge and to link it to their registry profile page. Add the official badge as an inline SVG component. The dark theme fills every path white, which matches the official white variant of the badge. --- .../src/components/DpgBadge.astro | 44 +++++++++++++++++++ .../documentation/src/components/Footer.astro | 29 ++++++++++++ 2 files changed, 73 insertions(+) create mode 100644 packages/documentation/src/components/DpgBadge.astro diff --git a/packages/documentation/src/components/DpgBadge.astro b/packages/documentation/src/components/DpgBadge.astro new file mode 100644 index 0000000000..1f4e0c56a7 --- /dev/null +++ b/packages/documentation/src/components/DpgBadge.astro @@ -0,0 +1,44 @@ +--- +/** + * Official Digital Public Goods Alliance badge. + * Source: https://github.com/DPGAlliance/dpg-resources (CC0 1.0 Universal). + * The dark theme fills every path white, which matches the official white variant. + */ +const { class: className } = Astro.props +--- + +Digital Public Good badge + + diff --git a/packages/documentation/src/components/Footer.astro b/packages/documentation/src/components/Footer.astro index be675e8141..d91271d25b 100644 --- a/packages/documentation/src/components/Footer.astro +++ b/packages/documentation/src/components/Footer.astro @@ -1,10 +1,21 @@ --- import Pagination from '@astrojs/starlight/components/Pagination.astro' +import DpgBadge from './DpgBadge.astro' ---