VoltNode includes 5 pre-built legal pages that share a single rendering function. All content is stored in CONFIG.pages and rendered dynamically via renderLegalPage(key).
Included Legal Pages
| Page | File | Config Key | Sections |
|---|---|---|---|
| Terms of Service | tos.html | pages.tos | 10 |
| Privacy Policy | privacy.html | pages.privacy | 10 |
| Refund Policy | refund.html | pages.refund | 5 |
| DMCA Policy | dmca.html | pages.dmca | 4 |
| Service Level Agreement | sla.html | pages.sla | 6 |
Legal Page Structure
Each legal page follows this pattern:
- Shared navbar with logo, links, and mobile menu
- Page title and last updated date
- Numbered sections with heading and paragraph content
- Shared footer with brand, link columns, and payment icons
Adding a Legal Section
In config.js, add to the appropriate pages.*.sections array:
Example
{
heading: "11. New Policy",
content: "Description of the new policy goes here."
}
Auto-Generated Footer Links
The footer in both home and legal pages automatically detects legal page names from CONFIG.footer.columns and routes them to the correct HTML files. No manual link configuration needed.
Do not delete
config.js. All legal page content, navigation, and footer data is sourced from this file. Without it, pages will render empty.