A sweet educational site that explains how AI agents work, with a component-driven architecture and centralized theme/content registries.
- React + Vite + TypeScript frontend.
- Landing page focused on agent loops and multi-agent ecosystems.
- Dedicated
/comparisonspage for framework/protocol comparisons. - Glossary page at
/glossarywith search and saved terms. - Long-form guide with sticky sidebar navigation and mobile drawer menu.
- Single source of truth for theme tokens and reusable copy.
- GitLab Releases feed rendered in-page.
src/theme/tokens.ts: raw design tokens (colors, type, spacing, radius, shadows, motion)src/theme/semantic.ts: semantic alias mappingsrc/theme/global.css: CSS variable usage and global stylessrc/content/copy.ts: shared text contentsrc/content/sections.ts: sidebar and section metadatasrc/components/*: typed, variant-based reusable UI componentsplanning/ui-tweakability-plan.md: implementation note + checklist
npm install
npm run devnpm run lint:tokensFails if raw color literals appear in component files.
npm run build- GitHub Pages workflow:
.github/workflows/deploy-pages.yml - GitLab Pages pipeline:
.gitlab-ci.yml
Both deploy from tags (v* on GitHub, $CI_COMMIT_TAG on GitLab).