How bala290498/welearn-weshare works
WeLearnWeShare is a community-learning platform presented through a Next.js site. Visitors discover the community-discount model and course batches, then can explore course details; the site also showcases learning communities, student portfolios, trainers, blogs, and job opportunities. The main landing page communicates the value proposition, while dedicated routes support discovery across those areas. The graph preserves documented product capabilities and indexed page-to-component relationships; several feature implementations were not sampled, so their internal calls are omitted.
Main entry points: app/page.tsx Home experience · batches/page.tsx Batch catalog · CourseContent.tsx Course detail · community-groups/page.tsx Community groups
Components 22
Learning discovery
- Home experience
src/app/page.tsx - Pricing hero
src/components/Hero.tsx - Dynamic pricing display
src/components/DynamicPricingNumbers.tsx - Batch catalog
src/app/batches/page.tsx - Batch filtering
src/components/SkillBuildingClient.tsx - Course detail
src/components/course/CourseContent.tsx - Related courses
src/components/course/YouMayAlsoLike.tsx - Course catalog data
src/data/courses.ts
Community and enrollment
- Community enrollment
src/components/JoinCommunityModal.tsx - Join action
src/components/JoinCommunityButton.tsx - Community groups
src/app/community-groups/page.tsx - Group filtering
src/components/GroupsClient.tsx - Group data
src/data/groups.ts
Career and talent
- Student profiles
src/app/students/page.tsx - Student records
src/data/students.ts - Trainer recruitment
src/components/BecomeTrainer.tsx - Talent portal
src/components/TalentPortal.tsx - Opportunity detail
src/app/opportunities/[id]/page.tsx
Editorial content
- Markdown content utilities
src/lib/markdown.ts - Blog listing
src/app/blogs/page.tsx - Blog browsing
src/components/BlogsClient.tsx
Other components
- Site visitor
Connections 23
- Site visitor → Home experience: opens
- Home experience → Pricing hero: renders
src/app/page.tsx - Home experience → Dynamic pricing display: renders
src/app/page.tsx - Site visitor → Batch catalog: browses
- Batch catalog → Batch filtering: renders
src/app/batches/page.tsx - Batch catalog → Course catalog data: passes data
src/app/batches/page.tsx - Site visitor → Course detail: views course
- Course detail → Related courses: renders
src/components/course/CourseContent.tsx - Course detail → Markdown content utilities: uses content
src/components/course/CourseContent.tsx - Site visitor → Join action: starts enrollment
- Join action → Community enrollment: opens
src/components/JoinCommunityButton.tsx - Site visitor → Community groups: explores
- Community groups → Group filtering: renders
src/app/community-groups/page.tsx - Community groups → Group data: passes data
src/app/community-groups/page.tsx - Site visitor → Student profiles: views profiles
- Student profiles → Student records: reads
src/app/students/page.tsx - Site visitor → Trainer recruitment: explores
- Site visitor → Talent portal: explores
- Site visitor → Opportunity detail: views opportunity
- Opportunity detail → Markdown content utilities: loads job
src/app/opportunities/[id]/page.tsx - Site visitor → Blog listing: browses
- Blog listing → Blog browsing: renders
src/app/blogs/page.tsx - Blog listing → Markdown content utilities: loads posts
src/app/blogs/page.tsx