# antormojumdar/gst2025-2026 architecture

> Architecture diagram of the GitHub repository antormojumdar/gst2025-2026, generated by GitDiagram from its file tree, README and a sample of source files (last updated 2026-12-03). It is an AI-made overview: check details against the source.

- Interactive diagram: https://gitdiagram.com/antormojumdar/gst2025-2026
- Repository: https://github.com/antormojumdar/gst2025-2026

## Overview

This is a client-side Bengali HSC study-planning app: the user opens a study workspace, follows a dated subject routine, records tasks or Pomodoro study, and reviews progress and question trends. App.tsx selects the feature view and supplies shared state; useAppState persists that state in browser localStorage. The README only identifies an AI Studio app and local run setup, so feature scope comes from the sampled UI and source index. Several views are indexed but not excerpted; their links below are limited to documented routing from App.tsx.

Main entry points: [`src/App.tsx`](https://github.com/antormojumdar/gst2025-2026/blob/main/src/App.tsx) (App shell), [`src/useAppState.ts`](https://github.com/antormojumdar/gst2025-2026/blob/main/src/useAppState.ts) (App state), [`src/utils/time.ts`](https://github.com/antormojumdar/gst2025-2026/blob/main/src/utils/time.ts) (Dhaka time utilities), [`src/components/Home.tsx`](https://github.com/antormojumdar/gst2025-2026/blob/main/src/components/Home.tsx) (Study dashboard)

## Diagram (Mermaid)

```mermaid
flowchart TD

subgraph group_workflow["Study workflow"]
  node_app["App shell<br/>[App.tsx]"]
  node_navigation["Tab navigation<br/>[BottomNav.tsx]"]
  node_home["Study dashboard<br/>[Home.tsx]"]
  node_timer["Pomodoro timer<br/>[Timer.tsx]"]
  node_settings["Preferences<br/>[Settings.tsx]"]
end

subgraph group_planning["Planning and review"]
  node_routine["Study routine<br/>[Routine.tsx]"]
  node_todo["Tasks and chapters<br/>[Todo.tsx]"]
  node_analysis["Question analysis<br/>[Analysis.tsx]"]
  node_progress["Study progress<br/>[Progress.tsx]"]
  node_studydata["Routine and syllabus<br/>[data.ts]"]
  node_quotes["Motivational quotes<br/>[quotes.ts]"]
  node_progressview["Progress view<br/>[Progress.tsx]"]
end

subgraph group_state["State and time"]
  node_statehook["App state<br/>[useAppState.ts]"]
  node_localstorage[("Browser storage")]
  node_time["Dhaka time utilities<br/>[time.ts]"]
end

node_learner(("Learner"))

node_learner -->|"opens"| node_app
node_app -->|"creates state"| node_statehook
node_app -->|"renders"| node_navigation
node_app -->|"routes to"| node_home
node_app -->|"routes to"| node_todo
node_app -->|"routes to"| node_analysis
node_app -->|"routes to"| node_routine
node_app -->|"routes to"| node_timer
node_app -->|"routes to"| node_progress
node_app -->|"routes to"| node_settings
node_statehook -->|"reads and writes"| node_localstorage
node_statehook -->|"uses dates"| node_time
node_home -->|"reads routine"| node_studydata
node_home -->|"reads quotes"| node_quotes
node_home -->|"gets routine day"| node_time
node_routine -->|"reads routine"| node_studydata
node_routine -->|"gets routine day"| node_time
node_todo -->|"reads syllabus"| node_studydata
node_todo -->|"gets date"| node_time
node_timer -->|"updates sessions"| node_statehook
node_timer -->|"gets date"| node_time
node_analysis -->|"reads syllabus"| node_studydata
node_progress -->|"uses date utilities"| node_time
node_app -->|"passes state"| node_statehook
node_progressview -.->|"receives state"| node_statehook

click node_app "https://github.com/antormojumdar/gst2025-2026/blob/main/src/App.tsx"
click node_navigation "https://github.com/antormojumdar/gst2025-2026/blob/main/src/components/BottomNav.tsx"
click node_home "https://github.com/antormojumdar/gst2025-2026/blob/main/src/components/Home.tsx"
click node_routine "https://github.com/antormojumdar/gst2025-2026/blob/main/src/components/Routine.tsx"
click node_todo "https://github.com/antormojumdar/gst2025-2026/blob/main/src/components/Todo.tsx"
click node_timer "https://github.com/antormojumdar/gst2025-2026/blob/main/src/components/Timer.tsx"
click node_analysis "https://github.com/antormojumdar/gst2025-2026/blob/main/src/components/Analysis.tsx"
click node_progress "https://github.com/antormojumdar/gst2025-2026/blob/main/src/components/Progress.tsx"
click node_settings "https://github.com/antormojumdar/gst2025-2026/blob/main/src/components/Settings.tsx"
click node_statehook "https://github.com/antormojumdar/gst2025-2026/blob/main/src/useAppState.ts"
click node_studydata "https://github.com/antormojumdar/gst2025-2026/blob/main/src/data.ts"
click node_quotes "https://github.com/antormojumdar/gst2025-2026/blob/main/src/data/quotes.ts"
click node_time "https://github.com/antormojumdar/gst2025-2026/blob/main/src/utils/time.ts"
click node_progressview "https://github.com/antormojumdar/gst2025-2026/blob/main/src/components/Progress.tsx"

classDef toneNeutral fill:#f8fafc,stroke:#334155,stroke-width:1.5px,color:#0f172a
classDef toneBlue fill:#dbeafe,stroke:#2563eb,stroke-width:1.5px,color:#172554
classDef toneAmber fill:#fef3c7,stroke:#d97706,stroke-width:1.5px,color:#78350f
classDef toneMint fill:#dcfce7,stroke:#16a34a,stroke-width:1.5px,color:#14532d
classDef toneRose fill:#ffe4e6,stroke:#e11d48,stroke-width:1.5px,color:#881337
classDef toneIndigo fill:#e0e7ff,stroke:#4f46e5,stroke-width:1.5px,color:#312e81
classDef toneTeal fill:#ccfbf1,stroke:#0f766e,stroke-width:1.5px,color:#134e4a
class node_app,node_navigation,node_home,node_timer,node_settings toneBlue
class node_routine,node_todo,node_analysis,node_progress,node_studydata,node_quotes,node_progressview toneAmber
class node_statehook,node_localstorage,node_time toneMint
class node_learner toneIndigo
```

## Components

### Study workflow

- [App shell](https://github.com/antormojumdar/gst2025-2026/blob/main/src/App.tsx): `src/App.tsx`
- [Tab navigation](https://github.com/antormojumdar/gst2025-2026/blob/main/src/components/BottomNav.tsx): `src/components/BottomNav.tsx`
- [Study dashboard](https://github.com/antormojumdar/gst2025-2026/blob/main/src/components/Home.tsx): `src/components/Home.tsx`
- [Pomodoro timer](https://github.com/antormojumdar/gst2025-2026/blob/main/src/components/Timer.tsx): `src/components/Timer.tsx`
- [Preferences](https://github.com/antormojumdar/gst2025-2026/blob/main/src/components/Settings.tsx): `src/components/Settings.tsx`

### Planning and review

- [Study routine](https://github.com/antormojumdar/gst2025-2026/blob/main/src/components/Routine.tsx): `src/components/Routine.tsx`
- [Tasks and chapters](https://github.com/antormojumdar/gst2025-2026/blob/main/src/components/Todo.tsx): `src/components/Todo.tsx`
- [Question analysis](https://github.com/antormojumdar/gst2025-2026/blob/main/src/components/Analysis.tsx): `src/components/Analysis.tsx`
- [Study progress](https://github.com/antormojumdar/gst2025-2026/blob/main/src/components/Progress.tsx): `src/components/Progress.tsx`
- [Routine and syllabus](https://github.com/antormojumdar/gst2025-2026/blob/main/src/data.ts): `src/data.ts`
- [Motivational quotes](https://github.com/antormojumdar/gst2025-2026/blob/main/src/data/quotes.ts): `src/data/quotes.ts`
- [Progress view](https://github.com/antormojumdar/gst2025-2026/blob/main/src/components/Progress.tsx): `src/components/Progress.tsx`

### State and time

- [App state](https://github.com/antormojumdar/gst2025-2026/blob/main/src/useAppState.ts): `src/useAppState.ts`
- **Browser storage**
- [Dhaka time utilities](https://github.com/antormojumdar/gst2025-2026/blob/main/src/utils/time.ts): `src/utils/time.ts`

### Other components

- **Learner**

## Connections

- Learner → App shell: opens
- App shell → App state: creates state (evidence: `src/App.tsx`)
- App shell → Tab navigation: renders (evidence: `src/App.tsx`)
- App shell → Study dashboard: routes to (evidence: `src/App.tsx`)
- App shell → Tasks and chapters: routes to (evidence: `src/App.tsx`)
- App shell → Question analysis: routes to (evidence: `src/App.tsx`)
- App shell → Study routine: routes to (evidence: `src/App.tsx`)
- App shell → Pomodoro timer: routes to (evidence: `src/App.tsx`)
- App shell → Study progress: routes to (evidence: `src/App.tsx`)
- App shell → Preferences: routes to (evidence: `src/App.tsx`)
- App state → Browser storage: reads and writes (evidence: `src/useAppState.ts`)
- App state → Dhaka time utilities: uses dates (evidence: `src/useAppState.ts`)
- Study dashboard → Routine and syllabus: reads routine (evidence: `src/components/Home.tsx`)
- Study dashboard → Motivational quotes: reads quotes (evidence: `src/components/Home.tsx`)
- Study dashboard → Dhaka time utilities: gets routine day (evidence: `src/components/Home.tsx`)
- Study routine → Routine and syllabus: reads routine (evidence: `src/components/Routine.tsx`)
- Study routine → Dhaka time utilities: gets routine day (evidence: `src/components/Routine.tsx`)
- Tasks and chapters → Routine and syllabus: reads syllabus (evidence: `src/components/Todo.tsx`)
- Tasks and chapters → Dhaka time utilities: gets date (evidence: `src/components/Todo.tsx`)
- Pomodoro timer → App state: updates sessions (evidence: `src/components/Timer.tsx`)
- Pomodoro timer → Dhaka time utilities: gets date (evidence: `src/components/Timer.tsx`)
- Question analysis → Routine and syllabus: reads syllabus (evidence: `src/components/Analysis.tsx`)
- Study progress → Dhaka time utilities: uses date utilities (evidence: `src/components/Progress.tsx`)
- App shell → App state: passes state (evidence: `src/App.tsx`)
- Progress view → App state: receives state
