Docs site polish session
Context
Section titled “Context”Marathon session polishing the Crosswalker docs site homepage and responsive behavior. Started with hero tagline and ended with rotating word animation, platform badges in SVG, announcement banner, and mobile viewport fixes.
Key Changes
Section titled “Key Changes”Hero tagline
Section titled “Hero tagline”- Added “The future of [rotating word] is a knowledge graph.”
- 6 rotating terms: compliance, risk management, governance, framework mapping, evidence management, internal audit
- Dynamic width via clone-based measurement (Pretext-inspired approach)
- Seamless loop via duplicate first word at end + instant snap-back
Platform badges
Section titled “Platform badges”- Obsidian (purple logo) + Notion (black/white, “exploring”) in SVG diagram
- Right-aligned under “INSIDE YOUR KNOWLEDGEBASE” label
- Clickable to respective websites
Responsive layout
Section titled “Responsive layout”- Extended sidebar-hide breakpoint from 1023px to 1151px
- Progressive font scaling: 112% at 1400px+, 118% at 1700px+
- Homepage uses doc template with hidden sidebar (enables hamburger on mobile)
- Fixed content left-alignment at 768-1151px range
Announcement banner
Section titled “Announcement banner”- “Early alpha — building the foundation” with link to roadmap
- Yellow caution variant, dismissible
- Shows on all pages
- Space Grotesk font for navbar (moved @import to top of CSS)
alphabadge next to title (gray outline, hidden on mobile)- Favicon added (CW logo SVG)
- “vault” changed to “knowledgebase” in SVG labels
- Removed GitHub text link from nav (icon already exists)
- Mobile sidebar: Docs + Blog with icons on one line
Decisions
Section titled “Decisions”Labels changed from “vault” to “knowledgebase” — broader term since Notion support is being explored.
Homepage uses doc template, not splash — enables hamburger menu on mobile. Sidebar/right panel hidden via page-scoped CSS on desktop.
Dynamic width for rotating words — clone-based measurement after fonts.ready + double rAF. Re-measures on resize. minWidth set to longest word to prevent page shift.
Announcement banner on all pages — dismissible, persists via localStorage. Communicates early alpha status honestly.
Fluid layout logged as future work — browser zoom at extreme levels (150%+) may shift content. clamp() refactor estimated at 3-5 hours, logged in roadmap.
Open Questions
Section titled “Open Questions”- Mobile hero SVG needs different layout (vertical, bigger nodes/text) — logged as next task
- Should “evidence management” be shortened? It’s the widest rotating word
- Integration logos for left side of diagram (NIST, MITRE, CIS, Google Sheets, Excel)
- Light mode testing — all changes were verified in dark mode only
- When to split docs site from marketing site? Decision logged
Next Steps
Section titled “Next Steps”- Mobile hero redesign — vertical layout for SVG diagrams, bigger nodes/text, readable at 375px
- Integration logos for “OUTSIDE YOUR KNOWLEDGEBASE” side
- Light mode audit
- Blog post for “Hello World” / project announcement