Theoremz
Learning platform for math and physics with clear lessons, interactive exercises, and AI tutor
- 95+Lighthouse
- < 2sLCP mobile
- 1k+Lessons

1/3
Case overview
Problem
Fragmented resources and little actionable guidance — students lack a single place for theory, exercises, and progress.
Project
SEO‑indexed lessons (SSG/ISR), dynamic routing at scale, Portable Text + KaTeX content from Sanity, notes + quizzes with step‑by‑step correction, and an AI tutor with contextual memory.
Results
LCP < 2s on mobile • 95+ Lighthouse across pages • Scalable content and community
Stack
Next.js
TypeScript
Tailwind
Sanity CMS
KaTeX
Firestore
Firebase Auth
Stripe
GA4
Vercel
Responsibilities
- Product strategy & roadmap, UX and AI tutor
- App Router architecture and performance budget
- Sanity schema, Portable Text + KaTeX components, asset pipeline
- Auth & billing: Firebase Auth, Stripe subscriptions
- SEO & performance: SSG/ISR, Core Web Vitals (LCP < 2s, Lighthouse >95)
- Analytics & experimentation: GA4 schema, KPI dashboards, A/B testing
- CI/CD & reliability: Vercel, versioning, error monitoring/logging
- Docs & contributor guide; content quality & media pipeline
Highlights
- Dynamic lesson routing (thousands of pages)
- AI tutor with contextual chat
- Campaign‑level analytics (GA4)