<?xml version="1.0" encoding="UTF-8"?>
<rss version="2.0" xmlns:atom="http://www.w3.org/2005/Atom" xmlns:dc="http://purl.org/dc/elements/1.1/">
  <channel>
    <title>DEV Community: Aman Sharma</title>
    <description>The latest articles on DEV Community by Aman Sharma (@gsamansharma).</description>
    <link>https://dev.to/gsamansharma</link>
    <image>
      <url>https://media2.dev.to/dynamic/image/width=90,height=90,fit=cover,gravity=auto,format=auto/https:%2F%2Fdev-to-uploads.s3.amazonaws.com%2Fuploads%2Fuser%2Fprofile_image%2F700647%2F8762684e-3115-4902-aa46-d33c17456259.jpeg</url>
      <title>DEV Community: Aman Sharma</title>
      <link>https://dev.to/gsamansharma</link>
    </image>
    <atom:link rel="self" type="application/rss+xml" href="https://dev.to/feed/gsamansharma"/>
    <language>en</language>
    <item>
      <title>Building an Interactive Portfolio with Next.js</title>
      <dc:creator>Aman Sharma</dc:creator>
      <pubDate>Mon, 23 Mar 2026 07:30:45 +0000</pubDate>
      <link>https://dev.to/gsamansharma/building-an-interactive-portfolio-with-nextjs-2e0b</link>
      <guid>https://dev.to/gsamansharma/building-an-interactive-portfolio-with-nextjs-2e0b</guid>
      <description>&lt;p&gt;A breakdown of how I built my portfolio—from a terminal-style experiment to a fully interactive OS-inspired website—along with the challenges, design decisions, and lessons learned along the way.&lt;/p&gt;

&lt;h2&gt;
  
  
  The Idea: A Portfolio That Isn’t Boring
&lt;/h2&gt;

&lt;p&gt;I always wanted a portfolio website that felt different—something interactive and fun instead of the usual static pages. I wanted it to reflect my personality and interests.&lt;/p&gt;




&lt;h2&gt;
  
  
  Version 1: Terminal-Based Portfolio
&lt;/h2&gt;

&lt;p&gt;Being a linux entusiast, I decided to build a terminal-based portfolio that would look cool.&lt;/p&gt;

&lt;p&gt;&lt;a href="https://media2.dev.to/dynamic/image/width=800%2Cheight=%2Cfit=scale-down%2Cgravity=auto%2Cformat=auto/https%3A%2F%2Fdev-to-uploads.s3.amazonaws.com%2Fuploads%2Farticles%2Fy0z5ah12vaupu4gcws3f.webp" class="article-body-image-wrapper"&gt;&lt;img src="https://media2.dev.to/dynamic/image/width=800%2Cheight=%2Cfit=scale-down%2Cgravity=auto%2Cformat=auto/https%3A%2F%2Fdev-to-uploads.s3.amazonaws.com%2Fuploads%2Farticles%2Fy0z5ah12vaupu4gcws3f.webp" alt="Terminal-Based Portfolio Interface (Version 1)" width="720" height="405"&gt;&lt;/a&gt;&lt;br&gt;Terminal-Based Portfolio Interface (Version 1)
  &lt;/p&gt;
&lt;h3&gt;
  
  
  Challenges:
&lt;/h3&gt;

&lt;ul&gt;
&lt;li&gt;Making it responsive for both desktop, mobile, tablet, etc.&lt;/li&gt;
&lt;li&gt;Navigation was difficult for non-technical users.&lt;/li&gt;
&lt;li&gt;Commands for navigation only appealed to terminal enthusiasts.&lt;/li&gt;
&lt;/ul&gt;


&lt;h2&gt;
  
  
  Version 2: OS-Styled Portfolio
&lt;/h2&gt;

