Project - How I Built (and Rebuilt) My Personal Website
jandurkaj.dev is a multilingual personal website. I built it in 2023 with Next.js 13 and its brand-new App Router, and rebuilt it in 2026 on Next.js 16 together with an AI pair programmer.
- Client
- Jan Durkaj
- Year
- –
- Service
- Next.js development, i18n, SEO, AI-assisted modernization

Motivation
I created this project to learn and practice new concepts in Next.js
Maybe you would ask, "Why Next.js?" for such a small site. Gatsby.js
My main reason for building a new portfolio site, apart from showcasing the latest projects I have worked on, was to learn. Since I already had some previous experience with Next.js and I wanted to explore server-side rendering, React server components, and to deepen my knowledge of a more versatile framework for large scalable projects, which I would love to use again in the future, there was no other choice, really.
Project Specification
I aimed to create a personal website that truly reflects who I am. Instead of overwhelming visitors with a blatant description of my technical skills, my goal is to provide them with the best understanding of my true self.
From the very beginning, I knew that the key factors to achieve this were:
- Making the site multilingual.
- Having a minimalistic and elegant UI/UX.
- Including personalized UI features.
- Showcasing my latest projects.
- Adding hidden jokes as a needle in a haystack.
- Optimizing the site for SEO and performance.
To avoid the hassle of configuration, initial setup, and creating the UX/UI from scratch, and to save myself hours of work, I decided to start with a starter template. There are many examples available on the Next.js GitHub sitecreate-next-app. You can find more information about how it works in the Next.js documentation
Despite many happy years of using CSS with BEM (Block Element Modifier)
Another native support Next.js framework offers is MDX
As it was clear that my new personal website would be built with React.js, Next.js, MDX, and Tailwind CSS, I began searching for a good starter template. Fortunately, I didn't have to look far, as the creators of Tailwind CSS have another project called Tailwind UI
Good. I just needed to set up Typescript for an existing project
Tech stack I use
- Next.js
- React.js
- TypeScript
- next-intl
- MDX
- Tailwind CSS
- Motion
- React Email
- Zod
- Vitest
- React Testing Library
- Vercel
- Claude Code
- CI/CD
- Adobe Suite
- SEO
Challenges
TL;DR: The decision to use "the latest and the greatest" on the market was a great source of frustration throughout the project. Below are some examples:
Internationalization
That should not be a big deal; it's just another content per language, I thought to myself originally. So, I followed Next.js documentation for i18n
Framer motion
I was determined to use a 3rd-party package, and at that time the only one that worked the best with Server/Client components was next-intl
Server components and App router
Even though Next.js 13 comes with well-documented support for the Server Components, and the App Router is considered the default, at the time I have started the project, these features were not polished and battle-tested at all.
One of many examples: generateStaticParams was not working with Next.js' experimental feature Server Actions
MDX and i18n
Due to the nature of the Next.js' App Router and the structure of my starter templated, I had to develop a solution to load the appropriate MDX content based on to the current locale. This allows for the translation of locally stored content in .mdx files.
P.S.: Despite the versatility of next-intl, you cannot use it directly in .mdx files. It is designed for usage within React Components and other Next.js specific areas. You can find more information about the environments where it can be used in the official next-intl documentation
Rebuilt in 2026
By autumn 2026 the site was still running, but the codebase had aged like milk. Next.js 14 with React 18, an internationalization setup held together by workarounds, Tailwind CSS 3, Jest that no longer liked anything modern, and a Google Analytics cookie banner nobody wanted to see. The question was not whether to update it, but how to do it without spending every evening for a month on it.
So I tried something new: I did the whole modernization together with Claude Code
How we worked
I set one rule from the very first message: no jumping straight into fixes. Every step had to go through the same loop:
- Analysis of the current state, with findings backed by evidence.
- Proposal of one step, with the trade-offs spelled out.
- My green light, and only then the code, in a single commit.
- Review of the running site on a Vercel preview before moving on.
The upgrade itself went in eight steps: cleanup, next-intl 4, a new case study architecture, Next.js 16 with React 19, Tailwind CSS 4, the contact form, Vitest, and finally a site audit, followed by a few rounds of content and polish. Each step was verified by building the site and comparing every link, translation and sitemap entry before and after.
The result is easy to see on a phone: the home page now scores 96 in Lighthouse instead of 77, and its main content appears in 2.8 seconds instead of 6.3.

What it found that I had missed
The most valuable part was not the upgrades, it was the bugs hiding in plain sight:
- The case studies were rendered only in the browser. Search engines and link previews saw the header and nothing else. Now every case study is pre-rendered on the server from a single route.
- Unknown pages answered with a "200 OK" instead of "404 Not Found", because of a loading screen nobody needed on a fully static site.
- Four case studies shared the meta description "Annie Sloan description". Oops.
- The case study hero image always downloaded its 1920px version, even on a phone.
- The contact form trusted whatever the browser sent. It now validates everything on the server, keeps your message when something goes wrong, and filters out bots without a captcha.
- The footer whiteboard repainted every line on top of itself with each new point, which made the lines jagged, and on a phone a new stroke started where the previous one ended.
What I had to catch
It was a collaboration, not autopilot. The AI deleted the build folder while my dev server was running and broke it, and during a browser test it sent me a real email from my own contact form. That second "mistake" was actually a gift: it revealed that the anti-spam timer failed whenever the serverless function was waking up from a cold start. We fixed it the same day, and the fix was tested on a freshly deployed, cold server.
Its own fixes needed a review too. During the audit it switched date formatting to UTC, which quietly moved every job on my About page one month earlier, and nobody noticed until we refreshed the About page later.
The lesson for me: AI is an incredibly fast and thorough pair programmer, but the decisions, the review and the taste stay with the human. Asking for a proposal first, instead of a finished solution, made all the difference.
How long it took
The whole modernization took me about 4 hours. My estimate for the same volume of work without AI is around 5 working days: roughly half a day each for next-intl, the case study architecture, Tailwind CSS and the contact form, a day for Next.js 16 with React 19, a day for the audit and its fixes, and the rest for cleanup, tests, documentation and this write-up.
- With AI
- 4 h
- Estimate without AI
- 5 days
- Dependencies
- 59 → 39
- Accidental email
- 1
Then I got to play
With the upgrade done, I turned the creativity playground in the footer into a small drawing tool. The bicycle now stays as a gray guide you can trace, with optional snapping to it, plus an eraser, colors and a PNG download. Scroll down and give it a try.
Music of the future
This site is far from perfect. I could spend countless hours adding new features and polishing it, but for now, here is a short list of ideas I could implement in the near future:
- Adding a blog page with the option to filter by category and sort by various parameters.
- Adding a strict Content Security Policy.
- Implementing toast notifications for form feedback on the contact form.
- Smoothies drunk
- 123🥤
- Experience
- 666+
- Faster
- 7×
- Cheaper
- ∞×