TheFlow
0cfa2e7c5d
fix(docs): resolve ToC modal positioning and duplicate headers
...
- Fixed ToC modal appearing at bottom of document instead of overlay
- Added explicit position: fixed !important with full viewport coverage
- Added proper z-index and backdrop styling
- Implemented scrollable modal content with custom scrollbar
- Fixed duplicate h1 document title headers
- Remove first h1 from content_html (already shown in header)
- Apply fix in both card view and traditional view
- Also handles h2 fallback for section modals
- Removed all diagnostic console.log statements (56+ removed)
- Cleaned docs-app.js (50+ log statements)
- Cleaned document-cards.js (15+ log statements)
- Kept only legitimate error logging
- Fixed CSP violation in docs-app.js
- Removed inline onclick handler from PDF download link
- Implemented event delegation to handle stopPropagation
- Now fully CSP-compliant (no inline scripts/styles/handlers)
- Added category-based document navigation with collapsible sections
- Documents grouped into: Start Here, Core Framework, Research, Implementation, Leadership, Developer Tools
- Visual category indicators with icons and colors
- Updated cache-busting versions for production deployment
🤖 Generated with [Claude Code](https://claude.com/claude-code )
Co-Authored-By: Claude <noreply@anthropic.com>
2025-10-09 08:30:12 +13:00
TheFlow
7b42067d09
feat: fix documentation system - cards, PDFs, TOC, and navigation
...
- Fixed download icon size (1.25rem instead of huge black icons)
- Uploaded all 12 PDFs to production server
- Restored table of contents rendering for all documents
- Fixed modal cards with proper CSS and event handlers
- Replaced all docs-viewer.html links with docs.html
- Added nginx redirect from /docs/* to /docs.html
- Fixed duplicate headers in modal sections
- Improved cache-busting with timestamp versioning
All documentation features now working correctly:
✅ Card-based document viewer with modals
✅ PDF downloads with proper icons
✅ Table of contents navigation
✅ Consistent URL structure
🤖 Generated with [Claude Code](https://claude.com/claude-code )
Co-Authored-By: Claude <noreply@anthropic.com>
2025-10-07 22:51:55 +13:00
TheFlow
2e6618b7ba
feat: fix CSP violations & implement three audience paths
...
CSP Compliance (complete):
- Install Tailwind CSS v3 locally (24KB build)
- Replace CDN with /css/tailwind.css in all HTML files
- Extract all inline scripts to external JS files
- Created 6 external JS files for demos & docs
- All pages now comply with script-src 'self'
Three Audience Paths (complete):
- Created /researcher.html (academic/theoretical)
- Created /implementer.html (practical integration)
- Created /advocate.html (mission/values/community)
- Updated homepage links to audience pages
- Each path has dedicated nav, hero, resources, CTAs
Files Modified (20):
- 7 HTML files (CSP compliance)
- 3 audience landing pages (new)
- 6 external JS files (extracted)
- package.json (Tailwind v3)
- tailwind.config.js (new)
- Built CSS (24KB minified)
All resources CSP-compliant, all pages tested 200 OK
🤖 Generated with [Claude Code](https://claude.com/claude-code )
Co-Authored-By: Claude <noreply@anthropic.com>
2025-10-07 12:21:00 +13:00