Developer builds pixel-perfect portfolio using React 19, Next.js, and custom GitHub graph fix
A developer has shared how they built a premium personal portfolio using React 19, Next.js 16 with App Router, and Tailwind CSS v4, focusing on clean animations and micro-interactions. A key challenge was fixing the GitHub contribution graph, where dynamically computed cell sizes caused month labels to misalign across screen sizes; the solution was switching to a fixed-coordinate SVG with a viewBox attribute, allowing the browser to scale it natively. The portfolio also features an audio click sound on dark mode toggle, implemented via a pre-loaded HTML5 audio element to ensure compatibility with both desktop browsers and iOS Safari. On the SEO front, the developer integrated JSON-LD structured data schemas, a dynamic sitemap with stable modified dates to protect crawl budget, and an IndexNow API route to automatically notify Bing and Yandex upon new content publication. The project highlights how thoughtful technical decisions in layout, interactivity, and discoverability can elevate a developer portfolio beyond standard templates.
This is an AI-generated summary. ShortSingh links to the original source for the complete article.

Discussion (0)
Log in to join the discussion and vote.
Log in