Add webinar landing page: Practical AI for Device Management#43429
Draft
kilo-code-bot[bot] wants to merge 1 commit intomainfrom
Draft
Add webinar landing page: Practical AI for Device Management#43429kilo-code-bot[bot] wants to merge 1 commit intomainfrom
kilo-code-bot[bot] wants to merge 1 commit intomainfrom
Conversation
Add a new webinar landing page at /webinars/practical-ai-for-device-management with a registration form and thank-you page, modeled after the existing whitepaper page layout and patterns. New files: - EJS views for webinar page and thank-you page - View controllers for both pages - Deliver controller for registration form submission (Salesforce CRM integration) - Client-side page scripts (parasails) - LESS stylesheets Config changes: - Routes for GET pages and POST form submission - Policies to allow unauthenticated access - Style imports in importer.less
This file contains hidden or 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
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
Summary
/webinars/practical-ai-for-device-managementmodeled after the existing whitepaper page layoutdeliver-webinar-registration-requestcontroller/webinars/practical-ai-for-device-management/thank-youChanges
New files (12 files)
website/views/pages/webinars/practical-ai-for-device-management.ejsand...-thank-you.ejswebsite/api/controllers/webinars/view-practical-ai-for-device-management.jsand...-thank-you.jswebsite/api/controllers/deliver-webinar-registration-request.js— handles form submission, validates email domain, creates/updates Salesforce Contact/Account/Historical Event recordswebsite/assets/js/pages/webinars/practical-ai-for-device-management.page.jsand...-thank-you.page.jswebsite/assets/styles/pages/webinars/practical-ai-for-device-management.lessand...-thank-you.lessModified files
website/config/routes.js— adds GET routes for both pages and POST route for form submissionwebsite/config/policies.js— whitelistswebinars/*anddeliver-webinar-registration-requestfor unauthenticated accesswebsite/assets/styles/importer.less— imports the new LESS filesNotes
/images/webinars/practical-ai-for-device-management-hero-504x336@2x.png— the actual image asset needs to be added separatelyBuilt for John Jeremiah by Kilo for Slack