Legal pages (Terms, Privacy, Disclaimer) + always-present footer
- New /terms, /privacy, /disclaimer pages in the site style with real content tailored to an on-chain ad+referral platform (no income guarantee, crypto risk, rehearsal note, privacy of email/wallet/profile, acceptable use). - renderNav now appends a persistent footer with legal + site links on every public page; member-area sidebar gets a Legal link group. Co-Authored-By: Claude Opus 4.8 <noreply@anthropic.com>
This commit is contained in:
@@ -1240,6 +1240,9 @@ const server = http.createServer(async (req, res) => {
|
||||
if (p === '/') return sendFile(res, path.join(PUBLIC_DIR, 'index.html'));
|
||||
if (p === '/ledger') return sendFile(res, path.join(PUBLIC_DIR, 'ledger.html'));
|
||||
if (p === '/contract') return sendFile(res, path.join(PUBLIC_DIR, 'contract.html'));
|
||||
if (p === '/terms') return sendFile(res, path.join(PUBLIC_DIR, 'terms.html'));
|
||||
if (p === '/privacy') return sendFile(res, path.join(PUBLIC_DIR, 'privacy.html'));
|
||||
if (p === '/disclaimer') return sendFile(res, path.join(PUBLIC_DIR, 'disclaimer.html'));
|
||||
if (p === '/my') return sendFile(res, path.join(PUBLIC_DIR, 'my.html'));
|
||||
if (p === '/shorts') return sendFile(res, path.join(PUBLIC_DIR, 'shorts.html'));
|
||||
if (/^\/view\/[a-f0-9]{32}$/.test(p)) return sendFile(res, path.join(PUBLIC_DIR, 'view.html'));
|
||||
|
||||
Reference in New Issue
Block a user