docs: add GitHub Sponsors CTAs across README, landing, and docs

Remove Ko-fi from FUNDING.yml since GitHub Sponsors is now active.
Add sponsor badge to README badge row and support section. Add
sponsor button to landing page open-source section and footer.
Add heart icon social link to docs site nav bar.
This commit is contained in:
SnapOtter
2026-05-16 19:38:12 +08:00
parent 6717207c48
commit 50a25691d9
5 changed files with 27 additions and 5 deletions
-1
View File
@@ -1,2 +1 @@
github: snapotter-hq github: snapotter-hq
ko_fi: snapotter-hq
+8 -3
View File
@@ -9,6 +9,7 @@
<a href="https://github.com/snapotter-hq/snapotter/blob/main/LICENSE"><img src="https://img.shields.io/badge/License-AGPLv3-blue" alt="License"></a> <a href="https://github.com/snapotter-hq/snapotter/blob/main/LICENSE"><img src="https://img.shields.io/badge/License-AGPLv3-blue" alt="License"></a>
<a href="https://github.com/snapotter-hq/snapotter/stargazers"><img src="https://img.shields.io/github/stars/snapotter-hq/snapotter?style=social" alt="Stars"></a> <a href="https://github.com/snapotter-hq/snapotter/stargazers"><img src="https://img.shields.io/github/stars/snapotter-hq/snapotter?style=social" alt="Stars"></a>
<a href="https://discord.gg/hr3s7HPUsr"><img src="https://img.shields.io/badge/Discord-Join-5865F2?logo=discord&logoColor=white" alt="Discord"></a> <a href="https://discord.gg/hr3s7HPUsr"><img src="https://img.shields.io/badge/Discord-Join-5865F2?logo=discord&logoColor=white" alt="Discord"></a>
<a href="https://github.com/sponsors/snapotter-hq"><img src="https://img.shields.io/badge/Sponsor-pink?logo=githubsponsors&logoColor=white" alt="Sponsor"></a>
</p> </p>
![SnapOtter - Dashboard](branding/dashboard.png) ![SnapOtter - Dashboard](branding/dashboard.png)
@@ -82,17 +83,21 @@ We welcome bug reports, feature ideas, and pull requests. See [CONTRIBUTING.md](
- [Submit a PR](CONTRIBUTING.md#code-requires-cla) - [Submit a PR](CONTRIBUTING.md#code-requires-cla)
- [Join Discord](https://discord.gg/hr3s7HPUsr) for help and discussion - [Join Discord](https://discord.gg/hr3s7HPUsr) for help and discussion
## Show Your Support ## Support SnapOtter
<p align="center"> <p align="center">
If SnapOtter saves you time, money or both, consider giving us a star.<br> If SnapOtter saves you time, money, or both, consider starring the repo or sponsoring the project.<br>
It helps others discover the project and keeps us motivated. Stars help others discover SnapOtter. Sponsorships fund development and keep it free for everyone.
</p> </p>
<p align="center"> <p align="center">
<a href="https://github.com/snapotter-hq/SnapOtter/stargazers"> <a href="https://github.com/snapotter-hq/SnapOtter/stargazers">
<img src="https://img.shields.io/github/stars/snapotter-hq/SnapOtter?style=for-the-badge&logo=github&color=yellow" alt="Star SnapOtter"> <img src="https://img.shields.io/github/stars/snapotter-hq/SnapOtter?style=for-the-badge&logo=github&color=yellow" alt="Star SnapOtter">
</a> </a>
&nbsp;
<a href="https://github.com/sponsors/snapotter-hq">
<img src="https://img.shields.io/badge/Sponsor-pink?style=for-the-badge&logo=githubsponsors&logoColor=white" alt="Sponsor SnapOtter">
</a>
</p> </p>
<p align="center"> <p align="center">
+5
View File
@@ -124,6 +124,11 @@ export default defineConfig({
}, },
socialLinks: [ socialLinks: [
{
icon: { svg: '<svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 24 24" fill="currentColor"><path d="M12 21.35l-1.45-1.32C5.4 15.36 2 12.28 2 8.5 2 5.42 4.42 3 7.5 3c1.74 0 3.41.81 4.5 2.09C13.09 3.81 14.76 3 16.5 3 19.58 3 22 5.42 22 8.5c0 3.78-3.4 6.86-8.55 11.54L12 21.35z"/></svg>' },
link: "https://github.com/sponsors/snapotter-hq",
ariaLabel: "Sponsor SnapOtter",
},
{ icon: "github", link: "https://github.com/snapotter-hq/snapotter" }, { icon: "github", link: "https://github.com/snapotter-hq/snapotter" },
{ icon: "discord", link: "https://discord.gg/hr3s7HPUsr" }, { icon: "discord", link: "https://discord.gg/hr3s7HPUsr" },
], ],
+4
View File
@@ -25,6 +25,10 @@ const columns = [
links: [ links: [
{ label: "GitHub", href: "https://github.com/snapotter-hq/snapotter" }, { label: "GitHub", href: "https://github.com/snapotter-hq/snapotter" },
{ label: "Discord", href: "https://discord.gg/hr3s7HPUsr" }, { label: "Discord", href: "https://discord.gg/hr3s7HPUsr" },
{
label: "Sponsor",
href: "https://github.com/sponsors/snapotter-hq",
},
{ {
label: "Contributing", label: "Contributing",
href: "https://github.com/snapotter-hq/snapotter/blob/main/CONTRIBUTING.md", href: "https://github.com/snapotter-hq/snapotter/blob/main/CONTRIBUTING.md",
+10 -1
View File
@@ -1,4 +1,4 @@
import { Github, MessageCircle, Star } from "lucide-react"; import { Github, Heart, MessageCircle, Star } from "lucide-react";
import { FadeIn } from "./fade-in"; import { FadeIn } from "./fade-in";
export function OpenSource() { export function OpenSource() {
@@ -24,6 +24,15 @@ export function OpenSource() {
Star on GitHub Star on GitHub
<Star size={16} className="text-accent" /> <Star size={16} className="text-accent" />
</a> </a>
<a
href="https://github.com/sponsors/snapotter-hq"
target="_blank"
rel="noopener noreferrer"
className="inline-flex items-center gap-2 rounded-xl border border-border px-6 py-3 text-base font-semibold transition-colors hover:bg-background-alt"
>
<Heart size={20} />
Sponsor
</a>
<a <a
href="https://discord.gg/hr3s7HPUsr" href="https://discord.gg/hr3s7HPUsr"
target="_blank" target="_blank"