fleet/website/api/controllers/view-fleet-mdm.js
Eric 9ddd5f2ede
Website: Add MDM page (#9264)
Changes:
- Added a new page: `/device-management`
- Added a new action: `deliver-mdm-beta-signup.js` - This action sends a
post request to a Zapier webhook when a user submits a form on the
`/device-managment` page.
- Added a new component: `<scrollable-tweets>`
- Updated routes, importer, policies, cloud-sdk, and
`download-sitemap.js`
- Updated the route for our success story articles to live at
`fleetdm.com/success-stories/*` (Previously at
`fleetdm.com/device-management/*`) and updated `config/routes.js` to
have redirects for each article in that category
- Updated the "Use cases" navigation item to "Platform" and changed the
platform link to "How it works"

Co-authored-by: Mike Thomas <[email protected]>
Co-authored-by: Mike McNeil <[email protected]>
2023-01-11 11:29:38 -06:00

27 lines
264 B
JavaScript
Vendored

module.exports = {
friendlyName: 'View fleet mdm',
description: 'Display "Fleet mdm" page.',
exits: {
success: {
viewTemplatePath: 'pages/fleet-mdm'
}
},
fn: async function () {
// Respond with view.
return {};
}
};