&lt;p&gt;So, here comes the second version, I decided to implement an OS styled portfolio.&lt;br&gt;
&lt;a href="https://media2.dev.to/dynamic/image/width=800%2Cheight=%2Cfit=scale-down%2Cgravity=auto%2Cformat=auto/https%3A%2F%2Fdev-to-uploads.s3.amazonaws.com%2Fuploads%2Farticles%2F3lwdzt8k14v39wq75hal.webp" class="article-body-image-wrapper"&gt;&lt;img src="https://media2.dev.to/dynamic/image/width=800%2Cheight=%2Cfit=scale-down%2Cgravity=auto%2Cformat=auto/https%3A%2F%2Fdev-to-uploads.s3.amazonaws.com%2Fuploads%2Farticles%2F3lwdzt8k14v39wq75hal.webp" alt="OS-Styled Mobile Portfolio Layout (Version 2)" width="800" height="450"&gt;&lt;/a&gt;&lt;/p&gt;
OS-Styled Mobile Portfolio Layout (Version 2)


&lt;h3&gt;
  
  
  Features:
&lt;/h3&gt;

&lt;ul&gt;
&lt;li&gt;Includes projects, research articles, resume, and social profiles.&lt;/li&gt;
&lt;li&gt;Integrated the original terminal website as a feature.&lt;/li&gt;
&lt;li&gt;Built entirely in vanilla JavaScript.&lt;/li&gt;
&lt;/ul&gt;
&lt;h3&gt;
  
  
  Problem:
&lt;/h3&gt;

&lt;ul&gt;
&lt;li&gt;Components weren’t reusable, making it hard to scale or maintain.&lt;/li&gt;
&lt;/ul&gt;


&lt;h2&gt;
  
  
  Version 3: Moving to Next.js
&lt;/h2&gt;

&lt;p&gt;So, here comes the next version(pun intended). I chose Next.js for a few key reasons:&lt;/p&gt;
&lt;h3&gt;
  
  
  Why Next.js?
&lt;/h3&gt;

&lt;ul&gt;
&lt;li&gt;
&lt;strong&gt;SEO Optimization&lt;/strong&gt;: Server-side rendering allows crawlers to properly index and rank the site.&lt;/li&gt;
&lt;li&gt;
&lt;strong&gt;Component Reusability&lt;/strong&gt;: Makes the codebase much more maintainable.&lt;/li&gt;
&lt;li&gt;
&lt;strong&gt;Performance&lt;/strong&gt;: Faster page loads and better developer experience.&lt;/li&gt;
&lt;/ul&gt;

&lt;p&gt;&lt;a href="https://media2.dev.to/dynamic/image/width=800%2Cheight=%2Cfit=scale-down%2Cgravity=auto%2Cformat=auto/https%3A%2F%2Fdev-to-uploads.s3.amazonaws.com%2Fuploads%2Farticles%2Fivx1scl6zwxk3yd8x0r8.webp" class="article-body-image-wrapper"&gt;&lt;img src="https://media2.dev.to/dynamic/image/width=800%2Cheight=%2Cfit=scale-down%2Cgravity=auto%2Cformat=auto/https%3A%2F%2Fdev-to-uploads.s3.amazonaws.com%2Fuploads%2Farticles%2Fivx1scl6zwxk3yd8x0r8.webp" alt="Next.js V1 Desktop" width="800" height="414"&gt;&lt;/a&gt;&lt;br&gt;Initial desktop layout after migrating to Next.js (Version 3)
  &lt;/p&gt;

&lt;p&gt;&lt;a href="https://media2.dev.to/dynamic/image/width=800%2Cheight=%2Cfit=scale-down%2Cgravity=auto%2Cformat=auto/https%3A%2F%2Fdev-to-uploads.s3.amazonaws.com%2Fuploads%2Farticles%2Fv1o5b7s9lf9pcual9xf7.webp" class="article-body-image-wrapper"&gt;&lt;img src="https://media2.dev.to/dynamic/image/width=800%2Cheight=%2Cfit=scale-down%2Cgravity=auto%2Cformat=auto/https%3A%2F%2Fdev-to-uploads.s3.amazonaws.com%2Fuploads%2Farticles%2Fv1o5b7s9lf9pcual9xf7.webp" alt="Next.js V1 Mobile" width="354" height="745"&gt;&lt;/a&gt;&lt;br&gt;Initial mobile layout after migrating to Next.js (Version 3)
  &lt;/p&gt;


