أسامة الصمدي

مقالاتي

Redesigning my portfolio

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

نُشر

مدة القراءة

دقيقتان

المقال

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.

التالي

أوكل مقالاتي (21)أوصفحة عشوائيةأوالرئيسية

مشاريعيمقالاتي

جارٍ تحميل القائمة…

جارٍ تحميل القائمة…

اختصارات لوحة المفاتيح

البحث والأوامر
Ctrl K⌘K
التبديل بين الفاتح والداكن
T
كل مشاريعي
P
كل مقالاتي
W
ابحث في القائمة المفتوحة
S
الرئيسية
H
راسلني
C
اعرض هذه الاختصارات
?
أغلق ما هو مفتوح
esc

الاختصارات مفعّلة.