How rohithpranov07/portfolio-cinematic works
This is a single-route, cinematic personal portfolio. Visitors scroll through an editorial sequence: an interactive IDE-style introduction, 3D and story chapters, project showcases, a design gallery, contact card, and footer. The root layout supplies page-wide cursor, reveal, and smooth-scroll behavior; the page composes the scenes. The README documents capabilities whose implementation was not sampled, so those are represented at subsystem level; edges are limited to documented or indexed relationships.
Main entry points: page.tsx Home composition · vscode-portfolio.tsx IDE introduction · layout.tsx Root layout · SmoothScrollProvider.tsx Smooth scrolling
Components 28
Page shell
- Root layout
app/layout.tsx - Home composition
app/page.tsx
Motion system
- Smooth scrolling
components/animations/SmoothScrollProvider.tsx - Lenis hook
hooks/useLenis.ts - Mouse follower
components/animations/MouseFollower.tsx - Page reveal
components/animations/PageTransition.tsx - GSAP utilities
lib/gsap.ts
Portfolio scenes
- IDE introduction
components/ui/vscode-portfolio.tsx - Frame transition
components/animations/FrameToFullscreen.tsx - File tree
components/ui/file-tree.tsx - Spotlight search
components/ui/apple-spotlight.tsx - Menu bar
components/ui/mac-os-menu-bar.tsx - Spline scene
components/ui/spline-scene-basic.tsx - About chapter
components/ui/story-scroll-demo.tsx - Chapter transitions
components/animations/ScrollWarpPortal.tsx
Project showcase
- Project parallax
components/ui/hero-parallax.tsx - Project morph
components/ui/scroll-morph-hero.tsx - Tilted grid
components/ui/scroll-tilted-grid.tsx - Design carousel
components/ui/card-carousel.tsx - Light rays
components/ui/LightRays.tsx - Zoom parallax
components/ui/zoom-parallax.tsx - Contact card
components/ui/ProfileCard.tsx - Footer composition
components/ui/footer-demo.tsx - Footer component
components/ui/modem-animated-footer.tsx - Project details
components/ui/project-modal.tsx - Stacked cards
components/ui/scroll-stack.tsx - Carousel scene
components/ui/card-carousel-demo.tsx
Other components
- Visitor
Connections 29
- Visitor → Home composition: opens
- Root layout → Home composition: renders
app/layout.tsx - Root layout → Smooth scrolling: provides
app/layout.tsx - Root layout → Mouse follower: renders
app/layout.tsx - Root layout → Page reveal: renders
app/layout.tsx - Smooth scrolling → Lenis hook: uses
hooks/useLenis.ts - Lenis hook → GSAP utilities: updates ticker
hooks/useLenis.ts - Home composition → IDE introduction: renders
app/page.tsx - Home composition → Frame transition: wraps
app/page.tsx - Frame transition → IDE introduction: renders within
- IDE introduction → File tree: renders
components/ui/vscode-portfolio.tsx - IDE introduction → Spotlight search: renders
components/ui/vscode-portfolio.tsx - IDE introduction → Menu bar: renders
components/ui/vscode-portfolio.tsx - IDE introduction → Project details: renders
components/ui/vscode-portfolio.tsx - Home composition → Spline scene: renders
app/page.tsx - Home composition → About chapter: renders
app/page.tsx - Home composition → Chapter transitions: renders
app/page.tsx - Chapter transitions → GSAP utilities: uses
components/animations/ScrollWarpPortal.tsx - Home composition → Project parallax: renders
app/page.tsx - Home composition → Project morph: renders
app/page.tsx - Home composition → Tilted grid: renders
app/page.tsx - Home composition → Carousel scene: renders
app/page.tsx - Carousel scene → Design carousel: renders
components/ui/card-carousel-demo.tsx - Home composition → Light rays: renders
app/page.tsx - Home composition → Zoom parallax: renders
app/page.tsx - Home composition → Contact card: renders
app/page.tsx - Home composition → Footer composition: renders
app/page.tsx - Footer composition → Footer component: renders
components/ui/footer-demo.tsx - IDE introduction → Stacked cards: uses
components/ui/vscode-portfolio.tsx