Add comprehensive C++ learning platform with curriculum and content#1
Merged
shankarpandala merged 9 commits intomainfrom Mar 13, 2026
Merged
Conversation
Sets up the core project scaffolding mirroring the math4ai architecture: - package.json with React 19, Vite 7, Tailwind CSS 4, Zustand, Framer Motion, PWA - Vite config with code splitting, PWA support, GitHub Pages base path - App shell with HashRouter, lazy-loaded routes, sidebar layout - Zustand store for theme, progress tracking, and bookmarks - useTheme and useProgress hooks - Global CSS with OKLCH 10-subject color palette and prose styles https://claude.ai/code/session_018oMzhvAAvJRMK5das2JSRg
…s, 110 sections) - 4 XML prompt templates for content generation (curriculum, chapter content, visualization specs, reference collection) - Complete curriculum in subjects/index.js with helper functions - Subjects: Fundamentals, Control Flow, Functions, OOP, Memory, STL, Templates, Modern C++, Concurrency, Advanced Topics https://claude.ai/code/session_018oMzhvAAvJRMK5das2JSRg
- Navbar with LearnCpp branding, subject quick-nav, theme toggle, search, social links - Sidebar with expandable subject/chapter tree, section completion tracking - Footer with project info and built-with links - Breadcrumbs for hierarchical navigation https://claude.ai/code/session_018oMzhvAAvJRMK5das2JSRg
CppCode (syntax highlighter), OutputBlock, DefinitionBlock, SyntaxBlock, BestPracticeBlock, ExampleBlock, ExerciseBlock, NoteBlock, WarningBlock, CompilerNoteBlock, ReferenceList, and SectionLayout. https://claude.ai/code/session_018oMzhvAAvJRMK5das2JSRg
MemoryLayout (stack/heap), PointerDiagram, and CallStack with Framer Motion animations and interactive hover/click states. https://claude.ai/code/session_018oMzhvAAvJRMK5das2JSRg
HomePage (hero, learning path, subject grid), SubjectPage, ChapterPage, SectionPage (with CONTENT_REGISTRY), ProgressPage, and SearchPage with debounced search. https://claude.ai/code/session_018oMzhvAAvJRMK5das2JSRg
Chapters covered: - Getting Started: Hello World, Compilation Process, Program Structure - Variables & Types: Basic Types, Variables & Constants, Type Conversions Each section includes definitions, syntax blocks, code examples with output, warnings, best practices, exercises, and references. https://claude.ai/code/session_018oMzhvAAvJRMK5das2JSRg
Deploy to GitHub Pages on push to main or feature branch. Uses Node 20 with npm ci, vite build, and peaceiris/actions-gh-pages. https://claude.ai/code/session_018oMzhvAAvJRMK5das2JSRg
|
You have reached your Codex usage limits for code reviews. You can see your limits in the Codex usage dashboard. |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
Summary
This PR introduces LearnCpp, a complete interactive C++ learning platform built with React, Vite, and Tailwind CSS. The platform provides a structured curriculum covering 10 C++ subjects from fundamentals to advanced topics, with interactive content, progress tracking, and visualization components.
Key Changes
Curriculum & Content Structure
src/subjects/index.js): Comprehensive 10-subject curriculum with 693 lines defining all subjects, chapters, and sections with metadata (difficulty, estimated time, prerequisites, descriptions)Pages & Navigation
Layout Components
Content Components
Visualization Components
State Management & Hooks
Build & Deployment
Notable Implementation Details
buildsOnreferences to establish prerequisite relationships and learning pathsFiles Added
https://claude.ai/code/session_018oMzhvAAvJRMK5das2JSRg