Skip to content

Commit 1add80a

Browse files
Remove Learn about Cody and Code Search buttons from Hero component (#1316)
Amp-Thread-ID: https://ampcode.com/threads/T-a6e2fde5-e679-4df3-8ec5-856fe3db8df4 Co-authored-by: Amp <amp@ampcode.com>
1 parent d970f03 commit 1add80a

1 file changed

Lines changed: 1 addition & 30 deletions

File tree

src/components/Hero.tsx

Lines changed: 1 addition & 30 deletions
Original file line numberDiff line numberDiff line change
@@ -35,36 +35,7 @@ export function Hero() {
3535
>
3636
Sourcegraph allows developers to rapidly search, write, and understand code by bringing insights from their entire codebase right into the editor.
3737
</p>
38-
<div className="mt-8 flex gap-1 md:justify-center lg:justify-start">
39-
<Button
40-
href="/cody"
41-
// target="_blank"
42-
>
43-
Learn about Cody
44-
</Button>
45-
<Button
46-
className="group flex items-center"
47-
// target="_blank"
48-
href="/code_search"
49-
variant="ghost"
50-
>
51-
Learn about Code Search
52-
<svg
53-
xmlns="http://www.w3.org/2000/svg"
54-
fill="none"
55-
viewBox="0 0 24 24"
56-
strokeWidth="1.5"
57-
stroke="currentColor"
58-
className="ml-2 h-3 w-3 transform-gpu transition-transform group-hover:translate-x-1"
59-
>
60-
<path
61-
strokeLinecap="round"
62-
strokeLinejoin="round"
63-
d="M11.25 4.5l7.5 7.5-7.5 7.5m-6-15l7.5 7.5-7.5 7.5"
64-
/>
65-
</svg>
66-
</Button>
67-
</div>
38+
6839
</div>
6940
</div>
7041
<div className="relative -mb-32 -mt-16 hidden items-center justify-center sm:flex lg:static xl:pl-10">

0 commit comments

Comments
 (0)