Skip to content

feat(docs): add sponsor heart icon and donate page#161

Merged
polaz merged 1 commit intomainfrom
feat/sponsor-page
Jan 23, 2026
Merged

feat(docs): add sponsor heart icon and donate page#161
polaz merged 1 commit intomainfrom
feat/sponsor-page

Conversation

@polaz
Copy link
Copy Markdown
Member

@polaz polaz commented Jan 23, 2026

Summary

  • Add heart icon to navbar socialLinks linking to /sponsor page
  • Create docs/sponsor.md with USDT TRC-20 wallet address and QR code
  • Copy QR SVG asset to docs/public/

Closes #160

Test plan

  • DOCS_BASE=/ yarn docs:build passes
  • Heart icon visible in navbar next to GitHub/npm icons
  • Click heart -> navigates to sponsor page
  • QR code and wallet address displayed correctly

Copilot AI review requested due to automatic review settings January 23, 2026 22:23
@polaz polaz enabled auto-merge (squash) January 23, 2026 22:23
@codecov
Copy link
Copy Markdown

codecov bot commented Jan 23, 2026

Codecov Report

✅ All modified and coverable lines are covered by tests.

📢 Thoughts on this report? Let us know!

@polaz polaz merged commit e0d68bd into main Jan 23, 2026
19 checks passed
@polaz polaz deleted the feat/sponsor-page branch January 23, 2026 22:25
Copy link
Copy Markdown

Copilot AI left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Pull request overview

Adds a sponsor/donate entry point in the documentation site by introducing a navbar “heart” social link to a new /sponsor page containing USDT (TRC‑20) donation details and a QR code asset.

Changes:

  • Add a custom heart icon to the VitePress navbar social links pointing to the sponsor page.
  • Add a new docs/sponsor.md page with wallet address and QR display.
  • Add the QR SVG asset to docs/public/ for static serving.

Reviewed changes

Copilot reviewed 2 out of 3 changed files in this pull request and generated 1 comment.

File Description
docs/sponsor.md Adds a sponsor page with QR + wallet address and a network tip callout.
docs/public/usdt-qr.svg Adds the static QR code SVG referenced by the sponsor page.
docs/.vitepress/config.mts Adds a heart social link in the navbar that navigates to the sponsor page (base-aware).

Comment on lines +7 to +9
<div style="text-align: center; margin: 2rem 0;">
<img src="/usdt-qr.svg" alt="USDT TRC-20 wallet QR code" style="width: 240px; height: 240px;" />
</div>
Copy link

Copilot AI Jan 23, 2026

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

The QR code image uses a hard-coded absolute path (/usdt-qr.svg) inside raw HTML. With the docs base defaulting to /gitlab-mcp/ in config.mts, this will resolve to the site root and break on the deployed sub-path. Use a base-aware asset URL (e.g., VitePress withBase('/usdt-qr.svg') via a bound :src, or switch to Markdown image syntax if you want VitePress to automatically prefix the base).

Suggested change
<div style="text-align: center; margin: 2rem 0;">
<img src="/usdt-qr.svg" alt="USDT TRC-20 wallet QR code" style="width: 240px; height: 240px;" />
</div>
![USDT TRC-20 wallet QR code](./usdt-qr.svg)

Copilot uses AI. Check for mistakes.
sw-release-bot bot pushed a commit that referenced this pull request Jan 23, 2026
## [6.35.0](v6.34.1...v6.35.0) (2026-01-23)

### Features

* **docs:** add sponsor heart icon and donate page ([#161](#161)) ([e0d68bd](e0d68bd)), closes [#160](#160)
@sw-release-bot
Copy link
Copy Markdown

🎉 This PR is included in version 6.35.0 🎉

The release is available on:

Your semantic-release bot 📦🚀

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

Projects

None yet

Development

Successfully merging this pull request may close these issues.

Add sponsor heart icon and donate page

2 participants