How orinvernizzi/portfolio works
This is a bilingual personal portfolio with two visitor-facing experiences: a navigable 3D spiral and a plain scrolling list. Visitors open section panels or jump to sections from the menu; project cards can open interactive diagrams. The main internal layers are the application shell, localized content, section views, and spiral rendering. The wiring shown is based on the README and source-index references; some section and component implementations were not sampled, so uncertain links are omitted.
Main entry points: App.tsx App coordinator · content.ts Content hooks · Spiral.tsx Spiral scene · TopBar.tsx Top bar
Components 22
App shell
- App coordinator
src/App.tsx - React entry
src/main.tsx - Top bar
src/components/TopBar.tsx - Section menu
src/components/MenuDrawer.tsx - Section panel
src/components/Panel.tsx - List view
src/components/ListView.tsx - Landscape backdrop
src/components/LandscapeLayer.tsx - Preloader
src/components/Preloader.tsx
Content and language
- Language selection
src/i18n.ts - Localized content
src/content/index.ts - Content hooks
src/lib/content.ts
Portfolio sections
- Section registry
src/sections/registry.tsx - Section views
src/sections - Project showcase
src/sections/Projects.tsx - Diagram viewer
src/components/DiagramViewer.tsx - Rowing section
src/sections/Rowing.tsx
3D spiral
- Spiral scene
src/spiral/Spiral.tsx - 3D cards
src/spiral/Card3D.tsx - Card artwork
src/spiral/cardDrawing.ts - Spiral navigation
src/lib/useScrollProgress.ts - Spiral HUD
src/spiral/SpiralHud.tsx
Other components
- Visitor
Connections 26
- Visitor → App coordinator: uses portfolio
README.md - React entry → App coordinator: mounts
src/main.tsx - App coordinator → Top bar: renders
src/App.tsx - App coordinator → Section menu: renders
src/App.tsx - App coordinator → Section panel: renders
src/App.tsx - App coordinator → List view: renders
src/App.tsx - App coordinator → Landscape backdrop: renders
src/App.tsx - App coordinator → Preloader: renders
src/App.tsx - App coordinator → Spiral scene: loads
src/App.tsx - Top bar → Language selection: sets language
src/components/TopBar.tsx - Top bar → Content hooks: reads labels
src/components/TopBar.tsx - Language selection → Localized content: loads translations
src/i18n.ts - Content hooks → Language selection: reads language
src/lib/content.ts - Section panel → Section registry: selects view
src/components/Panel.tsx - Section panel → Content hooks: reads section labels
src/components/Panel.tsx - Section registry → Section views: registers views
src/sections/registry.tsx - List view → Section registry: uses sections
src/components/ListView.tsx - List view → Content hooks: reads content
src/components/ListView.tsx - Project showcase → Content hooks: reads projects
src/sections/Projects.tsx - Project showcase → Diagram viewer: opens diagrams
src/sections/Projects.tsx - Rowing section → Content hooks: reads content
src/sections/Rowing.tsx - Spiral scene → 3D cards: renders cards
src/spiral/Spiral.tsx - Spiral scene → Spiral HUD: renders HUD
src/spiral/Spiral.tsx - 3D cards → Card artwork: paints textures
src/spiral/Card3D.tsx - Spiral scene → Spiral navigation: tracks navigation
src/spiral/Spiral.tsx - Spiral scene → Content hooks: reads content
src/spiral/Spiral.tsx