Docs
Architecture
How pages, components, and content sources fit together.
Routing
- The site uses the Next.js pages router under
pages/. - Static pages live at routes like
/about-me,/projects,/tools, and/hobbies. - Blog content is rendered from dynamic routes under
/blog, including tags, categories, and series. - Documentation renders from
/docsand/docs/[...slug]using markdown in thedocs/folder.
Core layout
components/layout.tsxprovides the global header, navigation, and page shell.- Theme switching is handled via a client-side toggle component.
Content inputs
posts/stores markdown-based blog posts.docs/stores markdown documentation that is published to the site.data/holds structured content for projects, tools, navigation, and hobbies.
Build output
public/serves static assets, RSS feeds, and the generated sitemap endpoint.- Next.js handles static generation for content pages and server-side rendering only where needed.