Commit 35a3d5e
refactor: preview modal now renders the real threejs template sections
Replace the custom preview design with the actual HeroSection,
GitHubSection and StatsSection components from the threejs template.
Live GitHub API data is converted to the exact prop shapes those
components expect:
- buildHero → hero + snapshot props for HeroSection
- buildRepos → ProjectRepo[] for GitHubSection
- buildStats → Stats object (metrics, languageDistribution,
activityByYear, topReposByStars) for StatsSection
The user sees the real template — same fonts, layout, 3D charts,
language pie, bar charts — before deciding to fork.
Co-Authored-By: Claude Sonnet 4.6 <noreply@anthropic.com>1 parent fe8292c commit 35a3d5e
1 file changed
+165
-354
lines changed
0 commit comments