How sanidhyy/space-portfolio works
This repository is a space-themed personal portfolio. A visitor enters through the Next.js home page, which presents the hero, skills, encryption-themed visual feature, and project showcase; the shared layout adds navigation, a star background, and footer. Supporting components render hero text, skill entries, and project cards, while constants supply portfolio content and motion helpers provide animation variants. The graph reflects explicit imports and rendered components in the excerpts and SOURCE INDEX; asset and unsampled component details are represented only where their use is visible.
Main entry points: page.tsx Home page · layout.tsx Root layout · skills.tsx Skills section · index.ts Portfolio content
Components 18
Page Shell
- Home page
app/page.tsx - Root layout
app/layout.tsx
Profile and Navigation
- Navigation bar
components/main/navbar.tsx - Hero section
components/main/hero.tsx - Hero content
components/sub/hero-content.tsx - Star background
components/main/star-background.tsx - Footer links
components/main/footer.tsx
Portfolio Showcase
- Skills section
components/main/skills.tsx - Skills heading
components/sub/skill-text.tsx - Skill entries
components/sub/skill-data-provider.tsx - Encryption feature
components/main/encryption.tsx - Projects section
components/main/projects.tsx - Project cards
components/sub/project-card.tsx
Shared UI Support
- Portfolio content
constants/index.ts - Motion variants
lib/motion.ts - Background videos
public/videos - Site metadata
config/index.ts
Other components
- Portfolio visitor
Connections 23
- Portfolio visitor → Home page: opens
README.md - Home page → Hero section: renders
app/page.tsx - Home page → Skills section: renders
app/page.tsx - Home page → Encryption feature: renders
app/page.tsx - Home page → Projects section: renders
app/page.tsx - Root layout → Home page: wraps
app/layout.tsx - Root layout → Navigation bar: renders
app/layout.tsx - Root layout → Star background: renders
app/layout.tsx - Root layout → Footer links: renders
app/layout.tsx - Root layout → Site metadata: loads metadata
app/layout.tsx - Hero section → Hero content: renders
components/main/hero.tsx - Navigation bar → Portfolio content: reads links
components/main/navbar.tsx - Footer links → Portfolio content: reads link data
components/main/footer.tsx - Skills section → Skills heading: renders
components/main/skills.tsx - Skills section → Skill entries: renders entries
components/main/skills.tsx - Skills section → Portfolio content: reads skill data
components/main/skills.tsx - Projects section → Project cards: renders cards
components/main/projects.tsx - Projects section → Portfolio content: reads projects
components/main/projects.tsx - Encryption feature → Motion variants: uses variants
components/main/encryption.tsx - Hero content → Motion variants: uses variants
components/sub/hero-content.tsx - Skills heading → Motion variants: uses variants
components/sub/skill-text.tsx - Skills section → Background videos: plays background
components/main/skills.tsx - Encryption feature → Background videos: plays background
components/main/encryption.tsx