T1ramisu - Portfolio Website

Built a portfolio website using Next.js and Tailwind CSS. Implemented a responsive design with a modern and clean look. Make it high performance and SEO optimization.

9 Feb 20262 min read
T1ramisu - Portfolio Website

Overview

Create Portfolio Website using Next.js + Tailwind + SCSS and Motion with high performance and SEO optimization. Using SSG for all pages.

Features

  • Developed a personal portfolio website using Next.js (App Router) with Motion (Framer Motion), leveraging Server Components and Static Site Generation (SSG) for optimal performance and SEO

  • Implemented a hybrid styling architecture combining Tailwind CSS with SCSS modules, organized using BEM methodology for maintainable and scalable CSS

  • Built reusable animation components (FadeUp, StaggeredText, FadeDirectional) using Motion with configurable delay, duration, and viewport-triggered animations

  • Designed a Markdown-based content management system using gray-matter and react-markdown with auto-generated Table of Contents, reading time estimation, and code syntax highlighting

  • Optimized SEO through dynamic metadata generation (generateMetadata), static params pre-rendering (generateStaticParams), and semantic HTML structure across all pages

  • Architected a clear Server/Client Component separation pattern (.server.jsx / .motion.jsx) to minimize client-side JavaScript bundle and maximize performance

  • Implemented dark/light theme switching with next-themes and role-based dynamic content system with cookie-based preference persistence

Project Structure

src/
├── app/            # Next.js App Router (pages)
├── components/     # React Components
│   ├── animation/  # Animation wrapper components
│   ├── layout/     # Layout components (Navbar, Footer)
│   ├── providers/  # Context providers (ThemeProvider)
│   ├── sections/   # Page sections (Hero, Projects, Posts, etc.)
│   ├── shared/     # Shared components (MarkdownRenderer, TableOfContents)
│   └── ui/         # UI components (Button, Capsule, Cards)
├── lib/            # Utility functions and data fetching
└── styles/         # SCSS modules
    ├── base/       # Base styles (variables, typography)
    ├── layout/     # Layout styles
    ├── sections/   # Section-specific styles
    └── ui/         # UI component styles

Tech Stack

  • Next.js
  • Tailwind CSS
  • SCSS
  • Motion (Framer Motion)
portfoliopublic

Bridging beautiful design and powerful performance to create websites that truly matter.

JavaScript

Latest Projects