irfan.dev
Professional personal engineering portfolio, technical journal, and research platform.
Architecture
- Runtime Target: Node.js 26 LTS
- Core Framework: React 19 + TypeScript + Vite 8
- Routing & Prerendering: React Router Framework Mode with
ssr: false and compile-time prerender()
- Styling: Tailwind CSS v4 with CSS-first
@theme design tokens
- Motion & Interaction: Motion for React (component animations) + GSAP ScrollTrigger (complex scroll triggers) + Native CSS
- Testing: Vitest + React Testing Library + Playwright
- Deployment: Static output (
frontend/build/client) targeting Cloudflare Pages
Design System Tokens
- Background Canvas:
#090B10
- Elevated Surface:
#12151E
- Overlay Surface:
#1A1E2B
- Primary Accent:
#A78BFA (Violet)
- Secondary Accent:
#67E8F9 (Cyan)
- Primary Text:
#F4F4F5
- Muted Text:
#9296A3
- Subtle Border:
#232736
- Fonts: Inter (Sans-serif interface) and JetBrains Mono (Monospaced code/meta)
Getting Started
cd frontend
npm install
npm run dev
Build & Test
# Run unit and component tests
npm test
# Type checking
npm run typecheck
# Production static prerender build
npm run build