mirror of
https://github.com/juherr/kill-the-news.git
synced 2026-06-20 22:03:48 +00:00
feat(site): add GitHub Sponsors links (nav, sponsor section, footer)
Co-Authored-By: Claude Sonnet 4.6 <noreply@anthropic.com>
This commit is contained in:
@@ -460,6 +460,8 @@
|
||||
transition: color 0.15s, background 0.15s;
|
||||
}
|
||||
.nav-link:hover { color: var(--text); background: var(--surface); }
|
||||
.nav-link-sponsor { color: #db61a2; display: inline-flex; align-items: center; gap: 0.3rem; }
|
||||
.nav-link-sponsor:hover { color: #e879b8; background: rgba(219,97,162,0.08); }
|
||||
@media (max-width: 600px) { nav-links { display: none; } }
|
||||
|
||||
/* ── Install section ── */
|
||||
@@ -601,6 +603,10 @@
|
||||
<a href="#features" class="nav-link">Features</a>
|
||||
<a href="#how-it-works" class="nav-link">How it works</a>
|
||||
<a href="#install" class="nav-link">Install</a>
|
||||
<a href="https://github.com/sponsors/juherr" class="nav-link nav-link-sponsor" target="_blank" rel="noopener">
|
||||
<svg width="13" height="13" viewBox="0 0 24 24" fill="currentColor" aria-hidden="true"><path d="M12 21.593c-.524-.505-3.655-3.536-5.905-5.8C3.39 13.078 2 10.538 2 8a6 6 0 0 1 10-4.472A6 6 0 0 1 22 8c0 2.538-1.39 5.078-4.095 7.793-2.25 2.264-5.381 5.295-5.905 5.8z"/></svg>
|
||||
Sponsor
|
||||
</a>
|
||||
</nav-links>
|
||||
<a href="https://github.com/juherr/kill-the-news" class="btn btn-outline" target="_blank" rel="noopener">
|
||||
<svg width="15" height="15" viewBox="0 0 24 24" fill="currentColor"><path d="M12 0C5.37 0 0 5.37 0 12c0 5.3 3.44 9.8 8.2 11.38.6.11.82-.26.82-.58v-2.03c-3.34.73-4.04-1.61-4.04-1.61-.54-1.38-1.33-1.75-1.33-1.75-1.09-.74.08-.73.08-.73 1.2.09 1.84 1.24 1.84 1.24 1.07 1.83 2.8 1.3 3.49 1 .11-.78.42-1.3.76-1.6-2.67-.3-5.47-1.33-5.47-5.93 0-1.31.47-2.38 1.24-3.22-.12-.3-.54-1.52.12-3.17 0 0 1.01-.32 3.3 1.23a11.5 11.5 0 0 1 3-.4c1.02.005 2.04.14 3 .4 2.28-1.55 3.29-1.23 3.29-1.23.66 1.65.24 2.87.12 3.17.77.84 1.24 1.91 1.24 3.22 0 4.61-2.81 5.63-5.48 5.92.43.37.81 1.1.81 2.22v3.29c0 .32.22.7.83.58C20.57 21.8 24 17.3 24 12c0-6.63-5.37-12-12-12z"/></svg>
|
||||
@@ -1026,6 +1032,18 @@ bucket_name = "kill-the-news-attachments"</span></pre>
|
||||
</div>
|
||||
</section>
|
||||
|
||||
<!-- Sponsor -->
|
||||
<div style="border-top:1px solid var(--border);padding:3rem 2rem;text-align:center;">
|
||||
<p style="font-size:0.85rem;color:var(--muted);margin-bottom:1rem;">
|
||||
kill-the-news is free and open source. If it saves you time, consider supporting its development.
|
||||
</p>
|
||||
<a href="https://github.com/sponsors/juherr" class="btn" target="_blank" rel="noopener"
|
||||
style="background:rgba(219,97,162,0.12);border:1px solid rgba(219,97,162,0.35);color:#e879b8;font-size:0.875rem;padding:0.5rem 1.25rem;">
|
||||
<svg width="15" height="15" viewBox="0 0 24 24" fill="currentColor" aria-hidden="true"><path d="M12 21.593c-.524-.505-3.655-3.536-5.905-5.8C3.39 13.078 2 10.538 2 8a6 6 0 0 1 10-4.472A6 6 0 0 1 22 8c0 2.538-1.39 5.078-4.095 7.793-2.25 2.264-5.381 5.295-5.905 5.8z"/></svg>
|
||||
Sponsor on GitHub
|
||||
</a>
|
||||
</div>
|
||||
|
||||
<!-- Footer -->
|
||||
<footer>
|
||||
<p>
|
||||
@@ -1036,6 +1054,8 @@ bucket_name = "kill-the-news-attachments"</span></pre>
|
||||
Built on <a href="https://workers.cloudflare.com/" target="_blank" rel="noopener">Cloudflare Workers</a>
|
||||
<span class="sep">·</span>
|
||||
Inspired by <a href="https://github.com/leafac/kill-the-newsletter" target="_blank" rel="noopener">kill-the-newsletter</a>
|
||||
<span class="sep">·</span>
|
||||
<a href="https://github.com/sponsors/juherr" target="_blank" rel="noopener">♥ Sponsor</a>
|
||||
</p>
|
||||
</footer>
|
||||
|
||||
|
||||
Reference in New Issue
Block a user