Skip to content

Commit e47405b

Browse files
committed
Add github links to website
1 parent 9f89904 commit e47405b

File tree

3 files changed

+32
-2
lines changed

3 files changed

+32
-2
lines changed

web/src/components/footer.tsx

Lines changed: 5 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -24,6 +24,11 @@ const legalLinks: LinkInfo[] = [
2424
]
2525

2626
const communityLinks: LinkInfo[] = [
27+
{
28+
text: 'GitHub',
29+
href: 'https://github.com/CodebuffAI/codebuff',
30+
target: '_blank',
31+
},
2732
{ text: 'Discord', href: 'https://discord.gg/mcWTGjgTj3', target: '_blank' },
2833
]
2934

web/src/components/navbar/navbar.tsx

Lines changed: 21 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -19,6 +19,7 @@ import {
1919
DropdownMenuItem,
2020
DropdownMenuTrigger,
2121
} from '../ui/dropdown-menu'
22+
import { Icons } from '../icons'
2223

2324
import { authOptions } from '@/app/api/auth/[...nextauth]/auth-options'
2425
import { cn } from '@/lib/utils'
@@ -54,6 +55,15 @@ export const Navbar = async () => {
5455
>
5556
Pricing
5657
</Link>
58+
<Link
59+
href="https://github.com/CodebuffAI/codebuff"
60+
target="_blank"
61+
rel="noopener noreferrer"
62+
className="hover:text-blue-400 transition-colors font-medium px-2 py-1 rounded-md hover:bg-blue-50 dark:hover:bg-blue-900/20 flex items-center gap-2"
63+
>
64+
<Icons.github className="h-4 w-4" />
65+
GitHub
66+
</Link>
5767
{/* <Link
5868
href="/agents"
5969
className="hover:text-blue-400 transition-colors font-medium px-2 py-1 rounded-md hover:bg-blue-50 dark:hover:bg-blue-900/20"
@@ -91,6 +101,17 @@ export const Navbar = async () => {
91101
Pricing
92102
</Link>
93103
</DropdownMenuItem>
104+
<DropdownMenuItem asChild>
105+
<Link
106+
href="https://github.com/CodebuffAI/codebuff"
107+
target="_blank"
108+
rel="noopener noreferrer"
109+
className="flex items-center"
110+
>
111+
<Icons.github className="mr-2 h-4 w-4" />
112+
GitHub
113+
</Link>
114+
</DropdownMenuItem>
94115
{/* <DropdownMenuItem asChild>
95116
<Link href="/agents" className="flex items-center">
96117
<Bot className="mr-2 h-4 w-4" />

web/src/components/ui/footer.tsx

Lines changed: 6 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -109,7 +109,9 @@ export function Footer() {
109109
<ul className="space-y-2">
110110
<li>
111111
<Link
112-
href="#"
112+
href="https://github.com/CodebuffAI/codebuff"
113+
target="_blank"
114+
rel="noopener noreferrer"
113115
className="text-sm text-zinc-400 hover:text-white transition-colors duration-300"
114116
>
115117
GitHub
@@ -149,7 +151,9 @@ export function Footer() {
149151
</div>
150152
<div className="flex space-x-6">
151153
<Link
152-
href="#"
154+
href="https://github.com/CodebuffAI/codebuff"
155+
target="_blank"
156+
rel="noopener noreferrer"
153157
className="text-zinc-400 hover:text-white transition-colors duration-300"
154158
>
155159
<svg

0 commit comments

Comments
 (0)