DEV Community

Cover image for I turned my portfolio into a playground (plug a theme into a display to open it)

I turned my portfolio into a playground (plug a theme into a display to open it)

Muhammad Ahmad on October 24, 2026

Hey everyone 👋 Last time I shared my rebuilt portfolio with a terminal theme. It has a third theme now (a notebook one), and I built a small playg...
Collapse
 
nyaomaru profile image
nyaomaru •

It’s a really cool portfolio! Especially the page transition effect, that’s my favorite!! 😸

Nice work! 👍

Collapse
 
m_ahmad profile image
Muhammad Ahmad •

Glad you liked it!

Collapse
 
robertpaschal profile image
Odinaka Robert Nnamani •

I like that the switching itself is the demo, not a settings menu. My own site went through the same argument with itself — I kept asking whether a visitor should have to learn an interaction before they see any work, and the corner copy that cycles themes on its own answers that worry better than any toggle would. The risk I would watch is the novelty wearing thin on a return visit, when someone just wants the terminal theme straight away. Did you keep a plain route to each theme for the visitor who has already decided?

Collapse
 
m_ahmad profile image
Muhammad Ahmad •

Yes. Each theme has its own address: mahmad.me/themes/terminal and mahmad.me/themes/notebook. The command menu (⌘K) also has a Themes group that links straight to each one. The animated card is extra, not a gate.

Collapse
 
robertpaschal profile image
Odinaka Robert Nnamani •

That address-per-theme choice is the part I would keep, because it turns a theme from a preference into a place someone can actually send me. I can link a reader straight to the terminal view instead of telling them to open a menu and click twice, and that removes the exact moment where most visitors give up. The command menu as an index, not a gate, matters for the same reason: I have seen my own site lose people at a settings screen that asked them to choose before they had seen anything worth choosing. Do you find one theme gets most of the direct links, or does the split stay fairly even?

Thread Thread
 
m_ahmad profile image
Muhammad Ahmad •

I don't have the split yet, since this is a new view of my portfolio and I haven't looked at it per theme. I'll keep an eye on the views for at least a week.

Thread Thread
 
robertpaschal profile image
Odinaka Robert Nnamani •

A week is the right call, and I would watch one thing alongside the raw views: where the visit came from. On my own site, direct links behaved very differently from menu clicks, because a direct link lands someone in a finished view while a menu click still asks them to choose. If terminal pulls most of the direct traffic but notebook wins on return visits, that tells you something different from a simple split. What would you change first if one theme clearly pulls ahead?

Thread Thread
 
robertpaschal profile image
Odinaka Robert Nnamani •

A week is a sensible window, and since each theme already has its own address you will get a clean read without extra tracking. I would compare direct visits per theme path rather than total page views, because the command menu can hide which view people actually stayed in. If terminal pulls ahead, I would still keep the other themes linkable rather than making one the default, since the whole point is that a visitor can land straight on the version someone sent them. What would you change first if one theme clearly wins after that week?

Collapse
 
davekurian profile image
Dave Kurian •

For the next iteration, I’d make the same plug-in interaction work without dragging: let someone tap a theme card to open it on touch, and give the cards a clear focus + Enter/Space path for keyboard users. That keeps the playful demo while making the portfolio’s theme previews usable on phones and without a pointer.

Collapse
 
m_ahmad profile image
Muhammad Ahmad •

Thanks, great call! I've just built it. You can now tap a theme card on your phone, or Tab to a card and press Enter. It still plays the same wire-and-packets animation before the theme opens, so the fun bit is still there, you just don't have to drag. Cmd/Ctrl-click opens a theme in a new tab too. Let me know how it feels on your phone!

Collapse
 
davekurian profile image
Dave Kurian •

Nice, that gives touch and keyboard users a direct route while keeping the animation. I can’t give you a phone feel report yet, but I’d check one more edge: after opening a theme, can a visitor return to the same focused card without restarting the animation?