Why I Moved My React Portfolio to Next.js for SEO
A practical look at moving a React single-page app to the Next.js App Router, from metadata and headings to images and structured data.

The Problem with Client-Side Rendering
A classic React app sends an almost empty HTML file and builds the page in the browser. Search engines can run JavaScript, but rendering may be delayed, and social media previews usually never see your content. My portfolio also had no title on most pages. Moving to Next.js meant every page could arrive as complete HTML, with its own title, description and social preview image.
Fixing the Basics First
Rendering was only part of the work. An audit showed that some pages had as many as fourteen h1 tags, because headings had been chosen for their looks. Each page now has one meaningful h1 with an ordered structure below it. I also added canonical URLs, a sitemap, a robots file and JSON-LD structured data for people, articles and FAQs. Replacing raw images with next/image and compressing the originals reduced the public folder from 23 MB to about 2 MB.
Keeping Client JavaScript Small
The main habit that changes with Next.js is treating Server Components as the default. Only interactive pieces such as menus, tabs and forms need to run in the browser. Replacing scroll animations with a small observer and CSS removed a large library from public pages. I also keep content behind simple data functions, so these static pages can move to a database later without being rewritten.
Then I redesigned it
The first move kept the old design on purpose, so that I changed one thing at a time. The result was a site search engines could read, but one that still looked like a template. The redesign that followed was mostly about removing things. The splash screen, blurred effects and repeated sections went, and the work log became the centre of the site. Moving to server rendering made the site faster, but cutting what nobody needed helped even more.