mirror of
https://github.com/fleetdm/fleet
synced 2026-05-20 23:48:52 +00:00
Changes: - Updated the contact page to have a second form that users can fill out to schedule a Calendly meeting with Fleet. - Updated CTAs on all landing pages, product category pages, article pages, pricing page, and license dispenser. - Updated the CTAs on the landing page generator template - Removed the function that opens the hubspot chat widget from page scripts. - Updated `deliver-contact-form-message` to send a request to a Zapier webhook - Created a new action: `deliver-talk-to-us-form-submission` that sends form submissions to a Zapier webhook.
39 lines
589 B
JavaScript
Vendored
39 lines
589 B
JavaScript
Vendored
module.exports = {
|
|
|
|
|
|
friendlyName: 'View contact',
|
|
|
|
|
|
description: 'Display "Contact" page.',
|
|
|
|
inputs: {
|
|
sendMessage: {
|
|
type: 'boolean',
|
|
description: 'A boolean that determines whether or not to display the talk to us form when the contact page loads.',
|
|
defaultsTo: false,
|
|
},
|
|
},
|
|
|
|
exits: {
|
|
|
|
success: {
|
|
viewTemplatePath: 'pages/contact'
|
|
}
|
|
|
|
},
|
|
|
|
|
|
fn: async function ({sendMessage}) {
|
|
|
|
let formToShow = 'talk-to-us';
|
|
|
|
if(sendMessage) {
|
|
formToShow = 'contact';
|
|
}
|
|
// Respond with view.
|
|
return {formToShow};
|
|
|
|
}
|
|
|
|
|
|
};
|