From b213add5052ecb607e27586f4c6509c6894e8128 Mon Sep 17 00:00:00 2001 From: Gigi Date: Thu, 11 Jun 2026 21:37:35 +0200 Subject: [PATCH] feat(projects): add WireGuard heartbeat link WireGuard repos on git.zx2c4.com are now tracked in Heartbeat, so link the project page to ?q=wireguard and honor explicit heartbeat URLs on project action buttons. --- data/projects/wireguard.mdx | 1 + pages/projects/[...slug].tsx | 3 ++- 2 files changed, 3 insertions(+), 1 deletion(-) diff --git a/data/projects/wireguard.mdx b/data/projects/wireguard.mdx index 2db33ffc8..11cabfb35 100644 --- a/data/projects/wireguard.mdx +++ b/data/projects/wireguard.mdx @@ -7,6 +7,7 @@ website: 'https://www.wireguard.com/' donationLink: 'https://www.wireguard.com/donations/' coverImage: '/static/images/projects/wireguard.png' git: 'https://www.wireguard.com/repositories/' +heartbeat: 'https://heartbeat.opensats.org/?q=wireguard' tags: ['Privacy', 'Protocol', 'Infrastructure'] fund: general totalSatsSent: 605079968 diff --git a/pages/projects/[...slug].tsx b/pages/projects/[...slug].tsx index bbf2536cc..bc497a353 100644 --- a/pages/projects/[...slug].tsx +++ b/pages/projects/[...slug].tsx @@ -77,7 +77,8 @@ export default function ProjectPage({ )} {(() => { - const heartbeatUrl = getHeartbeatUrl(project.git) + const heartbeatUrl = + project.heartbeat || getHeartbeatUrl(project.git) return heartbeatUrl ? (