How emuiga/theunfoldedorigami works
This is a personal portfolio and writing site. Visitors browse the portfolio, profile, interests, and writing; essay pages resolve a slug into an article for display. Content is read from Contentful when configured, with essay files as a fallback. The graph also preserves the newsletter and revalidation API routes, though the available excerpts do not establish their callers or downstream effects. Relationships reflect explicit imports and calls in the excerpts or source index; unsampled route internals are not inferred.
Main entry points: essays.ts Essay data access · contentful.ts Contentful access · PageHeader.tsx Page navigation · page.tsx Essay index
Components 23
Site pages
- Portfolio home
app/page.tsx - Notebook home
app/home/page.tsx - About page
app/about/page.tsx - Interests page
app/interests/page.tsx - Essay index
app/essays/page.tsx - Essay detail
app/essays/[slug]/page.tsx - Thoughts page
app/thoughts/page.tsx - Technical writing
app/origami/page.tsx - Random essay
app/random/page.tsx
Writing and content
- Essay data access
lib/essays.ts - Contentful access
lib/contentful.ts - Article list
components/ArticleList.tsx - Essay hover list
components/EssayListHover.tsx
Shared presentation
- Page navigation
components/PageHeader.tsx - Portfolio header
components/PortfolioHeader.tsx - Typing cycler
components/TypingCycler.tsx - Site footer
components/Footer.tsx - Conditional music
components/MusicPlayerConditional.tsx - Music player
components/MusicPlayer.tsx
API endpoints
- Newsletter endpoint
app/api/newsletter/route.ts - Revalidation endpoint
app/api/revalidate/route.ts
Other components
- Visitor
- Contentful CMS
Connections 25
- Visitor → Portfolio home: opens
- Portfolio home → Contentful access: loads projects
app/page.tsx - Portfolio home → Portfolio header: renders
app/page.tsx - Visitor → Notebook home: opens
- Notebook home → Page navigation: renders
app/home/page.tsx - Notebook home → Typing cycler: renders
app/home/page.tsx - About page → Page navigation: renders
app/about/page.tsx - Interests page → Contentful access: loads books and quotes
app/interests/page.tsx - Interests page → Page navigation: renders
app/interests/page.tsx - Essay index → Essay data access: loads essays
app/essays/page.tsx - Essay index → Essay hover list: renders
app/essays/page.tsx - Essay detail → Essay data access: loads essay data
app/essays/[slug]/page.tsx - Thoughts page → Essay data access: loads essays
app/thoughts/page.tsx - Thoughts page → Article list: renders
app/thoughts/page.tsx - Technical writing → Essay data access: loads technical essays
app/origami/page.tsx - Technical writing → Article list: renders
app/origami/page.tsx - Random essay → Essay data access: selects essay
app/random/page.tsx - Essay data access → Contentful access: delegates when configured
lib/essays.ts - Contentful access → Contentful CMS: queries
lib/contentful.ts - Essay index → Page navigation: renders
app/essays/page.tsx - Essay detail → Visitor: serves article
- Newsletter endpoint → Visitor: accepts requests
- Revalidation endpoint → Contentful access: may revalidate content
- Conditional music → Music player: renders conditionally
components/MusicPlayerConditional.tsx - Site footer → Visitor: displays