Landing Pages Reference
Complete inventory of the landing page system: pages, builder components, mini-site components, co-branded workflow, backend functions, related entities, summaries, and copyable code references.
Create
TemplateLibraryPanel or MiniSite TemplateSelector starts a page from a locked preset or co-branded draft.
Edit
LandingPageBuilder combines LPToolbar, LPCanvas, and LPRightPanel for visual editing.
Publish
LandingPage.status changes to Published and PublicLandingPage serves /landing/:slug.
Capture
Visitor submits form; LeadSubmission and Contact records are created/updated.
Route
Assigned LO or routing rules decide who receives the lead.
Track
LandingPage view_count, lead_count, conversion_rate, and campaign source track performance.
Main Pages
pages/LandingPages
Main Growth Suite landing page manager. Shows template library, existing pages, publish/pause controls, duplicate/delete, URL copy, preview, and links into the editor.
What it does:
pages/LandingPageBuilder
Full-screen visual landing page editor. Loads templates or existing pages, renders the canvas, right-side editor, toolbar, preview language selector, draft save, publish, and super-admin template editing.
What it does:
pages/PublicLandingPage
Public visitor-facing page at /landing/:slug and /landing/preview. Renders published pages, handles preview sessions, language switching, lead capture, contact creation, routing, notifications, and analytics.
What it does:
pages/MiniSiteStudio
Mini-site dashboard that also manages landing pages, blog posts, page analytics, domain settings, and template-based page creation.
What it does:
Builder Components
components/lpbuilder/TemplateLibraryPanel
Locked product template browser used from Landing Pages. Groups templates by campaign lane and includes the Agent + LO co-branded template card.
What it does:
components/lpbuilder/LPCanvas
Live editor canvas. Renders the current pageState visually, supports device width previews, localized text overlay, hero, form, top/bottom inserts, contact cards, logo, and footer.
What it does:
components/lpbuilder/LPRightPanel
Right-side editor for background, content, form fields, style, co-branded cards, company branding, footer, language settings, page info, SEO, and lead notification settings.
What it does:
components/lpbuilder/LPToolbar
Top toolbar for the builder. Handles back navigation, inline page name editing, device preview toggle, preview, save draft, publish, and Save Template mode.
What it does:
components/lpbuilder/LanguageSelector
Public page language selector used by published/preview landing pages so visitors can switch enabled languages.
What it does:
Template + Preview Utilities
components/lpbuilder/lpDefaults
Central landing page design system and template configuration. Defines default page state, fonts, gradients, locked templates, template groups, language list, and AI image prompts.
What it does:
components/lpbuilder/previewUtils
Shared rendering utilities for editor and public landing pages. Controls background rendering, image focus behavior, logo white overlay, and enabled preview languages.
What it does:
components/lpbuilder/detectFaceFocus
Image helper used during background uploads to detect face/focal positioning for better mobile and tablet cropping.
What it does:
Co-Branded Landing Pages
components/growth/CoBrandedLandingPageTemplateCard
Template card for the Agent + LO co-branded page. Selects the agent/LO pair, creates a Draft LandingPage, and opens it in LandingPageBuilder before publishing.
What it does:
components/growth/CoBrandedLandingPageCreator
Expanded co-branded landing page creator with context and optional video URL inputs. Creates a co-branded page and marketing asset.
What it does:
components/growth/coBrandingUtils
Shared co-branding helper that builds the full builder_state for Agent + LO landing pages, including names, headshots, company branding, contact cards, and campaign metadata.
What it does:
Mini-Site Components
components/minisite/MiniSitePageCard
Card used in Mini-Site Studio for each landing page with edit, publish, duplicate, delete, live view, copy URL, and blog actions.
What it does:
components/minisite/TemplateSelector
Mini-site template picker dialog used by MiniSiteStudio to start new page creation from a template.
What it does:
components/minisite/DomainSettingsPanel
Domain and URL settings panel for mini-sites and landing pages. Helps manage public URL presentation and custom domain settings.
What it does:
Backend Functions + Automation
functions/translatePageContent
AI translation helper for landing page content. Supports filling missing translated content for multilingual pages.
What it does:
functions/scrubAllLandingPageTranslations
Super-admin bulk tool that scrubs landing pages and fills missing language translations across the landing page library.
What it does:
functions/manageLandingPageUrls
URL management function for landing pages, including slug management and page URL operations.
What it does:
functions/leadSubmissionToOpportunity
Converts captured landing page leads into CRM opportunities when used by lead routing/conversion workflows.
What it does:
functions/repairLandingPageTranslations
Maintenance helper for repairing malformed or incomplete landing page translation data.
What it does:
Entities Used
entities/LandingPage.json
Primary data model for saved landing pages. Stores page metadata, slug, status, builder_state, routing, co-branding, analytics, domain settings, and publishing metadata.
What it does:
entities/LeadSubmission.json
Stores form submissions from public landing pages before and during conversion to CRM contacts/opportunities.
What it does:
entities/AgentMarketingAsset.json
Stores agent portal marketing assets, including co-branded landing page assets created for agent partners.
What it does: