diff --git a/website/src/components/PricingPlan.tsx b/website/src/components/PricingPlan.tsx index 7ba22401e1f..d199884192a 100644 --- a/website/src/components/PricingPlan.tsx +++ b/website/src/components/PricingPlan.tsx @@ -14,6 +14,7 @@ interface Props { priceInterval?: string | React.ReactFragment priceCaption?: string | React.ReactFragment features: PricingPlanFeature[] + plusEverythingIn?: string buttonLabel: string buttonOnClick?: () => void buttonHref: string @@ -36,11 +37,12 @@ export const PricingPlan: React.FunctionComponent = ({ ), priceCaption, features, + plusEverythingIn, buttonLabel, buttonOnClick, buttonHref, }) => ( -
+

{name}

{description}
@@ -74,6 +76,11 @@ export const PricingPlan: React.FunctionComponent = ({ {name} ))} + {plusEverythingIn && ( +
+ Plus everything in {plusEverythingIn} +
+ )}
) diff --git a/website/src/css/components/actions/GetSourcegraphNowActions.tsx b/website/src/css/components/actions/GetSourcegraphNowActions.tsx index 79c074d6519..69fe4e1bbed 100644 --- a/website/src/css/components/actions/GetSourcegraphNowActions.tsx +++ b/website/src/css/components/actions/GetSourcegraphNowActions.tsx @@ -1,6 +1,6 @@ import React from 'react' import { ContactPresalesSupportAction } from './ContactPresalesSupportAction' -import { GetStartedAction } from './GetStartedAction' +import { RequestDemoAction } from './RequestDemoAction' import { ViewDeveloperDocumentationAction } from './ViewDeveloperDocumentationAction' export const GetSourcegraphNowActions: React.FunctionComponent = () => ( @@ -12,7 +12,7 @@ export const GetSourcegraphNowActions: React.FunctionComponent = () => ( boxShadow: 'rgba(255,255,255,0.3) 0 0 30px 20px', }} > - +
diff --git a/website/src/css/components/actions/GetStartedAction.tsx b/website/src/css/components/actions/GetStartedAction.tsx deleted file mode 100644 index fd76237ca84..00000000000 --- a/website/src/css/components/actions/GetStartedAction.tsx +++ /dev/null @@ -1,6 +0,0 @@ -import React from 'react' -import { SubmitEmailForm } from './SubmitEmailForm' - -export const GetStartedAction: React.FunctionComponent<{ className?: string }> = ({ className = '' }) => ( - -) diff --git a/website/src/css/components/actions/RequestADemoAction.tsx b/website/src/css/components/actions/RequestADemoAction.tsx deleted file mode 100644 index 7445ff8f72a..00000000000 --- a/website/src/css/components/actions/RequestADemoAction.tsx +++ /dev/null @@ -1,6 +0,0 @@ -import React from 'react' -import { SubmitEmailForm } from './SubmitEmailForm' - -export const RequestADemoAction: React.FunctionComponent<{ className?: string }> = ({ className = '' }) => ( - -) diff --git a/website/src/css/components/actions/RequestDemoAction.tsx b/website/src/css/components/actions/RequestDemoAction.tsx new file mode 100644 index 00000000000..45b746080ac --- /dev/null +++ b/website/src/css/components/actions/RequestDemoAction.tsx @@ -0,0 +1,6 @@ +import React from 'react' +import { SubmitEmailForm } from './SubmitEmailForm' + +export const RequestDemoAction: React.FunctionComponent<{ className?: string }> = ({ className = '' }) => ( + +) diff --git a/website/src/pages/index.tsx b/website/src/pages/index.tsx index ff3f487c013..1d3900da11a 100644 --- a/website/src/pages/index.tsx +++ b/website/src/pages/index.tsx @@ -11,7 +11,7 @@ import { ProductFeaturesAndUseCases } from '../components/product/ProductFeature import { Testimonials } from '../components/Testimonials' import { ContactPresalesSupportAction } from '../css/components/actions/ContactPresalesSupportAction' import { GetSourcegraphNowActions } from '../css/components/actions/GetSourcegraphNowActions' -import { GetStartedAction } from '../css/components/actions/GetStartedAction' +import { RequestDemoAction } from '../css/components/actions/RequestDemoAction' import { ViewDeveloperDocumentationAction } from '../css/components/actions/ViewDeveloperDocumentationAction' export default ((props: any) => ( @@ -50,7 +50,7 @@ export default ((props: any) => ( Sourcegraph provides this standard developer platform to every company, helping startups and large enterprises ship better software faster.

