Chapter 15.4โ˜• 25 min read

Portfolio Website

Build your personal portfolio with animations, SSR, SEO, lazy loading, and performance optimization.

01What We'll Build

What We'll Build

  • Your personal portfolio to impress Hyderabad IT companies
  • Sections: Hero, About, Skills, Projects, Experience, Contact
  • Smooth scroll, animations, responsive, SEO-optimized
  • SSR for Google indexing

"Portfolio = resume ka modern version โ€” dikhao kya kar sakte ho"

Uses: Animations (Ch 12.4), SEO (Ch 14.2), SSR (Ch 14.1), Lazy Loading (Ch 6.4), @defer (Ch 3.7), OnPush (Ch 12.1).

02Structure & Routing

Project Structure & Routing

src/app/
โ”œโ”€โ”€ components/
โ”‚   โ”œโ”€โ”€ hero/
โ”‚   โ”œโ”€โ”€ about/
โ”‚   โ”œโ”€โ”€ skills/
โ”‚   โ”œโ”€โ”€ projects/
โ”‚   โ”œโ”€โ”€ experience/
โ”‚   โ””โ”€โ”€ contact/
โ”œโ”€โ”€ data/
โ”‚   โ””โ”€โ”€ portfolio.data.ts
โ””โ”€โ”€ pages/
    โ”œโ”€โ”€ home/  (all sections)
    โ””โ”€โ”€ project/:id/  (detail)

Single page + detail routes. Section lazy loaded with @defer.

03Animations

Animations & Visual Polish

  • Fade-in on scroll for each section
  • Staggered animation for skills grid
  • Smooth page transitions between routes
  • Hover effects on project cards

"Animations = polish โ€” first impression last impression"

Use Angular animations (Ch 12.4) + CSS transitions.

04SEO Optimization

SEO Optimization

  • Unique title and meta per "page"
  • Open Graph tags for social sharing
  • Structured data for Person schema
  • SSR enabled for Google crawling (Ch 14.1)

"SEO = Google pe dikhna โ€” portfolio ka main purpose"

05Performance

Performance Optimization

  • @defer for below-fold sections (skills, contact)
  • Lazy loaded project detail page
  • Optimized images (WebP, lazy loading)
  • OnPush on all components
  • Preconnect to external fonts/CDN

"Fast loading = impressed recruiter โ€” 3 second mein poora portfolio"

Project Summary

  • SSR enables Google to index your full portfolio
  • @defer lazy loads below-fold sections
  • Angular animations for scroll-triggered effects
  • Title/Meta service for unique tags per section
  • OnPush + signals for best performance
Course Search
Search across all chapters & stages
๐Ÿ“–

Search the course

Type any topic โ€” branching, stash, rebase, hooks โ€” and jump straight to that chapter.

merge branchesgit stashundo commitrebase