&lt;h2&gt;
  
  
  Responsive Design Challenges
&lt;/h2&gt;

&lt;p&gt;The next big challenge was making the site work seamlessly across devices. Instead of relying purely on complex media queries, I decided to take a more direct approach: I created a dedicated desktop layout for larger screens and an optimized mobile version for smaller ones.&lt;/p&gt;

&lt;p&gt;&lt;a href="https://media2.dev.to/dynamic/image/width=800%2Cheight=%2Cfit=scale-down%2Cgravity=auto%2Cformat=auto/https%3A%2F%2Fdev-to-uploads.s3.amazonaws.com%2Fuploads%2Farticles%2Fvlias1fyhl2yw5a6cy00.webp" class="article-body-image-wrapper"&gt;&lt;img src="https://media2.dev.to/dynamic/image/width=800%2Cheight=%2Cfit=scale-down%2Cgravity=auto%2Cformat=auto/https%3A%2F%2Fdev-to-uploads.s3.amazonaws.com%2Fuploads%2Farticles%2Fvlias1fyhl2yw5a6cy00.webp" alt="Dedicated Desktop Layout" width="800" height="428"&gt;&lt;/a&gt;&lt;br&gt;The refined dedicated desktop layout for larger screens.
  &lt;br&gt;
&lt;/p&gt;

&lt;h3&gt;
  
  
  Additions:
&lt;/h3&gt;

&lt;ul&gt;
&lt;li&gt;Window-based UI for projects and skills on desktop.&lt;/li&gt;
&lt;li&gt;Modals for the mobile experience.&lt;/li&gt;
&lt;/ul&gt;




&lt;h2&gt;
  
  
  Design Iterations: Feedback &amp;amp; Improvements
&lt;/h2&gt;

&lt;p&gt;With the core layouts in place, I built the MVP and asked my friends to review it.&lt;/p&gt;

&lt;h3&gt;
  
  
  Issues Identified:
&lt;/h3&gt;

&lt;ul&gt;
&lt;li&gt;Wallpaper was distracting.&lt;/li&gt;
&lt;li&gt;Overall design felt a bit incomplete.&lt;/li&gt;
&lt;li&gt;Needed cleaner UI and better visual hierarchy.&lt;/li&gt;
&lt;/ul&gt;

&lt;h3&gt;
  
  
  Fixes:
&lt;/h3&gt;

&lt;ul&gt;
&lt;li&gt;Switched to a minimal wallpaper (with help from Gemini).&lt;/li&gt;
&lt;li&gt;Focused on the final visual polish to make both desktop and mobile versions look premium.
&lt;img src="https://media2.dev.to/dynamic/image/width=800%2Cheight=%2Cfit=scale-down%2Cgravity=auto%2Cformat=auto/https%3A%2F%2Fdev-to-uploads.s3.amazonaws.com%2Fuploads%2Farticles%2F6wybk12s02zde5jdvlvr.webp" alt="Next.js V2 Desktop" width="800" height="422"&gt;The refined desktop layout (Version 3.1) after feedback.

&lt;/li&gt;
&lt;/ul&gt;

&lt;p&gt;&lt;a href="https://media2.dev.to/dynamic/image/width=800%2Cheight=%2Cfit=scale-down%2Cgravity=auto%2Cformat=auto/https%3A%2F%2Fdev-to-uploads.s3.amazonaws.com%2Fuploads%2Farticles%2F5kluhpwsur7ixs9zabmt.webp" class="article-body-image-wrapper"&gt;&lt;img src="https://media2.dev.to/dynamic/image/width=800%2Cheight=%2Cfit=scale-down%2Cgravity=auto%2Cformat=auto/https%3A%2F%2Fdev-to-uploads.s3.amazonaws.com%2Fuploads%2Farticles%2F5kluhpwsur7ixs9zabmt.webp" alt="Next.js V2 Mobile" width="750" height="1334"&gt;&lt;/a&gt;&lt;br&gt;The refined mobile layout (Version 3.1) after feedback.
  &lt;/p&gt;


