How sarah-kazi/portfolio-sarah works
This is a browser-based personal portfolio presented as an interactive, space-themed site. On startup, the entry point chooses either a touch-oriented mobile experience or a desktop parallax scene, then initializes portfolio sections and applies hash-based navigation. Visitors can explore projects, skills, a gallery, playlists, blog posts, and a timeline; the terminal and optional sound effects add interactive features. The graph reflects explicit calls and documented module references; most section internals and their route wiring were not sampled, so those links are omitted.
Main entry points: main.ts App bootstrap · mobile.ts Mobile experience · sound.ts Sound effects · router.ts Hash router
Components 25
App entry and navigation
- App bootstrap
src/main.ts - Hash router
src/router.ts
Desktop scene
- Parallax engine
src/parallax/parallax.ts - Layer parallax
src/parallax/temporaryLayersParallax.ts - Galaxy scene
src/effects/galaxy.ts - Star field
src/effects/stars.ts - Shooting stars
src/effects/shootingStars.ts
Portfolio sections
- Projects
src/interactivity/projects.ts - Skills
src/interactivity/skills.ts - Image gallery
src/interactivity/gallery.ts - Playlists
src/interactivity/playlists.ts - Blog reader
src/interactivity/blogs.ts - Post parser
src/blog/parse.ts - Timeline
src/interactivity/timeline.ts - Interactive terminal
src/effects/terminal.ts
Mobile experience
- Mobile experience
src/mobile/mobile.ts - Motion preferences
src/mobile/motion.ts - Mobile intro
src/mobile/scene.ts - Pinch zoom
src/mobile/pinchZoom.ts - Mobile skills view
src/mobile/viz.ts
Shared interactions
- Animated text
src/effects/animatedText.ts - Sound effects
src/effects/sound.ts - Sound assets
public/sfx - Accessibility helpers
src/a11y.ts
Other components
- Visitor
Connections 33
- Visitor → App bootstrap: opens site
- App bootstrap → Hash router: starts routing
src/main.ts - App bootstrap → Mobile experience: initializes mobile
src/main.ts - App bootstrap → Layer parallax: creates layers
src/main.ts - Layer parallax → Parallax engine: extends engine
src/parallax/temporaryLayersParallax.ts - App bootstrap → Galaxy scene: initializes galaxy
src/main.ts - App bootstrap → Star field: adds stars
src/main.ts - App bootstrap → Shooting stars: initializes stars
src/main.ts - App bootstrap → Projects: initializes projects
src/main.ts - App bootstrap → Skills: initializes skills
src/main.ts - App bootstrap → Image gallery: initializes gallery
src/main.ts - App bootstrap → Playlists: initializes playlists
src/main.ts - App bootstrap → Blog reader: initializes blogs
src/main.ts - App bootstrap → Timeline: initializes timeline
src/main.ts - App bootstrap → Interactive terminal: initializes terminal
src/main.ts - App bootstrap → Animated text: imports effects
src/main.ts - App bootstrap → Sound effects: prompts for sound
src/main.ts - App bootstrap → Hash router: applies deep links
src/main.ts - Blog reader → Post parser: parses posts
src/interactivity/blogs.ts - Interactive terminal → Hash router: navigates sections
src/effects/terminal.ts - Interactive terminal → Sound effects: plays effects
src/effects/terminal.ts - Sound effects → Sound assets: fetches audio
src/effects/sound.ts - Mobile experience → Hash router: registers route handler
src/mobile/mobile.ts - Mobile experience → Projects: builds project cards
src/mobile/mobile.ts - Mobile experience → Pinch zoom: attaches zoom
src/mobile/mobile.ts - Mobile experience → Mobile intro: plays intro
src/mobile/mobile.ts - Mobile experience → Animated text: animates text
src/mobile/mobile.ts - Mobile experience → Motion preferences: checks motion
src/mobile/mobile.ts - Mobile experience → Mobile skills view: renders skills
src/mobile/mobile.ts - Galaxy scene → Parallax engine: uses engine
src/effects/galaxy.ts - Image gallery → Accessibility helpers: uses controls
src/interactivity/gallery.ts - Image gallery → Sound effects: plays effects
src/interactivity/gallery.ts - Parallax engine → Accessibility helpers: checks motion
src/parallax/parallax.ts