# kaif-rizvi/originn architecture

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

- Interactive diagram: https://gitdiagram.com/kaif-rizvi/originn
- Repository: https://github.com/kaif-rizvi/originn

## Overview

OriginN is a React agency portfolio and lead-generation website. Prospective clients browse the landing page, explore service offerings and package details, then send an inquiry; clients can also submit a project brief through the portal, while visitors can use the FAQ/support and terms pages. The graph reflects documented routing and component composition. FormSubmit is documented for contact and portal submissions; unsampled form details and support-page integrations are not inferred.

Main entry points: [`src/pages/Home.tsx`](https://github.com/kaif-rizvi/originn/blob/main/src/pages/Home.tsx) (Home page), [`src/App.tsx`](https://github.com/kaif-rizvi/originn/blob/main/src/App.tsx) (App router and shell), [`src/pages/ServiceDetail.tsx`](https://github.com/kaif-rizvi/originn/blob/main/src/pages/ServiceDetail.tsx) (Service details), [`src/components/Contact/Contact.tsx`](https://github.com/kaif-rizvi/originn/blob/main/src/components/Contact/Contact.tsx) (Contact form)

## Diagram (Mermaid)

```mermaid
flowchart TD

subgraph group_site["Agency website"]
  node_app["App router and shell<br/>[App.tsx]"]
  node_header["Site navigation<br/>[Header.tsx]"]
  node_home["Home page<br/>[Home.tsx]"]
  node_hero["Hero introduction<br/>[Hero.tsx]"]
  node_philosophy["Philosophy<br/>[Philosophy.tsx]"]
  node_about["Agency overview<br/>[About.tsx]"]
  node_work["Featured work<br/>[Work.tsx]"]
  node_process["Project process<br/>[Process.tsx]"]
end

subgraph group_sales["Services and inquiries"]
  node_services["Services catalog<br/>[Services.tsx]"]
  node_pricing["Home pricing<br/>[Pricing.tsx]"]
  node_detail["Service details<br/>[ServiceDetail.tsx]"]
  node_contact["Contact form<br/>[Contact.tsx]"]
  node_formsubmit["FormSubmit"]
end

subgraph group_client["Client support"]
  node_portal["Client project portal<br/>[ClientPortal.tsx]"]
  node_help["Help and support<br/>[HelpSupport.tsx]"]
end

subgraph group_policy["Legal information"]
  node_terms["Terms and conditions<br/>[Terms.tsx]"]
end

node_visitor(("Site visitor"))

node_visitor -->|"opens"| node_app
node_app -->|"renders"| node_header
node_app -->|"routes to"| node_home
node_app -->|"routes to"| node_detail
node_app -->|"routes to"| node_portal
node_app -->|"routes to"| node_help
node_app -->|"routes to"| node_terms
node_home -->|"renders"| node_hero
node_home -->|"renders"| node_philosophy
node_home -->|"renders"| node_about
node_home -->|"renders"| node_services
node_home -->|"renders"| node_work
node_home -->|"renders"| node_process
node_home -->|"renders"| node_pricing
node_home -->|"renders"| node_contact
node_services -->|"links to"| node_detail
node_detail -->|"renders"| node_contact
node_contact -->|"submits inquiry"| node_formsubmit
node_portal -->|"submits brief"| node_formsubmit

click node_app "https://github.com/kaif-rizvi/originn/blob/main/src/App.tsx"
click node_header "https://github.com/kaif-rizvi/originn/blob/main/src/components/Header/Header.tsx"
click node_home "https://github.com/kaif-rizvi/originn/blob/main/src/pages/Home.tsx"
click node_hero "https://github.com/kaif-rizvi/originn/blob/main/src/components/Hero/Hero.tsx"
click node_philosophy "https://github.com/kaif-rizvi/originn/blob/main/src/components/Philosophy/Philosophy.tsx"
click node_about "https://github.com/kaif-rizvi/originn/blob/main/src/components/About/About.tsx"
click node_work "https://github.com/kaif-rizvi/originn/blob/main/src/components/Work/Work.tsx"
click node_process "https://github.com/kaif-rizvi/originn/blob/main/src/components/Process/Process.tsx"
click node_services "https://github.com/kaif-rizvi/originn/blob/main/src/components/Services/Services.tsx"
click node_pricing "https://github.com/kaif-rizvi/originn/blob/main/src/components/Pricing/Pricing.tsx"
click node_detail "https://github.com/kaif-rizvi/originn/blob/main/src/pages/ServiceDetail.tsx"
click node_contact "https://github.com/kaif-rizvi/originn/blob/main/src/components/Contact/Contact.tsx"
click node_portal "https://github.com/kaif-rizvi/originn/blob/main/src/pages/ClientPortal.tsx"
click node_help "https://github.com/kaif-rizvi/originn/blob/main/src/pages/HelpSupport.tsx"
click node_terms "https://github.com/kaif-rizvi/originn/blob/main/src/pages/Terms.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_header,node_home,node_hero,node_philosophy,node_about,node_work,node_process toneBlue
class node_services,node_pricing,node_detail,node_contact,node_formsubmit toneAmber
class node_portal,node_help toneMint
class node_terms toneRose
class node_visitor toneIndigo
```

## Components

### Agency website

- [App router and shell](https://github.com/kaif-rizvi/originn/blob/main/src/App.tsx): `src/App.tsx`
- [Site navigation](https://github.com/kaif-rizvi/originn/blob/main/src/components/Header/Header.tsx): `src/components/Header/Header.tsx`
- [Home page](https://github.com/kaif-rizvi/originn/blob/main/src/pages/Home.tsx): `src/pages/Home.tsx`
- [Hero introduction](https://github.com/kaif-rizvi/originn/blob/main/src/components/Hero/Hero.tsx): `src/components/Hero/Hero.tsx`
- [Philosophy](https://github.com/kaif-rizvi/originn/blob/main/src/components/Philosophy/Philosophy.tsx): `src/components/Philosophy/Philosophy.tsx`
- [Agency overview](https://github.com/kaif-rizvi/originn/blob/main/src/components/About/About.tsx): `src/components/About/About.tsx`
- [Featured work](https://github.com/kaif-rizvi/originn/blob/main/src/components/Work/Work.tsx): `src/components/Work/Work.tsx`
- [Project process](https://github.com/kaif-rizvi/originn/blob/main/src/components/Process/Process.tsx): `src/components/Process/Process.tsx`

### Services and inquiries

- [Services catalog](https://github.com/kaif-rizvi/originn/blob/main/src/components/Services/Services.tsx): `src/components/Services/Services.tsx`
- [Home pricing](https://github.com/kaif-rizvi/originn/blob/main/src/components/Pricing/Pricing.tsx): `src/components/Pricing/Pricing.tsx`
- [Service details](https://github.com/kaif-rizvi/originn/blob/main/src/pages/ServiceDetail.tsx): `src/pages/ServiceDetail.tsx`
- [Contact form](https://github.com/kaif-rizvi/originn/blob/main/src/components/Contact/Contact.tsx): `src/components/Contact/Contact.tsx`
- **FormSubmit**

### Client support

- [Client project portal](https://github.com/kaif-rizvi/originn/blob/main/src/pages/ClientPortal.tsx): `src/pages/ClientPortal.tsx`
- [Help and support](https://github.com/kaif-rizvi/originn/blob/main/src/pages/HelpSupport.tsx): `src/pages/HelpSupport.tsx`

### Legal information

- [Terms and conditions](https://github.com/kaif-rizvi/originn/blob/main/src/pages/Terms.tsx): `src/pages/Terms.tsx`

### Other components

- **Site visitor**

## Connections

- Site visitor → App router and shell: opens
- App router and shell → Site navigation: renders (evidence: `src/App.tsx`)
- App router and shell → Home page: routes to (evidence: `src/App.tsx`)
- App router and shell → Service details: routes to (evidence: `src/App.tsx`)
- App router and shell → Client project portal: routes to (evidence: `src/App.tsx`)
- App router and shell → Help and support: routes to (evidence: `src/App.tsx`)
- App router and shell → Terms and conditions: routes to (evidence: `src/App.tsx`)
- Home page → Hero introduction: renders (evidence: `src/pages/Home.tsx`)
- Home page → Philosophy: renders (evidence: `src/pages/Home.tsx`)
- Home page → Agency overview: renders (evidence: `src/pages/Home.tsx`)
- Home page → Services catalog: renders (evidence: `src/pages/Home.tsx`)
- Home page → Featured work: renders (evidence: `src/pages/Home.tsx`)
- Home page → Project process: renders (evidence: `src/pages/Home.tsx`)
- Home page → Home pricing: renders (evidence: `src/pages/Home.tsx`)
- Home page → Contact form: renders (evidence: `src/pages/Home.tsx`)
- Services catalog → Service details: links to (evidence: `src/components/Services/Services.tsx`)
- Service details → Contact form: renders (evidence: `src/pages/ServiceDetail.tsx`)
- Contact form → FormSubmit: submits inquiry (evidence: `README.md`)
- Client project portal → FormSubmit: submits brief (evidence: `src/pages/ClientPortal.tsx`)
