How martin226/v3 works
This is a Next.js personal website presenting Martin Sit’s experience, projects, and writing. Visitors enter the portfolio or writing routes; the portfolio selects experience or project content and renders interactive image tiles, while writing routes provide articles and a generated social preview image. Shared layouts supply navigation, footer, cursor effects, and site styling. The sampled source supports the portfolio’s component calls and the social-image generation’s file reads; writing-page internals and some route wiring are represented only at their tree-supported paths, so those links are omitted or marked unverified.
Main entry points: Showcase.js Experience and projects · (site)/layout.js Writing site layout · (home)/layout.js Portfolio layout · (home) Home routes
Components 17
Portfolio
- Home routes
src/app/(home) - Experience and projects
src/app/(home)/Showcase.js - Portfolio content
src/app/(home)/content.js - Project videos
public/videos
Writing
- Writing routes
src/app/(site)/writing - Article content
src/app/(site)/writing/lessons-from-2025/page.mdx - Social preview image
src/app/(site)/writing/lessons-from-2025/opengraph-image.jsx
Shared presentation
- Writing site layout
src/app/(site)/layout.js - Portfolio layout
src/app/(home)/layout.js - Navigation masthead
src/app/components/Masthead.js - Footer links
src/app/components/Footer.js - Bitmap reveal effect
src/app/components/Bits.js - Custom cursor
src/app/components/Cursor.js - Link behavior
src/app/components/A.js
Site platform
- Analytics services
- Robots and sitemap
src/app
Other components
- Visitor
Connections 17
- Visitor → Home routes: opens portfolio
- Visitor → Writing routes: opens writing
- Home routes → Experience and projects: renders view
src/app/(home)/projects/page.js - Experience and projects → Portfolio content: reads data
src/app/(home)/Showcase.js - Experience and projects → Bitmap reveal effect: renders tiles
src/app/(home)/Showcase.js - Experience and projects → Navigation masthead: renders navigation
src/app/(home)/Showcase.js - Experience and projects → Footer links: renders footer
src/app/(home)/Showcase.js - Experience and projects → Link behavior: renders links
src/app/(home)/Showcase.js - Portfolio content → Project videos: references videos
src/app/(home)/content.js - Writing routes → Article content: serves articles
- Writing site layout → Navigation masthead: renders navigation
src/app/(site)/layout.js - Writing site layout → Footer links: renders footer
src/app/(site)/layout.js - Writing site layout → Custom cursor: renders cursor
src/app/(site)/layout.js - Portfolio layout → Custom cursor: renders cursor
src/app/(home)/layout.js - Writing site layout → Analytics services: configures analytics
src/app/(site)/layout.js - Portfolio layout → Analytics services: configures analytics
src/app/(home)/layout.js - Social preview image → Article content: reads article
src/app/(site)/writing/lessons-from-2025/opengraph-image.jsx