C1.2Bloom · ANot started

Swapping a content pack

Reading depth

What you'll learn

  • One swap-point: `src/content/active-pack.ts`.
  • Storage keys are namespaced: `<pack-id>:progress:v1`.
  • Tests + e2e read pack metadata, not hardcoded brand strings.

To swap content, change a single import in `src/content/active-pack.ts`. Every dependent surface — dashboard, sections, concepts, quizzes, sitemap, llms.txt, manifest, icons — re-derives from the new pack.

Storage keys are namespaced with the pack id, so different packs do not collide on a single browser. Switching packs preserves the previous pack's progress; switching back resumes where you left off.

Key points

  • One swap-point: `src/content/active-pack.ts`.
  • Storage keys are namespaced: `<pack-id>:progress:v1`.
  • Tests + e2e read pack metadata, not hardcoded brand strings.

Ask Claude

Build a prompt with this lesson + your question and open a fresh Claude chat with it pre-filled.