Legal Page Layout
Component Detail
Infrastructure
low complexity
Shared Component
frontend
0
Dependencies
1
Dependents
0
Entities
0
Integrations
Description
Shared layout component used across all legal and policy pages on the sales website (Privacy Policy, Terms of Service, DPA, Cookie Policy, SLA). Provides a consistent document structure with a sticky table of contents sidebar, print stylesheet, and last-updated metadata header. Centralises the print-to-PDF stylesheet so procurement teams can generate signed copies from any legal page.
legal-page-layout
Responsibilities
- Provide consistent document layout with sticky section navigation
- Inject print-friendly CSS for PDF generation
- Render effective date and version metadata header
- Generate anchor-linked table of contents from section headings
Interfaces
renderLayout(children, metadata)
generateTableOfContents(sections)
renderDocumentHeader(title, effectiveDate, version)
applyPrintStyles()
renderSectionAnchor(sectionId, label)