Portfolio Website project screenshot 1 of 4 — case study by Syed Muhammad Hasnain Abdi

Portfolio WebsiteWeb Application Case Study

Full Stack Developer & DesignerAug 2026Web Application
Next.js 16TypeScriptTailwind CSS 4Framer Motionshadcn/ui

Overview

A premium single-page personal portfolio built with Next.js 16, TypeScript, Tailwind CSS 4, and Framer Motion. Designed with a dark premium aesthetic featuring orange (#cc5500) accent color, glass-morphism cards, and animated gradient backgrounds. The site includes 8 sections: Hero with animated typing effect and CTA buttons, About with feature highlights, Services grid, Skills progress bars, Featured Projects with detail pages, Experience timeline, Education, and Contact form with API integration. It features scroll-triggered animations, JSON-LD structured data for SEO, Open Graph and Twitter Card meta tags, sitemap and robots.txt generation, PWA manifest, and is fully responsive across all devices.

See more of my featured projects or learn about my development services.

The Problem

As a Full Stack Developer and AI Application Developer looking for freelance and full-time opportunities, I needed a portfolio that would rank on Google for keywords like "Syed Muhammad Hasnain Abdi portfolio" and "Full Stack Developer Pakistan". Existing portfolio templates were either slow, not SEO-optimized, or did not allow the granular control over structured data and metadata that search engines reward. The challenge was to build a single-page experience that also exposes dedicated deep-link pages for case studies — without sacrificing performance or Lighthouse scores.

The Solution

I built the entire portfolio from scratch using Next.js 16 App Router with Static Site Generation (SSG) for every route including dynamic /projects/[slug] pages. Server components handle metadata and structured data, while isolated client components (Hero animations, ImageGallery, CursorEffects) deliver interactivity. SEO is treated as a first-class concern: three JSON-LD schemas (Person, WebSite, ProfessionalService), Open Graph + Twitter Cards, dynamic OG/Twitter images via ImageResponse, auto-generated sitemap.xml and robots.txt, and a 68-keyword strategy targeting brand, role, location, and hiring intent.

Tech Stack

Next.js 16 with Turbopack powers both dev and production builds. TypeScript 5 enforces strict typing across the entire codebase. Tailwind CSS 4 handles all styling with utility-first classes. Framer Motion 12 delivers hero animations, scroll-triggered reveals, and magnetic buttons. shadcn/ui (built on Radix UI) provides accessible primitives. Nodemailer powers the contact form API route with auto-reply emails. Sharp handles image optimization. The site is deployed on Space-Z.ai infrastructure with s-maxage=31536000 caching headers for static assets.

Results & Outcomes

SEO audit score: 95/100 with 68 strategically placed keywords
Page weight: ~360 KB total — well below the 500 KB budget for portfolio sites
DOM Content Loaded: ~486 ms on a mid-range connection
Page Load: ~628 ms with full animations and 6 images
3 JSON-LD structured data schemas validated by Google Rich Results Test
All 14 pages pre-rendered as static HTML for instant TTFB

Key Features

Dark premium theme with orange (#cc5500) accent and animated gradient backgrounds
8 sections: Hero, About, Services, Skills, Projects, Experience, Education, Contact
Hero section with animated typing effect, glowing orbs, and CTA buttons
Glass-morphism surface cards with hover effects throughout the design
Scroll-triggered Framer Motion animations on every section
Featured Projects grid with individual detail pages (/projects/[slug])
Contact form with REST API backend and toast notifications
SEO optimized: JSON-LD (Person, Website, ProfessionalService), Open Graph, Twitter Cards
Auto-generated sitemap.xml and robots.txt for search engine crawling
PWA manifest with app icons for mobile install support
Fully responsive from mobile to desktop with Inter + JetBrains Mono typography
Animated stats counter (Years Experience, Projects, Clients, Technologies)

Share this case study

Found this useful? Share it with your network.