Skip to content

Create Chapter Navigation and Table of Contents #90

Description

@MRIARC-08

Improve chapter browsing and navigation:

Backend Status: ✅ Chapter data available

Frontend Work Required:

  • Auto-generate table of contents from markdown
  • Sticky sidebar with TOC links
  • Breadcrumb navigation (Class > Subject > Chapter)
  • Previous/Next chapter buttons
  • Related topics section
  • Quiz button for chapter

Components to Create:

  • src/components/ChapterTOC.tsx - Table of contents
  • src/components/ChapterBreadcrumb.tsx - Breadcrumb navigation
  • src/components/ChapterNavigation.tsx - Prev/Next buttons
  • Update chapter detail page

Features:

  • Parse headings for TOC
  • Smooth scroll to sections
  • Highlight current section
  • Mobile collapsible TOC

Expected Outcome: Better navigation for chapter reading.

Related to backend: Chapter Content Seeding

This is a GSSoC'26 contribution opportunity!

Metadata

Metadata

Assignees

Labels

gssocgssoclevel:intermediateGSSoC difficulty: intermediatetype:designDesign or UI related contribution

Projects

No projects

Milestone

No milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions