Skip to content

Commit dd31abd

Browse files
add sponsor button
1 parent eb83245 commit dd31abd

File tree

1 file changed

+13
-13
lines changed

1 file changed

+13
-13
lines changed

apps/web/src/app/(home)/_components/navbar.tsx

Lines changed: 13 additions & 13 deletions
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,5 @@
11
"use client";
2-
import { Github, Maximize2, Menu, X } from "lucide-react";
2+
import { Github, Heart, Maximize2, Menu, X } from "lucide-react";
33
import { AnimatePresence, motion } from "motion/react";
44
import Image from "next/image";
55
import Link from "next/link";
@@ -134,6 +134,15 @@ export default function Navbar() {
134134
<div className="h-5 w-px bg-border" />
135135

136136
<div className="flex items-center gap-2">
137+
<Link
138+
href="https://github.com/sponsors/AmanVarshney01"
139+
target="_blank"
140+
className="inline-flex items-center gap-1.5 rounded-md border border-border bg-muted/90 px-3 py-1.5 font-mono text-muted-foreground text-xs backdrop-blur-sm transition-colors hover:bg-muted hover:text-foreground"
141+
title="Sponsor on GitHub"
142+
>
143+
<Heart className="size-3.5" />
144+
Sponsor
145+
</Link>
137146
<Link
138147
href="/new"
139148
className="inline-flex items-center gap-1.5 rounded-md border border-primary/50 bg-primary/10 px-3 py-1.5 font-mono text-primary text-xs transition-colors hover:bg-primary/20"
@@ -142,15 +151,6 @@ export default function Navbar() {
142151
<Maximize2 className="size-3.5" />
143152
Builder
144153
</Link>
145-
<Link
146-
href="https://www.github.com/better-t-stack/create-better-t-stack"
147-
target="_blank"
148-
className="inline-flex items-center gap-1.5 rounded-md border border-border bg-muted/90 px-3 py-1.5 font-mono text-muted-foreground text-xs backdrop-blur-sm transition-colors hover:bg-muted hover:text-foreground"
149-
title="Star on GitHub"
150-
>
151-
<Github className="size-3.5" />
152-
Star
153-
</Link>
154154
</div>
155155

156156
<ThemeToggle />
@@ -242,13 +242,13 @@ export default function Navbar() {
242242
Stack Builder
243243
</Link>
244244
<Link
245-
href="https://www.github.com/better-t-stack/create-better-t-stack"
245+
href="https://github.com/sponsors/AmanVarshney01"
246246
target="_blank"
247247
onClick={closeMobileMenu}
248248
className="flex w-full items-center justify-center gap-2 rounded-md border border-border bg-muted/90 px-4 py-2.5 font-mono text-muted-foreground text-sm backdrop-blur-sm transition-colors hover:bg-muted hover:text-foreground"
249249
>
250-
<Github className="size-4" />
251-
Star on GitHub
250+
<Heart className="size-4" />
251+
Sponsor on GitHub
252252
</Link>
253253
</div>
254254
</div>

0 commit comments

Comments
 (0)