Skip to content

Commit b1703f2

Browse files
feat(site): add pink heart sponsor button next to crates.io
- Add GitHub Sponsors button with pink styling - Position after crates.io button on the right - Include heart icon and hover state
1 parent bd70312 commit b1703f2

1 file changed

Lines changed: 11 additions & 0 deletions

File tree

site/src/pages/home.rs

Lines changed: 11 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -48,6 +48,17 @@ pub fn Home() -> impl IntoView {
4848
</svg>
4949
"crates.io"
5050
</a>
51+
<a
52+
href="https://github.com/sponsors/matthewjberger"
53+
target="_blank"
54+
rel="noopener noreferrer"
55+
class="inline-flex items-center px-6 py-3 bg-pink-600 hover:bg-pink-700 text-white font-semibold rounded-lg transition-colors duration-200"
56+
>
57+
<svg class="w-5 h-5 mr-2" fill="currentColor" viewBox="0 0 20 20">
58+
<path fill-rule="evenodd" d="M3.172 5.172a4 4 0 015.656 0L10 6.343l1.172-1.171a4 4 0 115.656 5.656L10 17.657l-6.828-6.829a4 4 0 010-5.656z" clip-rule="evenodd"/>
59+
</svg>
60+
"Sponsor"
61+
</a>
5162
</div>
5263
</div>
5364
</header>

0 commit comments

Comments
 (0)