-
Notifications
You must be signed in to change notification settings - Fork 171
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
- Loading branch information
1 parent
2bd3178
commit 6c8e0ac
Showing
4 changed files
with
71 additions
and
70 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,59 @@ | ||
import { FunctionComponent } from 'react' | ||
|
||
import ChevronRightIcon from 'mdi-react/ChevronRightIcon' | ||
import Link from 'next/link' | ||
|
||
import { ContentSection } from '../ContentSection' | ||
import { Heading } from '../Heading' | ||
|
||
export const CodeSearchCard: FunctionComponent = () => ( | ||
<ContentSection | ||
id="contact-form" | ||
parentClassName="!py-24" | ||
className="mx-auto flex flex-col gap-6 md:flex-row lg:pl-6" | ||
> | ||
<div className="sg-bg-code-search-new-cta hover:cta-free-cody relative overflow-hidden rounded-2xl border border-gray-200 border-opacity-25 !px-14 py-16 md:w-1/2 md:p-16"> | ||
<div className="bg-grad absolute right-0 top-0 h-[3px] w-full flex-1 bg-gradient-to-r from-blue-300 via-violet-400 to-vermillion-300" /> | ||
<Heading size="h2" className="text-5xl !leading-10 !tracking-[-1px] text-white"> | ||
Code Search Enterprise | ||
</Heading> | ||
<Heading | ||
size="h3" | ||
className="py-4 !text-[18px] !leading-[27px] !tracking-[-0.25px] text-white text-opacity-80" | ||
> | ||
Get Code Search for your team’s entire private codebase. Contact us for a demo or to get started with a | ||
free trial. | ||
</Heading> | ||
<div className="flex max-w-[356px] flex-col flex-wrap gap-4 pt-4 sm:flex-row"> | ||
<Link href="/demo" className="btn btn-primary max-w-[216px]"> | ||
Contact us for a demo | ||
</Link> | ||
<Link | ||
href="/pricing?product=codeSearch" | ||
className="flex items-center justify-start gap-[10px] whitespace-nowrap font-semibold text-white hover:text-violet-300 hover:underline" | ||
> | ||
See pricing <ChevronRightIcon /> | ||
</Link> | ||
</div> | ||
</div> | ||
<div className="hover:cta-free-cody !md:px-14 relative overflow-hidden rounded-2xl border border-opacity-25 bg-white p-4 md:w-1/2 md:p-16"> | ||
<Heading size="h2" className="!text-5xl !leading-10 !tracking-[-1px]"> | ||
Try our public Code Search environment | ||
</Heading> | ||
|
||
<Heading size="h3" className="mt-4 !text-[18px] !leading-[27px] !tracking-[-0.25px] text-gray-500"> | ||
See how Code Search works with our public search environment, offering the same search and navigation | ||
features as Code Search Enterprise. Search an index of than 2 million public repositories. | ||
</Heading> | ||
<div className="mt-6 flex w-fit flex-wrap justify-center gap-2 md:flex-row md:gap-8"> | ||
<Link | ||
href="https://sourcegraph.com/search" | ||
title="Get Cody free" | ||
className="btn btn-primary w-[173px] text-center xs:w-fit" | ||
> | ||
Try Code Search | ||
</Link> | ||
</div> | ||
</div> | ||
</ContentSection> | ||
) |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters