# santhoshuthayakumar/tcu architecture

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

- Interactive diagram: https://gitdiagram.com/santhoshuthayakumar/tcu
- Repository: https://github.com/santhoshuthayakumar/tcu

## Overview

Tom Cinematic Universe is a photography and cinematography portfolio site. Visitors move through the routed site to browse featured work, filter projects or gallery frames, open project details, and find contact channels. The implementation separates route-level pages, reusable content and portfolio views, and editable site/project data. The README identifies the data directory as the place to update site and project content. Several route components are documented in the source index but were not excerpted, so their internal interactions are not inferred here.

Main entry points: [`src/App.jsx`](https://github.com/santhoshuthayakumar/tcu/blob/main/src/App.jsx) (App shell and routes), [`src/pages/Gallery.jsx`](https://github.com/santhoshuthayakumar/tcu/blob/main/src/pages/Gallery.jsx) (Gallery page), [`src/pages/Home.jsx`](https://github.com/santhoshuthayakumar/tcu/blob/main/src/pages/Home.jsx) (Home page), [`src/pages/Work.jsx`](https://github.com/santhoshuthayakumar/tcu/blob/main/src/pages/Work.jsx) (Work page)

## Diagram (Mermaid)

```mermaid
flowchart TD

subgraph group_routing["Site routing"]
  node_app["App shell and routes<br/>[App.jsx]"]
  node_home["Home page<br/>[Home.jsx]"]
end

subgraph group_portfolio["Portfolio browsing"]
  node_work["Work page<br/>[Work.jsx]"]
  node_details["Project details<br/>[ProjectDetails.jsx]"]
  node_gallery["Gallery page<br/>[Gallery.jsx]"]
  node_project_panels["Project panel reader<br/>[PanelReader.jsx]"]
  node_gallery_lightbox["Gallery lightbox<br/>[Lightbox.jsx]"]
  node_category_filter["Category filter<br/>[CategoryFilter.jsx]"]
end

subgraph group_content["Studio content"]
  node_about["About page<br/>[About.jsx]"]
  node_services["Services page<br/>[Services.jsx]"]
  node_contact["Contact page<br/>[Contact.jsx]"]
  node_home_sections["Home sections"]
  node_about_sections["About sections<br/>[AboutSection.jsx]"]
  node_services_section["Services section"]
  node_contact_links["Contact link utilities<br/>[links.js]"]
  node_motion["Motion components<br/>[Reveal3D.jsx]"]
end

subgraph group_data["Site data"]
  node_project_data["Project catalog<br/>[projects.js]"]
  node_gallery_data["Gallery items<br/>[gallery.js]"]
  node_services_data["Services data<br/>[services.js]"]
  node_site_data["Studio site data<br/>[site.js]"]
end

node_visitor(("Visitor"))

node_visitor -->|"opens site"| node_app
node_app -->|"routes to"| node_home
node_app -->|"routes to"| node_work
node_app -->|"routes to"| node_details
node_app -->|"routes to"| node_gallery
node_app -->|"routes to"| node_about
node_app -->|"routes to"| node_services
node_app -->|"routes to"| node_contact
node_home -->|"renders sections"| node_home_sections
node_home -->|"reads site data"| node_site_data
node_work -->|"renders filter"| node_category_filter
node_work -->|"reads projects"| node_project_data
node_details -->|"renders panels"| node_project_panels
node_details -->|"reads projects"| node_project_data
node_gallery -->|"renders filter"| node_category_filter
node_gallery -->|"opens lightbox"| node_gallery_lightbox
node_gallery -->|"reads gallery"| node_gallery_data
node_gallery -->|"reads categories"| node_project_data
node_about -->|"renders sections"| node_about_sections
node_about -->|"reads site data"| node_site_data
node_services -->|"renders section"| node_services_section
node_services_section -->|"reads services"| node_services_data
node_home_sections -.->|"uses reveal"| node_motion
node_contact -.->|"uses contact links"| node_contact_links

click node_app "https://github.com/santhoshuthayakumar/tcu/blob/main/src/App.jsx"
click node_home "https://github.com/santhoshuthayakumar/tcu/blob/main/src/pages/Home.jsx"
click node_work "https://github.com/santhoshuthayakumar/tcu/blob/main/src/pages/Work.jsx"
click node_details "https://github.com/santhoshuthayakumar/tcu/blob/main/src/pages/ProjectDetails.jsx"
click node_gallery "https://github.com/santhoshuthayakumar/tcu/blob/main/src/pages/Gallery.jsx"
click node_about "https://github.com/santhoshuthayakumar/tcu/blob/main/src/pages/About.jsx"
click node_services "https://github.com/santhoshuthayakumar/tcu/blob/main/src/pages/Services.jsx"
click node_contact "https://github.com/santhoshuthayakumar/tcu/blob/main/src/pages/Contact.jsx"
click node_project_panels "https://github.com/santhoshuthayakumar/tcu/blob/main/src/components/work/PanelReader.jsx"
click node_gallery_lightbox "https://github.com/santhoshuthayakumar/tcu/blob/main/src/components/work/Lightbox.jsx"
click node_category_filter "https://github.com/santhoshuthayakumar/tcu/blob/main/src/components/work/CategoryFilter.jsx"
click node_home_sections "https://github.com/santhoshuthayakumar/tcu/tree/main/src/components/sections"
click node_about_sections "https://github.com/santhoshuthayakumar/tcu/blob/main/src/components/sections/AboutSection.jsx"
click node_services_section "https://github.com/santhoshuthayakumar/tcu/blob/main/src/components/sections/ServicesSection.jsx"
click node_project_data "https://github.com/santhoshuthayakumar/tcu/blob/main/src/data/projects.js"
click node_gallery_data "https://github.com/santhoshuthayakumar/tcu/blob/main/src/data/gallery.js"
click node_services_data "https://github.com/santhoshuthayakumar/tcu/blob/main/src/data/services.js"
click node_site_data "https://github.com/santhoshuthayakumar/tcu/blob/main/src/data/site.js"
click node_contact_links "https://github.com/santhoshuthayakumar/tcu/blob/main/src/utils/links.js"
click node_motion "https://github.com/santhoshuthayakumar/tcu/blob/main/src/components/motion/Reveal3D.jsx"

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_home toneBlue
class node_work,node_details,node_gallery,node_project_panels,node_gallery_lightbox,node_category_filter toneAmber
class node_about,node_services,node_contact,node_home_sections,node_about_sections,node_services_section,node_contact_links,node_motion toneMint
class node_project_data,node_gallery_data,node_services_data,node_site_data toneRose
class node_visitor toneIndigo
```

## Components

### Site routing

- [App shell and routes](https://github.com/santhoshuthayakumar/tcu/blob/main/src/App.jsx): `src/App.jsx`
- [Home page](https://github.com/santhoshuthayakumar/tcu/blob/main/src/pages/Home.jsx): `src/pages/Home.jsx`

### Portfolio browsing

- [Work page](https://github.com/santhoshuthayakumar/tcu/blob/main/src/pages/Work.jsx): `src/pages/Work.jsx`
- [Project details](https://github.com/santhoshuthayakumar/tcu/blob/main/src/pages/ProjectDetails.jsx): `src/pages/ProjectDetails.jsx`
- [Gallery page](https://github.com/santhoshuthayakumar/tcu/blob/main/src/pages/Gallery.jsx): `src/pages/Gallery.jsx`
- [Project panel reader](https://github.com/santhoshuthayakumar/tcu/blob/main/src/components/work/PanelReader.jsx): `src/components/work/PanelReader.jsx`
- [Gallery lightbox](https://github.com/santhoshuthayakumar/tcu/blob/main/src/components/work/Lightbox.jsx): `src/components/work/Lightbox.jsx`
- [Category filter](https://github.com/santhoshuthayakumar/tcu/blob/main/src/components/work/CategoryFilter.jsx): `src/components/work/CategoryFilter.jsx`

### Studio content

- [About page](https://github.com/santhoshuthayakumar/tcu/blob/main/src/pages/About.jsx): `src/pages/About.jsx`
- [Services page](https://github.com/santhoshuthayakumar/tcu/blob/main/src/pages/Services.jsx): `src/pages/Services.jsx`
- [Contact page](https://github.com/santhoshuthayakumar/tcu/blob/main/src/pages/Contact.jsx): `src/pages/Contact.jsx`
- [Home sections](https://github.com/santhoshuthayakumar/tcu/tree/main/src/components/sections): `src/components/sections`
- [About sections](https://github.com/santhoshuthayakumar/tcu/blob/main/src/components/sections/AboutSection.jsx): `src/components/sections/AboutSection.jsx`
- [Services section](https://github.com/santhoshuthayakumar/tcu/blob/main/src/components/sections/ServicesSection.jsx): `src/components/sections/ServicesSection.jsx`
- [Contact link utilities](https://github.com/santhoshuthayakumar/tcu/blob/main/src/utils/links.js): `src/utils/links.js`
- [Motion components](https://github.com/santhoshuthayakumar/tcu/blob/main/src/components/motion/Reveal3D.jsx): `src/components/motion/Reveal3D.jsx`

### Site data

- [Project catalog](https://github.com/santhoshuthayakumar/tcu/blob/main/src/data/projects.js): `src/data/projects.js`
- [Gallery items](https://github.com/santhoshuthayakumar/tcu/blob/main/src/data/gallery.js): `src/data/gallery.js`
- [Services data](https://github.com/santhoshuthayakumar/tcu/blob/main/src/data/services.js): `src/data/services.js`
- [Studio site data](https://github.com/santhoshuthayakumar/tcu/blob/main/src/data/site.js): `src/data/site.js`

### Other components

- **Visitor**

## Connections

- Visitor → App shell and routes: opens site (evidence: `src/App.jsx`)
- App shell and routes → Home page: routes to (evidence: `src/App.jsx`)
- App shell and routes → Work page: routes to (evidence: `src/App.jsx`)
- App shell and routes → Project details: routes to (evidence: `src/App.jsx`)
- App shell and routes → Gallery page: routes to (evidence: `src/App.jsx`)
- App shell and routes → About page: routes to (evidence: `src/App.jsx`)
- App shell and routes → Services page: routes to (evidence: `src/App.jsx`)
- App shell and routes → Contact page: routes to (evidence: `src/App.jsx`)
- Home page → Home sections: renders sections (evidence: `src/pages/Home.jsx`)
- Home page → Studio site data: reads site data (evidence: `src/pages/Home.jsx`)
- Work page → Category filter: renders filter (evidence: `src/pages/Work.jsx`)
- Work page → Project catalog: reads projects (evidence: `src/pages/Work.jsx`)
- Project details → Project panel reader: renders panels (evidence: `src/pages/ProjectDetails.jsx`)
- Project details → Project catalog: reads projects (evidence: `src/pages/ProjectDetails.jsx`)
- Gallery page → Category filter: renders filter (evidence: `src/pages/Gallery.jsx`)
- Gallery page → Gallery lightbox: opens lightbox (evidence: `src/pages/Gallery.jsx`)
- Gallery page → Gallery items: reads gallery (evidence: `src/pages/Gallery.jsx`)
- Gallery page → Project catalog: reads categories (evidence: `src/pages/Gallery.jsx`)
- About page → About sections: renders sections (evidence: `src/pages/About.jsx`)
- About page → Studio site data: reads site data (evidence: `src/pages/About.jsx`)
- Services page → Services section: renders section (evidence: `src/pages/Services.jsx`)
- Services section → Services data: reads services (evidence: `src/components/sections/ServicesSection.jsx`)
- Home sections → Motion components: uses reveal (evidence: `src/components/sections/ServicesSection.jsx`)
- Contact page → Contact link utilities: uses contact links
