Oussama Essamadi

Writings

Redesigning my portfolio

The third version of my portfolio, and the first one I designed before writing a line of code.

Published

Reading time

2 minutes

Post

My portfolio has a new look, and for once, it existed before the code did. This is the third version since 2018, and the first one I designed properly, in Figma, before opening my editor.

Two versions of the same mistake

The first version, in 2018, was a single HTML page I wrote by hand. It did the job: it put my work in one place for the first time. The second, last year, was a reset, again one HTML page, starting over instead of patching the old one.

Both were built the same way: I opened the editor and designed in the browser, one tweak at a time. That works for a while, then every new section looks a little different from the last one, and you end up with a page that is fine in parts and messy as a whole.

Designing it first

So this time I drew the whole thing in Figma first: the layout, the type, the colors, and how it behaves on a phone.

It actually started with the logo. The Eclipse logo came first, and the rest of the design grew out of it.

The nice thing about a design file is that changing your mind is cheap. Moving a section in Figma takes a second, moving it in code means touching markup, styles and probably breaking something on mobile. By the time I started coding, most of the decisions were already made.

Building it

I built it with Next.js and React, splitting the design into components that match the Figma frames one to one, so the code reads like the design.

With a reference, the build itself gets almost boring, in a good way. Every question like “how much space goes here?” already had an answer in the file.

What I learned

Design first, then code. It sounds obvious.

The design is on Behance (opens in a new tab), Dribbble (opens in a new tab) and Figma (opens in a new tab) if you want to see it without the code.

Next

orAll 21 writingsorRandomorHome

WorksWritings

Getting the list…

Getting the list…

Keyboard shortcuts

Search and commands
Ctrl K⌘K
Switch between light and dark
T
All works
P
All writings
W
Search the open list
S
Home
H
Write to me
C
Show these shortcuts
?
Close what is open
esc

Shortcuts are on.