karnas.dev
A VS Code-inspired portfolio with persistent workspace settings, split panes, an interactive terminal, and a locally managed journal.
Designing and shipping my own workspace
My personal portfolio and journal, built with Next.js, React, TypeScript, and Sass. I designed and implemented the editor-inspired interface, content pipeline, workspace interactions, and deployment, then refined the application through visual review and behavior checks.
- Next.js
- React
- TypeScript
- SASS
- CSS Modules
- Cloudinary
What I built
This portfolio brings together interaction design, React components, server-side content loading, accessibility, and deployment. The editor metaphor is part of the experience: the explorer, file tabs, split panes, and terminal all need to behave consistently while keeping the work itself easy to find.
- Next.js App Router, server components, and static content pages
- A generated explorer and file tabs linked to blog posts and projects
- Drag-and-drop tab management and a resizable split view
- Persistent explorer state and synchronized appearance settings
- Monokai, Dark Modern, and Light themes with text-size and motion preferences
- A browser-based terminal for exploring the portfolio through commands
- Image galleries with keyboard navigation and an accessible lightbox
- Markdown files with validated frontmatter for local content management

Moving files between panes
Tabs can be reordered by dragging, and files can be dragged from the explorer into the editor. Dropping a file at the right edge opens a second pane, so visitors can keep a project beside the skills page or compare two pieces of work. Tabs can also move between panes, with a draggable divider controlling the space each side receives.
The interaction spans the explorer, tab bars, and split-view state. Each drop needs to preserve tab order, select the right file, and update the source pane consistently. The right pane renders a shared page inside an iframe, with its own scrolling and navigation coordinated with the parent workspace. The split layout and open files are restored after a refresh.
A terminal that belongs to the workspace
The terminal offers another way to explore the portfolio. It is a browser-based simulation with a virtual filesystem built from the same navigation data as the explorer. Visitors can browse directories, open pages, and read project or blog content through commands.
- ls and tree list the available files; cd changes the working directory, while open navigates without changing it.
- cat reads content loaded through the site's content API, and find searches the available entries.
- Command history, path completion, and keyboard shortcuts support a familiar terminal workflow.
- theme and particles share the appearance settings used by the rest of the workspace; matrix adds a canvas effect with reduced-motion support.

The implementation separates command handling, path resolution, and output rendering. Directory state stays independent of the current page, file listings render as accessible controls, and the split pane can open the same terminal through validated same-origin messages. Those details make it a working part of the editor interface.
Working at different widths
The application needs to work on a phone and inside a narrow split pane on a large screen. Container-based layouts adapt the content to its actual available space. Navigation, scrolling, image sizing, and controls need to stay usable as the workspace changes.

From design to maintenance
I used Figma to explore key elements and Jira to organize the initial work. The implementation uses TypeScript, React, Sass modules, and a small server-side content layer. It is deployed on Vercel and continues to evolve through visual review, browser checks, and targeted tests for preferences, folder state, and gallery behavior. Appearance settings let visitors personalize the workspace, with preferences preserved between visits.

What the project demonstrates
The site is an opportunity to take responsibility for both the details people see and the code that keeps them consistent. A theme selector affects every component; a split pane affects navigation, scrolling, and dialogs; a content change needs to reach menus, cards, metadata, and the terminal. The work is in connecting those parts into one coherent product.
