How sejalfakare/web-dev-nayi-disha works
NayiDisha is a teacher-and-parent child-support portal. The teacher workflow records a classroom voice note, prepares a transcript and behavior tags for teacher review, then saves it for display in classroom and parent views. The sampled code shows local sample data and component state rather than a backend or persistent store; login is also UI-only. The tree contains overlapping Next.js and Vite app entry points, so both are shown without assuming how they are deployed together.
Main entry points: dashboard-shell.tsx Dashboard shell · students.ts Student and voice logs · portal-login.tsx Role login · App.jsx Vite app
Components 15
App entry points
- Vite mount
src/main.jsx - Vite app
src/App.jsx - Role login
components/portal-login.tsx - Teacher route
app/teacher/page.tsx - Parent route
app/parent/page.tsx - Landing page
components/landing-page.tsx
Teacher workspace
- Teacher dashboard
src/TeacherDashboard.jsx - Dashboard shell
components/dashboard-shell.tsx - Voice note review
components/voice-note-modal.tsx - Child detail
components/child-detail-panel.tsx - Student card
components/student-card.tsx
Parent portal
- Parent portal
components/parent-portal.tsx
Shared domain data
- Student and voice logs
lib/students.ts
Other components
- Teacher
- Parent
Connections 16
- Vite mount → Vite app: renders
src/main.jsx - Vite app → Teacher dashboard: renders
src/App.jsx - Teacher route → Dashboard shell: renders
app/teacher/page.tsx - Parent route → Parent portal: renders
app/parent/page.tsx - Teacher → Role login: signs in
components/portal-login.tsx - Parent → Role login: signs in
components/portal-login.tsx - Role login → Teacher route: redirects
components/portal-login.tsx - Teacher dashboard → Student and voice logs: uses sample data
src/TeacherDashboard.jsx - Dashboard shell → Student and voice logs: uses student data
components/dashboard-shell.tsx - Dashboard shell → Voice note review: opens
components/dashboard-shell.tsx - Dashboard shell → Child detail: opens
components/dashboard-shell.tsx - Dashboard shell → Student card: renders
components/dashboard-shell.tsx - Voice note review → Student and voice logs: uses data types
components/voice-note-modal.tsx - Child detail → Student and voice logs: reads logs
components/child-detail-panel.tsx - Parent portal → Student and voice logs: reads child logs
components/parent-portal.tsx - Landing page → Role login: links to