# anuegq/mindraze architecture

> Architecture diagram of the GitHub repository anuegq/mindraze, 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/anuegq/mindraze
- Repository: https://github.com/anuegq/mindraze

## Overview

Mindraze Global LLP is a corporate website presenting steel trading, solar solutions, and IT services. Visitors browse the home and business/catalogue pages, then initiate an enquiry: a form validates and posts to the API, which applies security checks and delivers the enquiry to configured channels. The map also preserves the documented SEO, product-visual, and motion capabilities. Some page and integration wiring is documented in the README or source index; unsampled internals are not expanded beyond that evidence.

Main entry points: [`src/app/businesses/page.tsx`](https://github.com/anuegq/mindraze/blob/main/src/app/businesses/page.tsx) (Businesses Page), [`src/app/businesses/solar-solutions/page.tsx`](https://github.com/anuegq/mindraze/blob/main/src/app/businesses/solar-solutions/page.tsx) (Solar Solutions), [`src/components/sections/enquiry-section.tsx`](https://github.com/anuegq/mindraze/blob/main/src/components/sections/enquiry-section.tsx) (Enquiry Section), [`src/app/products-services/page.tsx`](https://github.com/anuegq/mindraze/blob/main/src/app/products-services/page.tsx) (Products Catalogue)

## Diagram (Mermaid)

```mermaid
flowchart TD

subgraph group_site["Site Experience"]
  node_home["Home Page<br/>[page.tsx]"]
  node_about["About Page<br/>[page.tsx]"]
  node_businesses["Businesses Page<br/>[page.tsx]"]
  node_catalogue["Products Catalogue<br/>[page.tsx]"]
  node_contact["Contact Page<br/>[page.tsx]"]
end

subgraph group_verticals["Business Verticals"]
  node_steel["Steel Trading<br/>[page.tsx]"]
  node_solar["Solar Solutions<br/>[page.tsx]"]
  node_it["IT Services<br/>[page.tsx]"]
end

subgraph group_enquiries["Enquiry Pipeline"]
  node_enquirysection["Enquiry Section"]
  node_form["Enquiry Form<br/>[enquiry-form.tsx]"]
  node_schema["Enquiry Schema<br/>[schema.ts]"]
  node_api["Enquiry API<br/>[route.ts]"]
  node_security["Form Security<br/>[security.ts]"]
  node_delivery["Enquiry Delivery<br/>[deliver.ts]"]
  node_channels["Email and Webhook"]
end

subgraph group_content["Content and SEO"]
  node_steeldata["Steel Catalogue Data<br/>[steel.ts]"]
  node_solardata["Solar Catalogue Data<br/>[solar.ts]"]
  node_itdata["IT Catalogue Data<br/>[it.ts]"]
  node_verticaldata["Vertical Profiles<br/>[verticals.ts]"]
  node_media["Photography Data<br/>[media.ts]"]
  node_seo["SEO Metadata<br/>[seo.ts]"]
end

subgraph group_runtime["Motion and Visuals"]
  node_motion["Motion Components"]
  node_productvisuals["Product Illustrations<br/>[product-scenes.ts]"]
  node_visualroute["SVG Visual Route<br/>[route.ts]"]
end

node_visitor(("Visitor"))

node_visitor -->|"browses"| node_home
node_visitor -->|"browses"| node_businesses
node_visitor -->|"browses"| node_catalogue
node_visitor -->|"browses"| node_contact
node_businesses -->|"links to"| node_steel
node_businesses -->|"links to"| node_solar
node_businesses -->|"links to"| node_it
node_home -->|"renders profiles"| node_verticaldata
node_businesses -->|"renders profiles"| node_verticaldata
node_steel -->|"renders catalogue"| node_steeldata
node_solar -->|"renders catalogue"| node_solardata
node_it -->|"renders services"| node_itdata
node_catalogue -->|"reads data"| node_steeldata
node_catalogue -->|"reads data"| node_solardata
node_catalogue -->|"reads data"| node_itdata
node_steel -->|"renders form section"| node_enquirysection
node_solar -->|"renders form section"| node_enquirysection
node_it -->|"renders form section"| node_enquirysection
node_contact -->|"renders form section"| node_enquirysection
node_enquirysection -->|"renders"| node_form
node_form -->|"validates with"| node_schema
node_form -->|"posts enquiry"| node_api
node_api -->|"validates with"| node_schema
node_api -->|"checks request"| node_security
node_api -->|"passes enquiry"| node_delivery
node_delivery -->|"delivers to"| node_channels
node_steel -->|"builds metadata"| node_seo
node_solar -->|"builds metadata"| node_seo
node_it -->|"builds metadata"| node_seo
node_solar -->|"uses photography"| node_media
node_productvisuals -->|"served as SVG"| node_visualroute
node_home -->|"uses animations"| node_motion

click node_home "https://github.com/anuegq/mindraze/blob/main/src/app/page.tsx"
click node_about "https://github.com/anuegq/mindraze/blob/main/src/app/about/page.tsx"
click node_businesses "https://github.com/anuegq/mindraze/blob/main/src/app/businesses/page.tsx"
click node_catalogue "https://github.com/anuegq/mindraze/blob/main/src/app/products-services/page.tsx"
click node_contact "https://github.com/anuegq/mindraze/blob/main/src/app/contact/page.tsx"
click node_steel "https://github.com/anuegq/mindraze/blob/main/src/app/businesses/steel-trading/page.tsx"
click node_solar "https://github.com/anuegq/mindraze/blob/main/src/app/businesses/solar-solutions/page.tsx"
click node_it "https://github.com/anuegq/mindraze/blob/main/src/app/businesses/it-services/page.tsx"
click node_steeldata "https://github.com/anuegq/mindraze/blob/main/src/content/steel.ts"
click node_solardata "https://github.com/anuegq/mindraze/blob/main/src/content/solar.ts"
click node_itdata "https://github.com/anuegq/mindraze/blob/main/src/content/it.ts"
click node_verticaldata "https://github.com/anuegq/mindraze/blob/main/src/content/verticals.ts"
click node_media "https://github.com/anuegq/mindraze/blob/main/src/content/media.ts"
click node_seo "https://github.com/anuegq/mindraze/blob/main/src/lib/seo.ts"
click node_enquirysection "https://github.com/anuegq/mindraze/blob/main/src/components/sections/enquiry-section.tsx"
click node_form "https://github.com/anuegq/mindraze/blob/main/src/components/forms/enquiry-form.tsx"
click node_schema "https://github.com/anuegq/mindraze/blob/main/src/lib/enquiry/schema.ts"
click node_api "https://github.com/anuegq/mindraze/blob/main/src/app/api/enquiry/route.ts"
click node_security "https://github.com/anuegq/mindraze/blob/main/src/lib/enquiry/security.ts"
click node_delivery "https://github.com/anuegq/mindraze/blob/main/src/lib/enquiry/deliver.ts"
click node_motion "https://github.com/anuegq/mindraze/tree/main/src/components/motion"
click node_productvisuals "https://github.com/anuegq/mindraze/blob/main/src/components/products/product-scenes.ts"
click node_visualroute "https://github.com/anuegq/mindraze/blob/main/src/app/visuals/%5Bfile%5D/route.ts"

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_home,node_about,node_businesses,node_catalogue,node_contact toneBlue
class node_steel,node_solar,node_it toneAmber
class node_enquirysection,node_form,node_schema,node_api,node_security,node_delivery,node_channels toneMint
class node_steeldata,node_solardata,node_itdata,node_verticaldata,node_media,node_seo toneRose
class node_motion,node_productvisuals,node_visualroute,node_visitor toneIndigo
```

## Components

### Site Experience

- [Home Page](https://github.com/anuegq/mindraze/blob/main/src/app/page.tsx): `src/app/page.tsx`
- [About Page](https://github.com/anuegq/mindraze/blob/main/src/app/about/page.tsx): `src/app/about/page.tsx`
- [Businesses Page](https://github.com/anuegq/mindraze/blob/main/src/app/businesses/page.tsx): `src/app/businesses/page.tsx`
- [Products Catalogue](https://github.com/anuegq/mindraze/blob/main/src/app/products-services/page.tsx): `src/app/products-services/page.tsx`
- [Contact Page](https://github.com/anuegq/mindraze/blob/main/src/app/contact/page.tsx): `src/app/contact/page.tsx`

### Business Verticals

- [Steel Trading](https://github.com/anuegq/mindraze/blob/main/src/app/businesses/steel-trading/page.tsx): `src/app/businesses/steel-trading/page.tsx`
- [Solar Solutions](https://github.com/anuegq/mindraze/blob/main/src/app/businesses/solar-solutions/page.tsx): `src/app/businesses/solar-solutions/page.tsx`
- [IT Services](https://github.com/anuegq/mindraze/blob/main/src/app/businesses/it-services/page.tsx): `src/app/businesses/it-services/page.tsx`

### Enquiry Pipeline

- [Enquiry Section](https://github.com/anuegq/mindraze/blob/main/src/components/sections/enquiry-section.tsx): `src/components/sections/enquiry-section.tsx`
- [Enquiry Form](https://github.com/anuegq/mindraze/blob/main/src/components/forms/enquiry-form.tsx): `src/components/forms/enquiry-form.tsx`
- [Enquiry Schema](https://github.com/anuegq/mindraze/blob/main/src/lib/enquiry/schema.ts): `src/lib/enquiry/schema.ts`
- [Enquiry API](https://github.com/anuegq/mindraze/blob/main/src/app/api/enquiry/route.ts): `src/app/api/enquiry/route.ts`
- [Form Security](https://github.com/anuegq/mindraze/blob/main/src/lib/enquiry/security.ts): `src/lib/enquiry/security.ts`
- [Enquiry Delivery](https://github.com/anuegq/mindraze/blob/main/src/lib/enquiry/deliver.ts): `src/lib/enquiry/deliver.ts`
- **Email and Webhook**

### Content and SEO

- [Steel Catalogue Data](https://github.com/anuegq/mindraze/blob/main/src/content/steel.ts): `src/content/steel.ts`
- [Solar Catalogue Data](https://github.com/anuegq/mindraze/blob/main/src/content/solar.ts): `src/content/solar.ts`
- [IT Catalogue Data](https://github.com/anuegq/mindraze/blob/main/src/content/it.ts): `src/content/it.ts`
- [Vertical Profiles](https://github.com/anuegq/mindraze/blob/main/src/content/verticals.ts): `src/content/verticals.ts`
- [Photography Data](https://github.com/anuegq/mindraze/blob/main/src/content/media.ts): `src/content/media.ts`
- [SEO Metadata](https://github.com/anuegq/mindraze/blob/main/src/lib/seo.ts): `src/lib/seo.ts`

### Motion and Visuals

- [Motion Components](https://github.com/anuegq/mindraze/tree/main/src/components/motion): `src/components/motion`
- [Product Illustrations](https://github.com/anuegq/mindraze/blob/main/src/components/products/product-scenes.ts): `src/components/products/product-scenes.ts`
- [SVG Visual Route](https://github.com/anuegq/mindraze/blob/main/src/app/visuals/%5Bfile%5D/route.ts): `src/app/visuals/[file]/route.ts`

### Other components

- **Visitor**

## Connections

- Visitor → Home Page: browses (evidence: `README.md`)
- Visitor → Businesses Page: browses (evidence: `README.md`)
- Visitor → Products Catalogue: browses (evidence: `README.md`)
- Visitor → Contact Page: browses (evidence: `README.md`)
- Businesses Page → Steel Trading: links to (evidence: `src/app/businesses/page.tsx`)
- Businesses Page → Solar Solutions: links to (evidence: `src/app/businesses/page.tsx`)
- Businesses Page → IT Services: links to (evidence: `src/app/businesses/page.tsx`)
- Home Page → Vertical Profiles: renders profiles (evidence: `src/app/page.tsx`)
- Businesses Page → Vertical Profiles: renders profiles (evidence: `src/app/businesses/page.tsx`)
- Steel Trading → Steel Catalogue Data: renders catalogue (evidence: `src/app/businesses/steel-trading/page.tsx`)
- Solar Solutions → Solar Catalogue Data: renders catalogue (evidence: `src/app/businesses/solar-solutions/page.tsx`)
- IT Services → IT Catalogue Data: renders services (evidence: `src/app/businesses/it-services/page.tsx`)
- Products Catalogue → Steel Catalogue Data: reads data (evidence: `src/app/products-services/page.tsx`)
- Products Catalogue → Solar Catalogue Data: reads data (evidence: `src/app/products-services/page.tsx`)
- Products Catalogue → IT Catalogue Data: reads data (evidence: `src/app/products-services/page.tsx`)
- Steel Trading → Enquiry Section: renders form section (evidence: `src/app/businesses/steel-trading/page.tsx`)
- Solar Solutions → Enquiry Section: renders form section (evidence: `src/app/businesses/solar-solutions/page.tsx`)
- IT Services → Enquiry Section: renders form section (evidence: `src/app/businesses/it-services/page.tsx`)
- Contact Page → Enquiry Section: renders form section (evidence: `src/app/contact/page.tsx`)
- Enquiry Section → Enquiry Form: renders (evidence: `src/components/sections/enquiry-section.tsx`)
- Enquiry Form → Enquiry Schema: validates with (evidence: `src/components/forms/enquiry-form.tsx`)
- Enquiry Form → Enquiry API: posts enquiry (evidence: `README.md`)
- Enquiry API → Enquiry Schema: validates with (evidence: `src/app/api/enquiry/route.ts`)
- Enquiry API → Form Security: checks request (evidence: `src/app/api/enquiry/route.ts`)
- Enquiry API → Enquiry Delivery: passes enquiry (evidence: `src/app/api/enquiry/route.ts`)
- Enquiry Delivery → Email and Webhook: delivers to (evidence: `README.md`)
- Steel Trading → SEO Metadata: builds metadata (evidence: `src/app/businesses/steel-trading/page.tsx`)
- Solar Solutions → SEO Metadata: builds metadata (evidence: `src/app/businesses/solar-solutions/page.tsx`)
- IT Services → SEO Metadata: builds metadata (evidence: `src/app/businesses/it-services/page.tsx`)
- Solar Solutions → Photography Data: uses photography (evidence: `src/app/businesses/solar-solutions/page.tsx`)
- Product Illustrations → SVG Visual Route: served as SVG (evidence: `README.md`)
- Home Page → Motion Components: uses animations (evidence: `src/app/page.tsx`)
