Content flow
- Store lesson material under
content/japanese/n5. - Pick a slug (for example
te-iru) and add files or folders in the matching topic. - Connect the content to UI inside the route file so it renders on the page.
Keep slugs consistent between the content folder and the route param.
Components and UI
- Reusable UI lives in
app/components. GrammarPopup.tsxis a client component that shows inline grammar details.- Page layout and typography are controlled with Tailwind utility classes.
- Use the alias
@/for project root imports (set intsconfig.json).
import X from "@/app/..."
npm run dev