# adoniscr/timepro architecture

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

- Interactive diagram: https://gitdiagram.com/adoniscr/timepro
- Repository: https://github.com/adoniscr/timepro

## Overview

Time Pro is a React time-management frontend with a public marketing site, login/signup screens, and a task-oriented dashboard. The main user path is to view the landing page, open login, and navigate to the dashboard; there, users can add tasks and switch among task, calendar, analytics, project, tracking, inbox, and settings views. The sampled dashboard keeps task state locally; no backend or persistent store is shown. Several dashboard components are represented as separate capabilities, though their internals were not sampled.

Main entry points: [`src/pages/Dashboard.tsx`](https://github.com/adoniscr/timepro/blob/master/src/pages/Dashboard.tsx) (Dashboard controller), [`src/pages/HomePage.tsx`](https://github.com/adoniscr/timepro/blob/master/src/pages/HomePage.tsx) (Landing page), [`src/App.tsx`](https://github.com/adoniscr/timepro/blob/master/src/App.tsx) (Route application), [`src/pages/LoginPage.tsx`](https://github.com/adoniscr/timepro/blob/master/src/pages/LoginPage.tsx) (Login form)

## Diagram (Mermaid)

```mermaid
flowchart TD

subgraph group_routing["App routing"]
  node_app["Route application<br/>[App.tsx]"]
end

subgraph group_marketing["Public site"]
  node_home["Landing page<br/>[HomePage.tsx]"]
  node_home_header["Site navigation<br/>[Header.tsx]"]
  node_hero["Hero section<br/>[HeroSection.tsx]"]
  node_about["About section<br/>[AboutSection.tsx]"]
  node_features["Feature overview"]
  node_testimonials["Testimonials"]
  node_pricing["Pricing plans<br/>[PricingSection.tsx]"]
  node_faq["FAQ<br/>[FAQSection.tsx]"]
  node_footer["Site footer<br/>[Footer.tsx]"]
end

subgraph group_access["Account screens"]
  node_login["Login form<br/>[LoginPage.tsx]"]
  node_signup["Signup form<br/>[SignupPage.tsx]"]
end

subgraph group_workspace["Time workspace"]
  node_dashboard["Dashboard controller<br/>[Dashboard.tsx]"]
  node_task_entry["Task creation<br/>[AddTaskModal.tsx]"]
  node_task_list["Task list<br/>[TaskList.tsx]"]
  node_calendar["Calendar<br/>[Calendar.tsx]"]
  node_analytics["Analytics<br/>[Analytics.tsx]"]
  node_projects["Projects<br/>[Projects.tsx]"]
  node_tracking["Time tracking<br/>[Tracking.tsx]"]
  node_history["Work history<br/>[WorkHistory.tsx]"]
  node_tools["Productivity tools<br/>[Tools.tsx]"]
  node_inbox["Inbox<br/>[Inbox.tsx]"]
  node_settings["Settings<br/>[Settings.tsx]"]
  node_shell["Workspace shell<br/>[Sidebar.tsx]"]
  node_dash_header["Dashboard header<br/>[Header.tsx]"]
  node_welcome["Welcome panel<br/>[WelcomeSection.tsx]"]
  node_stats["Stats cards<br/>[StatsCards.tsx]"]
end

node_visitor(("Visitor"))

node_visitor -->|"opens"| node_app
node_app -->|"routes to"| node_home
node_app -->|"routes to"| node_login
node_app -->|"routes to"| node_signup
node_app -->|"routes to"| node_dashboard
node_home -->|"renders"| node_home_header
node_home -->|"renders"| node_hero
node_home -->|"renders"| node_about
node_home -->|"renders"| node_features
node_home -->|"renders"| node_testimonials
node_home -->|"renders"| node_pricing
node_home -->|"renders"| node_faq
node_home -->|"renders"| node_footer
node_login -->|"navigates to"| node_dashboard
node_dashboard -->|"renders"| node_shell
node_dashboard -->|"renders"| node_dash_header
node_dashboard -->|"renders"| node_welcome
node_dashboard -->|"passes tasks"| node_stats
node_dashboard -->|"passes tasks"| node_calendar
node_dashboard -->|"passes tasks"| node_analytics
node_dashboard -->|"passes tasks"| node_task_list
node_dashboard -->|"opens"| node_task_entry
node_task_entry -->|"submits task"| node_dashboard
node_dashboard -->|"passes tasks"| node_projects
node_dashboard -->|"passes tasks"| node_tracking
node_dashboard -->|"passes tasks"| node_history
node_dashboard -->|"renders"| node_tools
node_dashboard -->|"renders"| node_inbox
node_dashboard -->|"renders"| node_settings

click node_app "https://github.com/adoniscr/timepro/blob/master/src/App.tsx"
click node_home "https://github.com/adoniscr/timepro/blob/master/src/pages/HomePage.tsx"
click node_home_header "https://github.com/adoniscr/timepro/blob/master/src/components/home/Header.tsx"
click node_hero "https://github.com/adoniscr/timepro/blob/master/src/components/home/HeroSection.tsx"
click node_about "https://github.com/adoniscr/timepro/blob/master/src/components/home/AboutSection.tsx"
click node_features "https://github.com/adoniscr/timepro/blob/master/src/components/home/FeaturesSection.tsx"
click node_testimonials "https://github.com/adoniscr/timepro/blob/master/src/components/home/TestimonialsSection.tsx"
click node_pricing "https://github.com/adoniscr/timepro/blob/master/src/components/home/PricingSection.tsx"
click node_faq "https://github.com/adoniscr/timepro/blob/master/src/components/home/FAQSection.tsx"
click node_footer "https://github.com/adoniscr/timepro/blob/master/src/components/home/Footer.tsx"
click node_login "https://github.com/adoniscr/timepro/blob/master/src/pages/LoginPage.tsx"
click node_signup "https://github.com/adoniscr/timepro/blob/master/src/pages/SignupPage.tsx"
click node_dashboard "https://github.com/adoniscr/timepro/blob/master/src/pages/Dashboard.tsx"
click node_task_entry "https://github.com/adoniscr/timepro/blob/master/src/components/dashboard/AddTaskModal.tsx"
click node_task_list "https://github.com/adoniscr/timepro/blob/master/src/components/dashboard/TaskList.tsx"
click node_calendar "https://github.com/adoniscr/timepro/blob/master/src/components/dashboard/Calendar.tsx"
click node_analytics "https://github.com/adoniscr/timepro/blob/master/src/components/dashboard/Analytics.tsx"
click node_projects "https://github.com/adoniscr/timepro/blob/master/src/components/dashboard/Projects.tsx"
click node_tracking "https://github.com/adoniscr/timepro/blob/master/src/components/dashboard/Tracking.tsx"
click node_history "https://github.com/adoniscr/timepro/blob/master/src/components/dashboard/WorkHistory.tsx"
click node_tools "https://github.com/adoniscr/timepro/blob/master/src/components/dashboard/Tools.tsx"
click node_inbox "https://github.com/adoniscr/timepro/blob/master/src/components/dashboard/Inbox.tsx"
click node_settings "https://github.com/adoniscr/timepro/blob/master/src/components/dashboard/Settings.tsx"
click node_shell "https://github.com/adoniscr/timepro/blob/master/src/components/dashboard/Sidebar.tsx"
click node_dash_header "https://github.com/adoniscr/timepro/blob/master/src/components/dashboard/Header.tsx"
click node_welcome "https://github.com/adoniscr/timepro/blob/master/src/components/dashboard/WelcomeSection.tsx"
click node_stats "https://github.com/adoniscr/timepro/blob/master/src/components/dashboard/StatsCards.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 toneBlue
class node_home,node_home_header,node_hero,node_about,node_features,node_testimonials,node_pricing,node_faq,node_footer toneAmber
class node_login,node_signup toneMint
class node_dashboard,node_task_entry,node_task_list,node_calendar,node_analytics,node_projects,node_tracking,node_history,node_tools,node_inbox,node_settings,node_shell,node_dash_header,node_welcome,node_stats toneRose
class node_visitor toneIndigo
```

## Components

### App routing

- [Route application](https://github.com/adoniscr/timepro/blob/master/src/App.tsx): `src/App.tsx`

### Public site

- [Landing page](https://github.com/adoniscr/timepro/blob/master/src/pages/HomePage.tsx): `src/pages/HomePage.tsx`
- [Site navigation](https://github.com/adoniscr/timepro/blob/master/src/components/home/Header.tsx): `src/components/home/Header.tsx`
- [Hero section](https://github.com/adoniscr/timepro/blob/master/src/components/home/HeroSection.tsx): `src/components/home/HeroSection.tsx`
- [About section](https://github.com/adoniscr/timepro/blob/master/src/components/home/AboutSection.tsx): `src/components/home/AboutSection.tsx`
- [Feature overview](https://github.com/adoniscr/timepro/blob/master/src/components/home/FeaturesSection.tsx): `src/components/home/FeaturesSection.tsx`
- [Testimonials](https://github.com/adoniscr/timepro/blob/master/src/components/home/TestimonialsSection.tsx): `src/components/home/TestimonialsSection.tsx`
- [Pricing plans](https://github.com/adoniscr/timepro/blob/master/src/components/home/PricingSection.tsx): `src/components/home/PricingSection.tsx`
- [FAQ](https://github.com/adoniscr/timepro/blob/master/src/components/home/FAQSection.tsx): `src/components/home/FAQSection.tsx`
- [Site footer](https://github.com/adoniscr/timepro/blob/master/src/components/home/Footer.tsx): `src/components/home/Footer.tsx`

### Account screens

- [Login form](https://github.com/adoniscr/timepro/blob/master/src/pages/LoginPage.tsx): `src/pages/LoginPage.tsx`
- [Signup form](https://github.com/adoniscr/timepro/blob/master/src/pages/SignupPage.tsx): `src/pages/SignupPage.tsx`

### Time workspace

- [Dashboard controller](https://github.com/adoniscr/timepro/blob/master/src/pages/Dashboard.tsx): `src/pages/Dashboard.tsx`
- [Task creation](https://github.com/adoniscr/timepro/blob/master/src/components/dashboard/AddTaskModal.tsx): `src/components/dashboard/AddTaskModal.tsx`
- [Task list](https://github.com/adoniscr/timepro/blob/master/src/components/dashboard/TaskList.tsx): `src/components/dashboard/TaskList.tsx`
- [Calendar](https://github.com/adoniscr/timepro/blob/master/src/components/dashboard/Calendar.tsx): `src/components/dashboard/Calendar.tsx`
- [Analytics](https://github.com/adoniscr/timepro/blob/master/src/components/dashboard/Analytics.tsx): `src/components/dashboard/Analytics.tsx`
- [Projects](https://github.com/adoniscr/timepro/blob/master/src/components/dashboard/Projects.tsx): `src/components/dashboard/Projects.tsx`
- [Time tracking](https://github.com/adoniscr/timepro/blob/master/src/components/dashboard/Tracking.tsx): `src/components/dashboard/Tracking.tsx`
- [Work history](https://github.com/adoniscr/timepro/blob/master/src/components/dashboard/WorkHistory.tsx): `src/components/dashboard/WorkHistory.tsx`
- [Productivity tools](https://github.com/adoniscr/timepro/blob/master/src/components/dashboard/Tools.tsx): `src/components/dashboard/Tools.tsx`
- [Inbox](https://github.com/adoniscr/timepro/blob/master/src/components/dashboard/Inbox.tsx): `src/components/dashboard/Inbox.tsx`
- [Settings](https://github.com/adoniscr/timepro/blob/master/src/components/dashboard/Settings.tsx): `src/components/dashboard/Settings.tsx`
- [Workspace shell](https://github.com/adoniscr/timepro/blob/master/src/components/dashboard/Sidebar.tsx): `src/components/dashboard/Sidebar.tsx`
- [Dashboard header](https://github.com/adoniscr/timepro/blob/master/src/components/dashboard/Header.tsx): `src/components/dashboard/Header.tsx`
- [Welcome panel](https://github.com/adoniscr/timepro/blob/master/src/components/dashboard/WelcomeSection.tsx): `src/components/dashboard/WelcomeSection.tsx`
- [Stats cards](https://github.com/adoniscr/timepro/blob/master/src/components/dashboard/StatsCards.tsx): `src/components/dashboard/StatsCards.tsx`

### Other components

- **Visitor**

## Connections

- Visitor → Route application: opens
- Route application → Landing page: routes to (evidence: `src/App.tsx`)
- Route application → Login form: routes to (evidence: `src/App.tsx`)
- Route application → Signup form: routes to (evidence: `src/App.tsx`)
- Route application → Dashboard controller: routes to (evidence: `src/App.tsx`)
- Landing page → Site navigation: renders (evidence: `src/pages/HomePage.tsx`)
- Landing page → Hero section: renders (evidence: `src/pages/HomePage.tsx`)
- Landing page → About section: renders (evidence: `src/pages/HomePage.tsx`)
- Landing page → Feature overview: renders (evidence: `src/pages/HomePage.tsx`)
- Landing page → Testimonials: renders (evidence: `src/pages/HomePage.tsx`)
- Landing page → Pricing plans: renders (evidence: `src/pages/HomePage.tsx`)
- Landing page → FAQ: renders (evidence: `src/pages/HomePage.tsx`)
- Landing page → Site footer: renders (evidence: `src/pages/HomePage.tsx`)
- Login form → Dashboard controller: navigates to (evidence: `src/pages/LoginPage.tsx`)
- Dashboard controller → Workspace shell: renders (evidence: `src/pages/Dashboard.tsx`)
- Dashboard controller → Dashboard header: renders (evidence: `src/pages/Dashboard.tsx`)
- Dashboard controller → Welcome panel: renders (evidence: `src/pages/Dashboard.tsx`)
- Dashboard controller → Stats cards: passes tasks (evidence: `src/pages/Dashboard.tsx`)
- Dashboard controller → Calendar: passes tasks (evidence: `src/pages/Dashboard.tsx`)
- Dashboard controller → Analytics: passes tasks (evidence: `src/pages/Dashboard.tsx`)
- Dashboard controller → Task list: passes tasks (evidence: `src/pages/Dashboard.tsx`)
- Dashboard controller → Task creation: opens (evidence: `src/pages/Dashboard.tsx`)
- Task creation → Dashboard controller: submits task (evidence: `src/pages/Dashboard.tsx`)
- Dashboard controller → Projects: passes tasks (evidence: `src/pages/Dashboard.tsx`)
- Dashboard controller → Time tracking: passes tasks (evidence: `src/pages/Dashboard.tsx`)
- Dashboard controller → Work history: passes tasks (evidence: `src/pages/Dashboard.tsx`)
- Dashboard controller → Productivity tools: renders (evidence: `src/pages/Dashboard.tsx`)
- Dashboard controller → Inbox: renders (evidence: `src/pages/Dashboard.tsx`)
- Dashboard controller → Settings: renders (evidence: `src/pages/Dashboard.tsx`)
