# psabhishek298-sys/technoplus architecture

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

- Interactive diagram: https://gitdiagram.com/psabhishek298-sys/technoplus
- Repository: https://github.com/psabhishek298-sys/technoplus

## Overview

This is a public portfolio and content-managed website for an architecture practice. Visitors navigate the practice’s projects, services, client work and testimonials, and can submit an inquiry; administrators sign in to manage published content and section settings. The central runtime is the React app, which renders pages using shared site content supplied by Firebase subscriptions or local defaults. The source excerpts show the main routing, content, and admin interactions; some page and admin details are unsampled, so the graph omits unverified links.

Main entry points: [`src/firebase/SiteContentContext.jsx`](https://github.com/psabhishek298-sys/technoplus/blob/main/src/firebase/SiteContentContext.jsx) (Content context), [`src/app.jsx`](https://github.com/psabhishek298-sys/technoplus/blob/main/src/app.jsx) (App and routing), [`src/admin/AdminPage.jsx`](https://github.com/psabhishek298-sys/technoplus/blob/main/src/admin/AdminPage.jsx) (Admin console), [`src/firebase/content.js`](https://github.com/psabhishek298-sys/technoplus/blob/main/src/firebase/content.js) (Content operations)

## Diagram (Mermaid)

```mermaid
flowchart TD

subgraph group_site["Public website"]
  node_app["App and routing<br/>[app.jsx]"]
  node_pages["Site pages<br/>[pages.jsx]"]
  node_client_logos["Client logos"]
  node_cinematic_list["Expertise display<br/>[CinematicList.jsx]"]
  node_seo["SEO metadata<br/>[SEOHead.jsx]"]
  node_logo_loop["Logo animation<br/>[LogoLoop.tsx]"]
end

subgraph group_content["Site content"]
  node_site_context["Content context"]
  node_project_data["Project data model<br/>[projects.ts]"]
  node_project_catalog["Project catalog"]
  node_category_data["Categories<br/>[categories.ts]"]
  node_client_data["Client defaults<br/>[clients.js]"]
  node_testimonial_data["Testimonials<br/>[testimonials.ts]"]
  node_expertise_data["Expertise defaults<br/>[homeExpertise.js]"]
  node_about_hero["About hero defaults<br/>[aboutHero.js]"]
  node_tourism_data["Tourism content<br/>[aboutTourism.js]"]
end

subgraph group_services["Content services"]
  node_firebase_content["Content operations<br/>[content.js]"]
  node_firebase_client["Firebase client<br/>[client.js]"]
  node_firebase_config["Firebase configuration<br/>[config.js]"]
end

subgraph group_admin["Admin management"]
  node_admin_page["Admin console<br/>[AdminPage.jsx]"]
  node_image_field["Image field"]
end

node_visitor(("Visitor"))
node_administrator(("Administrator"))
node_firestore[("Firestore")]
node_firebase_auth["Firebase Authentication"]
node_cloudinary["Cloudinary images"]

node_visitor -->|"opens site"| node_app
node_app -->|"routes to"| node_pages
node_app -->|"routes to"| node_admin_page
node_app -->|"provides content"| node_site_context
node_app -->|"renders"| node_client_logos
node_app -->|"renders"| node_cinematic_list
node_app -->|"renders"| node_seo
node_pages -->|"reads content"| node_site_context
node_pages -->|"submits inquiry"| node_firebase_content
node_client_logos -->|"reads clients"| node_site_context
node_client_logos -->|"renders logos"| node_logo_loop
node_site_context -->|"subscribes to"| node_firebase_content
node_site_context -->|"loads defaults"| node_project_data
node_site_context -->|"loads defaults"| node_category_data
node_site_context -->|"loads defaults"| node_client_data
node_site_context -->|"loads defaults"| node_testimonial_data
node_site_context -->|"loads defaults"| node_expertise_data
node_site_context -->|"loads defaults"| node_about_hero
node_site_context -->|"loads defaults"| node_tourism_data
node_project_data -->|"exports catalog"| node_project_catalog
node_firebase_content -->|"uses client"| node_firebase_client
node_firebase_client -->|"reads settings"| node_firebase_config
node_firebase_client -->|"initializes"| node_firestore
node_admin_page -->|"uses services"| node_firebase_client
node_admin_page -->|"manages content"| node_firebase_content
node_administrator -->|"manages site"| node_admin_page
node_admin_page -->|"signs in"| node_firebase_auth
node_admin_page -->|"checks role"| node_firestore
node_firebase_content -->|"reads and writes"| node_firestore
node_admin_page -->|"uses field"| node_image_field
node_image_field -.->|"uploads images"| node_cloudinary
node_seo -->|"reads content"| node_site_context

click node_app "https://github.com/psabhishek298-sys/technoplus/blob/main/src/app.jsx"
click node_pages "https://github.com/psabhishek298-sys/technoplus/blob/main/src/pages.jsx"
click node_client_logos "https://github.com/psabhishek298-sys/technoplus/blob/main/src/components/ClientLogoSection.jsx"
click node_cinematic_list "https://github.com/psabhishek298-sys/technoplus/blob/main/src/components/CinematicList.jsx"
click node_seo "https://github.com/psabhishek298-sys/technoplus/blob/main/src/components/SEOHead.jsx"
click node_site_context "https://github.com/psabhishek298-sys/technoplus/blob/main/src/firebase/SiteContentContext.jsx"
click node_project_data "https://github.com/psabhishek298-sys/technoplus/blob/main/src/data/projects.ts"
click node_project_catalog "https://github.com/psabhishek298-sys/technoplus/blob/main/src/data/technoplusProjects.ts"
click node_category_data "https://github.com/psabhishek298-sys/technoplus/blob/main/src/data/categories.ts"
click node_client_data "https://github.com/psabhishek298-sys/technoplus/blob/main/src/data/clients.js"
click node_testimonial_data "https://github.com/psabhishek298-sys/technoplus/blob/main/src/data/testimonials.ts"
click node_expertise_data "https://github.com/psabhishek298-sys/technoplus/blob/main/src/data/homeExpertise.js"
click node_about_hero "https://github.com/psabhishek298-sys/technoplus/blob/main/src/data/aboutHero.js"
click node_tourism_data "https://github.com/psabhishek298-sys/technoplus/blob/main/src/data/aboutTourism.js"
click node_firebase_content "https://github.com/psabhishek298-sys/technoplus/blob/main/src/firebase/content.js"
click node_firebase_client "https://github.com/psabhishek298-sys/technoplus/blob/main/src/firebase/client.js"
click node_firebase_config "https://github.com/psabhishek298-sys/technoplus/blob/main/src/firebase/config.js"
click node_admin_page "https://github.com/psabhishek298-sys/technoplus/blob/main/src/admin/AdminPage.jsx"
click node_image_field "https://github.com/psabhishek298-sys/technoplus/blob/main/src/admin/CloudinaryImageField.jsx"
click node_logo_loop "https://github.com/psabhishek298-sys/technoplus/blob/main/src/components/LogoLoop.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_pages,node_client_logos,node_cinematic_list,node_seo,node_logo_loop toneBlue
class node_site_context,node_project_data,node_project_catalog,node_category_data,node_client_data,node_testimonial_data,node_expertise_data,node_about_hero,node_tourism_data,node_firestore toneAmber
class node_firebase_content,node_firebase_client,node_firebase_config toneMint
class node_admin_page,node_image_field toneRose
class node_visitor,node_administrator,node_firebase_auth,node_cloudinary toneIndigo
```

## Components

### Public website

- [App and routing](https://github.com/psabhishek298-sys/technoplus/blob/main/src/app.jsx): `src/app.jsx`
- [Site pages](https://github.com/psabhishek298-sys/technoplus/blob/main/src/pages.jsx): `src/pages.jsx`
- [Client logos](https://github.com/psabhishek298-sys/technoplus/blob/main/src/components/ClientLogoSection.jsx): `src/components/ClientLogoSection.jsx`
- [Expertise display](https://github.com/psabhishek298-sys/technoplus/blob/main/src/components/CinematicList.jsx): `src/components/CinematicList.jsx`
- [SEO metadata](https://github.com/psabhishek298-sys/technoplus/blob/main/src/components/SEOHead.jsx): `src/components/SEOHead.jsx`
- [Logo animation](https://github.com/psabhishek298-sys/technoplus/blob/main/src/components/LogoLoop.tsx): `src/components/LogoLoop.tsx`

### Site content

- [Content context](https://github.com/psabhishek298-sys/technoplus/blob/main/src/firebase/SiteContentContext.jsx): `src/firebase/SiteContentContext.jsx`
- [Project data model](https://github.com/psabhishek298-sys/technoplus/blob/main/src/data/projects.ts): `src/data/projects.ts`
- [Project catalog](https://github.com/psabhishek298-sys/technoplus/blob/main/src/data/technoplusProjects.ts): `src/data/technoplusProjects.ts`
- [Categories](https://github.com/psabhishek298-sys/technoplus/blob/main/src/data/categories.ts): `src/data/categories.ts`
- [Client defaults](https://github.com/psabhishek298-sys/technoplus/blob/main/src/data/clients.js): `src/data/clients.js`
- [Testimonials](https://github.com/psabhishek298-sys/technoplus/blob/main/src/data/testimonials.ts): `src/data/testimonials.ts`
- [Expertise defaults](https://github.com/psabhishek298-sys/technoplus/blob/main/src/data/homeExpertise.js): `src/data/homeExpertise.js`
- [About hero defaults](https://github.com/psabhishek298-sys/technoplus/blob/main/src/data/aboutHero.js): `src/data/aboutHero.js`
- [Tourism content](https://github.com/psabhishek298-sys/technoplus/blob/main/src/data/aboutTourism.js): `src/data/aboutTourism.js`

### Content services

- [Content operations](https://github.com/psabhishek298-sys/technoplus/blob/main/src/firebase/content.js): `src/firebase/content.js`
- [Firebase client](https://github.com/psabhishek298-sys/technoplus/blob/main/src/firebase/client.js): `src/firebase/client.js`
- [Firebase configuration](https://github.com/psabhishek298-sys/technoplus/blob/main/src/firebase/config.js): `src/firebase/config.js`

### Admin management

- [Admin console](https://github.com/psabhishek298-sys/technoplus/blob/main/src/admin/AdminPage.jsx): `src/admin/AdminPage.jsx`
- [Image field](https://github.com/psabhishek298-sys/technoplus/blob/main/src/admin/CloudinaryImageField.jsx): `src/admin/CloudinaryImageField.jsx`

### Other components

- **Visitor**
- **Administrator**
- **Firestore**
- **Firebase Authentication**
- **Cloudinary images**

## Connections

- Visitor → App and routing: opens site (evidence: `src/app.jsx`)
- App and routing → Site pages: routes to (evidence: `src/app.jsx`)
- App and routing → Admin console: routes to (evidence: `src/app.jsx`)
- App and routing → Content context: provides content (evidence: `src/app.jsx`)
- App and routing → Client logos: renders (evidence: `src/app.jsx`)
- App and routing → Expertise display: renders (evidence: `src/app.jsx`)
- App and routing → SEO metadata: renders (evidence: `src/app.jsx`)
- Site pages → Content context: reads content (evidence: `src/pages.jsx`)
- Site pages → Content operations: submits inquiry (evidence: `src/pages.jsx`)
- Client logos → Content context: reads clients (evidence: `src/components/ClientLogoSection.jsx`)
- Client logos → Logo animation: renders logos (evidence: `src/components/ClientLogoSection.jsx`)
- Content context → Content operations: subscribes to (evidence: `src/firebase/SiteContentContext.jsx`)
- Content context → Project data model: loads defaults (evidence: `src/firebase/SiteContentContext.jsx`)
- Content context → Categories: loads defaults (evidence: `src/firebase/SiteContentContext.jsx`)
- Content context → Client defaults: loads defaults (evidence: `src/firebase/SiteContentContext.jsx`)
- Content context → Testimonials: loads defaults (evidence: `src/firebase/SiteContentContext.jsx`)
- Content context → Expertise defaults: loads defaults (evidence: `src/firebase/SiteContentContext.jsx`)
- Content context → About hero defaults: loads defaults (evidence: `src/firebase/SiteContentContext.jsx`)
- Content context → Tourism content: loads defaults (evidence: `src/firebase/SiteContentContext.jsx`)
- Project data model → Project catalog: exports catalog (evidence: `src/data/projects.ts`)
- Content operations → Firebase client: uses client (evidence: `src/firebase/content.js`)
- Firebase client → Firebase configuration: reads settings (evidence: `src/firebase/client.js`)
- Firebase client → Firestore: initializes (evidence: `src/firebase/client.js`)
- Admin console → Firebase client: uses services (evidence: `src/admin/AdminPage.jsx`)
- Admin console → Content operations: manages content (evidence: `src/admin/AdminPage.jsx`)
- Administrator → Admin console: manages site (evidence: `src/admin/AdminPage.jsx`)
- Admin console → Firebase Authentication: signs in (evidence: `src/admin/AdminPage.jsx`)
- Admin console → Firestore: checks role (evidence: `src/admin/AdminPage.jsx`)
- Content operations → Firestore: reads and writes (evidence: `src/firebase/content.js`)
- Admin console → Image field: uses field (evidence: `src/admin/AdminPage.jsx`)
- Image field → Cloudinary images: uploads images
- SEO metadata → Content context: reads content (evidence: `src/components/SEOHead.jsx`)