- + diff --git a/website/src/pages/pricing.tsx b/website/src/pages/pricing.tsx index 8a9e1ade69d..5fb1239624f 100644 --- a/website/src/pages/pricing.tsx +++ b/website/src/pages/pricing.tsx @@ -1,3 +1,4 @@ +import { Link } from 'gatsby' import * as React from 'react' import Helmet from 'react-helmet' import { ContentSection } from '../components/content/ContentSection' @@ -79,6 +80,7 @@ export default ((props: any) => ( { name: 'Cloud-managed option', id: 'deployment' }, { name: 'Priority support', id: 'support' }, ]} + plusEverythingIn="Core" buttonLabel="Buy now" buttonHref="http://sourcegraph.com/subscriptions/new" /> @@ -113,8 +115,9 @@ export default ((props: any) => ( }, { name: 'Audit logs', id: 'admin', future: true }, ]} + plusEverythingIn="Enterprise" buttonLabel="Buy now" - buttonHref="/contact/sales" + buttonHref="http://sourcegraph.com/subscriptions/new" /> @@ -122,9 +125,15 @@ export default ((props: any) => (

Try Sourcegraph Unlimited risk-free for 30 days

- + Free trial - + +
+ +

Questions?

+ + Contact sales +

Compare plans

diff --git a/website/src/pages/product/code-alerts-automation.tsx b/website/src/pages/product/code-alerts-automation.tsx index 26b4f49d2ca..4cd5ae07cc8 100644 --- a/website/src/pages/product/code-alerts-automation.tsx +++ b/website/src/pages/product/code-alerts-automation.tsx @@ -13,8 +13,8 @@ import { IntegratesWithSection } from '../../components/product/IntegratesWithSe import { OpenSourcePrivacyFeatureItem } from '../../components/product/OpenSourcePrivacyFeatureItem' import { ContactPresalesSupportAction } from '../../css/components/actions/ContactPresalesSupportAction' import { GetSourcegraphNowActions } from '../../css/components/actions/GetSourcegraphNowActions' +import { RequestDemoAction } from '../../css/components/actions/RequestDemoAction' import { ViewDeveloperDocumentationAction } from '../../css/components/actions/ViewDeveloperDocumentationAction' -import { GetStartedAction } from '../../css/components/actions/GetStartedAction' export default ((props: any) => ( @@ -23,14 +23,20 @@ export default ((props: any) => ( description="Continuously monitor all changes to all repositories for risky or important changes. Get instant email, Slack, or webhook notifications for every hit." mainActions={
- + + Documentation - {/* TODO(sqs) */} + + Install +
} > diff --git a/website/src/pages/product/code-review.tsx b/website/src/pages/product/code-review.tsx index 08616ab865b..1bace0bfaa7 100644 --- a/website/src/pages/product/code-review.tsx +++ b/website/src/pages/product/code-review.tsx @@ -19,6 +19,7 @@ import { OpenSourcePrivacyFeatureItem } from '../../components/product/OpenSourc import { SupportedProgrammingLanguagesLink } from '../../components/product/SupportedProgrammingLanguagesLink' import { ContactPresalesSupportAction } from '../../css/components/actions/ContactPresalesSupportAction' import { GetSourcegraphNowActions } from '../../css/components/actions/GetSourcegraphNowActions' +import { RequestDemoAction } from '../../css/components/actions/RequestDemoAction' import { ViewDeveloperDocumentationAction } from '../../css/components/actions/ViewDeveloperDocumentationAction' export default ((props: any) => ( @@ -28,19 +29,20 @@ export default ((props: any) => ( description="Start doing code reviews right. Sourcegraph enhances your existing code review tool with inline code intelligence, helping you speed up the review cycle and catch more bugs before they're deployed to production." mainActions={
+ Install browser extension + Code review integrations documentation - {/* TODO(sqs) */}
} > diff --git a/website/src/pages/product/code-search-navigation.tsx b/website/src/pages/product/code-search-navigation.tsx index 6ab7ce8b68d..faebe1f6957 100644 --- a/website/src/pages/product/code-search-navigation.tsx +++ b/website/src/pages/product/code-search-navigation.tsx @@ -20,6 +20,7 @@ import { SupportedProgrammingLanguagesLink } from '../../components/product/Supp import { UseCasesTable } from '../../components/product/UseCasesTable' import { ContactPresalesSupportAction } from '../../css/components/actions/ContactPresalesSupportAction' import { GetSourcegraphNowActions } from '../../css/components/actions/GetSourcegraphNowActions' +import { RequestDemoAction } from '../../css/components/actions/RequestDemoAction' import { ViewDeveloperDocumentationAction } from '../../css/components/actions/ViewDeveloperDocumentationAction' export default ((props: any) => ( @@ -29,16 +30,14 @@ export default ((props: any) => ( description="Code search helps you grok code so you can write better code more quickly. Sourcegraph's code search is used by elite software teams." mainActions={
- - Install - + + - Code search documentation + Documentation & self-service install - {/* TODO(sqs) */}
} > diff --git a/website/src/pages/product/index.tsx b/website/src/pages/product/index.tsx index d9ba1d20360..a01b6a8f932 100644 --- a/website/src/pages/product/index.tsx +++ b/website/src/pages/product/index.tsx @@ -18,15 +18,15 @@ import { ProductDemoVideo } from '../../components/product/ProductDemoVideo' import { ProductFeaturesAndUseCases } from '../../components/product/ProductFeaturesAndUseCases' import { ContactPresalesSupportAction } from '../../css/components/actions/ContactPresalesSupportAction' import { GetSourcegraphNowActions } from '../../css/components/actions/GetSourcegraphNowActions' -import { GetStartedAction } from '../../css/components/actions/GetStartedAction' +import { RequestDemoAction } from '../../css/components/actions/RequestDemoAction' import { ViewDeveloperDocumentationAction } from '../../css/components/actions/ViewDeveloperDocumentationAction' export default ((props: any) => { const actions = (
- - {/* TODO(sqs) */} - + + +
)