All projects

Projects / Frontend

2026

In progress · Demo + code

Personal project

The technical choices behind this portfolio: Next.js, project content in MDX as the single source of truth, a protected contact form.

Project facts

Period
since March 2026
Context
Personal project
Team
solo
Access
Public code and live demo
Role
Concept, design and development.
Stack
Next.jsTypeScriptTailwind CSSFramer MotionMDX

Summary

For
Visitors curious about the tech behind this site.
Problem
Present projects with consistent information from one page to the next, without copying the same description in several places.
Outcome
Personal project: the site you are reading.

Solution

  • Project pages generated from MDX files: the frontmatter holds the data (description, technologies, figures and their sources, screenshots), the body holds the text.
  • Contact form sent through Resend, with per-IP rate limiting and HTML escaping.
  • Dark theme, Framer Motion animations.
  • Performance: hero entrance animations in CSS (the text shows up without waiting for JavaScript), images served as AVIF or WebP at the right size, a lightweight build of Framer Motion, non-interactive sections rendered on the server.

Technical details

Key decision

The frontmatter of each MDX file is the single source of project data.

The project cards, the detail page and the home page show the same description and the same figures, with no double entry.

Limitations

  1. 01Lighthouse measurements are taken locally (localhost, simulated mobile), not yet on the live site.
  2. 02The “before” measurement was taken on the development server (next dev) and the “after” one on the production build: part of the gap comes from that. On a production build, the score before optimization was 86.
  3. 03A single measurement per version: the Lighthouse score varies by a few points from one run to the next.
  4. 04Time to Interactive is still 3.6 s on simulated mobile: React and Framer Motion still have to be downloaded and executed.

Performance before and after optimization

Lighthouse 13.6 reports from November 15, 2026, home page, simulated mobile.

MetricBeforeAfter
Performance score73100
Largest Contentful Paint8.6 s0.9 s
Total Blocking Time190 ms40 ms
Time to Interactive8.8 s3.6 s
Speed Index1.4 s1.1 s
JavaScript execution time1.7 s0.4 s
Total page weight2,798 KiB415 KiB
of which images1,762 KiB76 KiB
of which JavaScript928 KiB215 KiB

Accessibility, best practices and SEO score 100 in both reports.

Contact

Need something similar? Let’s talk.

Describe your project through the form, WhatsApp or email.