diff --git a/cypress/e2e/free_trial_page.cy.js b/cypress/e2e/free_trial_page.cy.js index 608b4c196..6cecc89c4 100644 --- a/cypress/e2e/free_trial_page.cy.js +++ b/cypress/e2e/free_trial_page.cy.js @@ -19,17 +19,14 @@ describe('The free trial page', () => { cy.contains('Thank you for requesting a free trial of Roadie'); }); - // [DT] I'm skipping this because it's incorrectly failing in tests and I don't have - // time to figure out why. This code path will be removed soon anyway because - // we do support GitLab now. - it.skip('has a flow for users who use GitLab', () => { + it('has a flow for users who choose other', () => { cy.visit(PAGE_PATHS.freeTrial); cy.get('#get-instance-email-input').type('test@example.com'); - cy.get('#scm').select('GitLab Cloud'); + cy.get('#scm').select('Other'); cy.get('button[data-testid="agree-to-policies"]').click(); cy.contains('Request a trial').click(); - cy.contains('Roadie does not support GitLab'); + cy.contains(`be in touch to learn more`); }); it('warns gmail users', () => { diff --git a/cypress/e2e/landing_page.cy.js b/cypress/e2e/landing_page.cy.js index c8bf80bdb..1191aba51 100644 --- a/cypress/e2e/landing_page.cy.js +++ b/cypress/e2e/landing_page.cy.js @@ -18,14 +18,14 @@ describe('The landing page', () => { cy.contains("We'll be in touch"); }); - it('has a flow for users who use GitLab', () => { + it('has a flow for users who use choose other', () => { cy.visit(''); cy.contains('Get a Demo').click(); cy.get('#request-demo-name-input').type('Mary Mac'); cy.get('#request-demo-email-input').type('test@example.com'); - cy.get('#scm').select('GitLab Cloud'); + cy.get('#scm').select('Other'); cy.contains('Request a demo').click(); - cy.contains('Roadie does not support GitLab'); + cy.contains(`be in touch to learn more`); }); }); diff --git a/gatsby-config.js b/gatsby-config.js index 04dcede5f..e60ef908f 100644 --- a/gatsby-config.js +++ b/gatsby-config.js @@ -73,6 +73,7 @@ module.exports = { social: { twitter: 'RoadieHQ', github: 'RoadieHQ', + linkedin: 'https://www.linkedin.com/company/43197350', }, }, diff --git a/src/components/FormSubmissionModal/FormSubmissionModal.js b/src/components/FormSubmissionModal/FormSubmissionModal.js index 95828ed39..cd32f6213 100644 --- a/src/components/FormSubmissionModal/FormSubmissionModal.js +++ b/src/components/FormSubmissionModal/FormSubmissionModal.js @@ -30,6 +30,15 @@ const TwitterInner = ({ siteMetadata }) => (
); +const LinkedinInner = ({ siteMetadata }) => ( ++ + Follow Roadie on Linkedin + + . +
+); + const GetDemoSurveyInner = ({ referredEmail }) => { const codedEmail = encodeURIComponent(referredEmail); @@ -92,6 +101,8 @@ const FormSubmissionModal = ({ followOnContent =@@ -20,16 +20,11 @@ const SubmissionSuccessPositiveBody = () => (
); -const SubmissionSuccessNegativeBody = ({ scmTool }) => ( - <> - {scmTool.value.includes('gitlab') && ( -Roadie does not support GitLab at the moment. We'll email you as soon as we do.
- )} - -- Thank you for requesting a free trial of Roadie. You will hear from us soon. -
- > +const SubmissionSuccessNegativeBody = () => ( ++ Thank you for requesting a demo of Roadie. We'll be in touch to learn more about your + setup. +
); const RequestTrial = ({ data, location }) => { @@ -92,6 +87,7 @@ const RequestTrial = ({ data, location }) => { scmTool={scmTool} setScmTool={setScmTool} location={location} + showProductPrompts={false} />Roadie does not support GitLab at the moment. We'll email you as soon as we do.
- )} - -- Thank you for requesting a demo of Roadie. You will hear from us soon. -
- > +const SubmissionSuccessNegativeBody = () => ( ++ Thank you for requesting a demo of Roadie. We'll be in touch to learn more about your + setup. +
); const RequestDemo = ({ data, location }) => { @@ -83,6 +78,7 @@ const RequestDemo = ({ data, location }) => { location={location} scmTool={scmTool} setScmTool={setScmTool} + showProductPrompts={false} onSuccess={() => { setModalOpen(true); }} @@ -141,6 +137,7 @@ export const pageQuery = graphql` title social { twitter + linkedin } } } diff --git a/src/pages/whitepapers/managed-vs-self-hosted-backstage.tsx b/src/pages/whitepapers/managed-vs-self-hosted-backstage.tsx index 1baf79769..96f1c97c3 100644 --- a/src/pages/whitepapers/managed-vs-self-hosted-backstage.tsx +++ b/src/pages/whitepapers/managed-vs-self-hosted-backstage.tsx @@ -125,6 +125,7 @@ export const pageQuery = graphql` title social { twitter + linkedin } } } diff --git a/src/templates/BackstageBite.js b/src/templates/BackstageBite.js index b71c556a8..89624d40f 100644 --- a/src/templates/BackstageBite.js +++ b/src/templates/BackstageBite.js @@ -105,6 +105,7 @@ export const pageQuery = graphql` title social { twitter + linkedin } } } diff --git a/src/templates/BlogPost.js b/src/templates/BlogPost.js index 2f4f0c1b8..51634a3c7 100644 --- a/src/templates/BlogPost.js +++ b/src/templates/BlogPost.js @@ -116,6 +116,7 @@ export const pageQuery = graphql` title social { twitter + linkedin } } } diff --git a/src/templates/CaseStudy.js b/src/templates/CaseStudy.js index a726b710c..4daf3fe62 100644 --- a/src/templates/CaseStudy.js +++ b/src/templates/CaseStudy.js @@ -77,6 +77,7 @@ export const pageQuery = graphql` title social { twitter + linkedin } } } diff --git a/src/templates/Doc.js b/src/templates/Doc.js index be1f531be..add33765a 100644 --- a/src/templates/Doc.js +++ b/src/templates/Doc.js @@ -61,6 +61,7 @@ export const pageQuery = graphql` sourceCodeUrl social { twitter + linkedin } } } diff --git a/src/templates/LegalNotice.js b/src/templates/LegalNotice.js index ca1312636..d5d9611b5 100644 --- a/src/templates/LegalNotice.js +++ b/src/templates/LegalNotice.js @@ -48,6 +48,7 @@ export const pageQuery = graphql` title social { twitter + linkedin } } } diff --git a/src/templates/Plugin.js b/src/templates/Plugin.js index fd5ffdf38..bc8d50bd2 100644 --- a/src/templates/Plugin.js +++ b/src/templates/Plugin.js @@ -243,6 +243,7 @@ export const pageQuery = graphql` sourceCodeUrl social { twitter + linkedin } } } diff --git a/src/templates/Tag.js b/src/templates/Tag.js index 9df1c9d8a..4f6589e61 100644 --- a/src/templates/Tag.js +++ b/src/templates/Tag.js @@ -94,6 +94,7 @@ export const pageQuery = graphql` title social { twitter + linkedin } } }