Back to projects

MFRozi Portfolio & Template System

Open-source Next.js 16 + Tailwind CSS 4 portfolio architecture separating layout templates (Blueprint, Precision Grid, Digital Observatory) from color modes, with build-time WCAG AA checks.

2026 · YearSoftware Architect, Programmer · Role
  • Next.js 16
  • React 19
  • TypeScript
  • Tailwind CSS 4
  • next-themes

Deployment & source

01Overview

Instead of hardcoding one look into components, this portfolio separates the owner-chosen layout template (`data-template`) from the visitor's color mode (`data-theme`). Three distinct templates (Blueprint, Precision Grid, and Digital Observatory) share a strict semantic token contract.

A Server Component emits zero-FOUC CSS variables in `<head>` and fails the build if any color pair breaks WCAG 2.1 AA contrast, while live route handlers hydrate multi-year GitHub streak stats and VPS ping latency.

02Key features

  • Two-axis config-driven architecture (3 layout templates × Light/Dark modes)
  • Build-time WCAG 2.1 AA contrast and token completeness validator
  • Server-rendered CSS registry keeping theme definitions out of client JS
  • Multi-year GitHub GraphQL streak hydration and server-side VPS latency telemetry

03Screenshots

7 screens