&lt;h2&gt;
  
  
  Supporting Both Light &amp;amp; Dark Modes
&lt;/h2&gt;

&lt;p&gt;Dark mode is popular, but you can’t ignore users who prefer light mode. So I implemented both, ensuring a consistent design across both themes.&lt;/p&gt;

&lt;p&gt;&lt;a href="https://media2.dev.to/dynamic/image/width=800%2Cheight=%2Cfit=scale-down%2Cgravity=auto%2Cformat=auto/https%3A%2F%2Fdev-to-uploads.s3.amazonaws.com%2Fuploads%2Farticles%2Fsmmwia9qzd9b3kpzmopi.webp" class="article-body-image-wrapper"&gt;&lt;img src="https://media2.dev.to/dynamic/image/width=800%2Cheight=%2Cfit=scale-down%2Cgravity=auto%2Cformat=auto/https%3A%2F%2Fdev-to-uploads.s3.amazonaws.com%2Fuploads%2Farticles%2Fsmmwia9qzd9b3kpzmopi.webp" alt="Seamless transition" width="800" height="450"&gt;&lt;/a&gt;&lt;br&gt;Seamless transition between light and dark modes.
  &lt;br&gt;
&lt;/p&gt;




&lt;h2&gt;
  
  
  Launch &amp;amp; Initial Response
&lt;/h2&gt;

&lt;p&gt;Now, it was ready. I started sharing it publicly across platforms, but didn’t get much attention initially.  &lt;/p&gt;




&lt;h2&gt;
  
  
  Breakthrough on Reddit
&lt;/h2&gt;

&lt;p&gt;Then randomly, I shared it on Reddit without any expectations. And it blew up:&lt;/p&gt;

&lt;p&gt;&lt;a href="https://media2.dev.to/dynamic/image/width=800%2Cheight=%2Cfit=scale-down%2Cgravity=auto%2Cformat=auto/https%3A%2F%2Fdev-to-uploads.s3.amazonaws.com%2Fuploads%2Farticles%2F8qbrq0brufkoak413yg9.webp" class="article-body-image-wrapper"&gt;&lt;img src="https://media2.dev.to/dynamic/image/width=800%2Cheight=%2Cfit=scale-down%2Cgravity=auto%2Cformat=auto/https%3A%2F%2Fdev-to-uploads.s3.amazonaws.com%2Fuploads%2Farticles%2F8qbrq0brufkoak413yg9.webp" alt="Reddit post" width="768" height="705"&gt;&lt;/a&gt;&lt;br&gt;Reddit post that reached the top 10 of the month.
  &lt;/p&gt;

&lt;ul&gt;
&lt;li&gt;The post reached the &lt;strong&gt;top 10 of the month&lt;/strong&gt;.&lt;/li&gt;
&lt;li&gt;It received a lot of comments, feedback, and appreciation.&lt;/li&gt;
&lt;/ul&gt;




&lt;h2&gt;
  
  
  💡 The Next Idea: SaaS Product
&lt;/h2&gt;

&lt;p&gt;That’s when I thought why not make a portfolio builder, so others could enter their data, make profiles and decided the Saas name to be showmy.page.&lt;/p&gt;




&lt;h2&gt;
  
  
  What Next?
&lt;/h2&gt;

&lt;p&gt;This is just the beginning.&lt;br&gt;
A detailed blog on ShowMyPage is coming soon.&lt;/p&gt;

&lt;p&gt;&lt;strong&gt;View the live portfolio at &lt;a href="https://amansharma.cv" rel="noopener noreferrer"&gt;amansharma.cv&lt;/a&gt;&lt;/strong&gt;&lt;/p&gt;




</description>
      <category>nextjs</category>
      <category>portfolio</category>
      <category>webdev</category>
      <category>interactive</category>
    </item>
  </channel>
</rss>
