Sourov Mondol

Colophon

How this site is built.

A short, honest note on the technical and design decisions behind this website — not a documentation dump.

Technology

Next.js (App Router) with TypeScript in strict mode. Content is authored as Markdown/MDX with zod-validated frontmatter, read directly from the filesystem at build time — no headless CMS. Forms use React Hook Form + zod; the contact endpoint is a Next.js route handler with a honeypot, a time-trap, and rate limiting.

Design

Every color, radius, spacing value, and shadow is a CSS custom property, mapped into Tailwind v4 through its CSS-first @theme — no hard-coded hex values in components. Light and dark are both first-class, not a dark mode bolted on afterward.

Typography

Fraunces for display type, Inter for text, both loaded through next/font so there's no layout shift waiting on a web font. Body copy sits in a measured content width rather than stretching edge to edge.

Motion

Scroll reveals, the metric counters, and the command palette are all built with restraint on purpose — everything respects prefers-reduced-motion, most of it by disabling outright rather than just shortening.

Performance

Pages are rendered on the server for each request — a per-request nonce is what lets the Content-Security-Policy block inline scripts without falling back to 'unsafe-inline' — while content comes from local files cached in memory, the feeds and resume.json are static files, and nothing is fetched client-side on first paint. Target budgets: LCP ≤ 1.8s, INP ≤ 200ms, CLS ≤ 0.05, initial JS ≤ 150KB gzipped.

Accessibility

Keyboard-navigable throughout, including a real focus trap in the mobile nav and the command palette. Skip link, visible focus rings, semantic landmarks, and route-change focus management so screen-reader and keyboard users land somewhere sensible after navigating.

Privacy

No cookies, no third-party trackers, no ad network. Analytics, where enabled, are cookie-less and aggregate-only.

Hosting

Built to deploy on Vercel's edge network; the OG-image and Apple-touch-icon routes run on the edge runtime specifically so social previews render fast.