# ajithshah/aashaimpexandexports architecture

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

- Interactive diagram: https://gitdiagram.com/ajithshah/aashaimpexandexports
- Repository: https://github.com/ajithshah/aashaimpexandexports

## Overview

This is a Next.js marketing site for A A Sha Impex and Exports, presenting its electrical-insulation products and company to prospective customers. The visitor workflow runs from the home page to product, industry, company-story, or contact information; the contact form submits through EmailJS. Shared navigation and footer frame the pages, while page-specific metadata and scroll animation support presentation. The excerpts and source index support the main routes and shared-shell wiring; several listed components were not shown in use, so they are included only where their roles are clear, without inferred connections.

Main entry points: [`Component/Meta/index.js`](https://github.com/ajithshah/aashaimpexandexports/blob/master/Component/Meta/index.js) (Page metadata), [`pages/_app.js`](https://github.com/ajithshah/aashaimpexandexports/blob/master/pages/_app.js) (Application shell), [`pages/index.js`](https://github.com/ajithshah/aashaimpexandexports/blob/master/pages/index.js) (Home page), [`pages/about.js`](https://github.com/ajithshah/aashaimpexandexports/blob/master/pages/about.js) (About route)

## Diagram (Mermaid)

```mermaid
flowchart TD

subgraph group_routes["Pages and discovery"]
  node_home["Home page<br/>[index.js]"]
  node_about_route["About route<br/>[about.js]"]
  node_products_route["Products route<br/>[products.js]"]
  node_industries_route["Industries route<br/>[industries.js]"]
  node_article_route["Article route<br/>[article.js]"]
  node_contact_route["Contact route<br/>[contact.js]"]
end

subgraph group_content["Company and catalog"]
  node_hero["Hero and landing<br/>[index.js]"]
  node_about["Company profile<br/>[index.js]"]
  node_products["Product catalog<br/>[index.js]"]
  node_industries["Industry applications<br/>[index.js]"]
  node_article["Company article<br/>[index.js]"]
end

subgraph group_shared["Shared presentation"]
  node_meta["Page metadata<br/>[index.js]"]
  node_app_shell["Application shell<br/>[_app.js]"]
  node_header["Site navigation<br/>[index.js]"]
  node_footer["Site footer<br/>[index.js]"]
  node_animation["Scroll animation<br/>[index.js]"]
  node_inview["Visibility hook<br/>[useInView.js]"]
  node_whatsapp["WhatsApp shortcut<br/>[index.js]"]
  node_maintenance["Maintenance view<br/>[index.js]"]
end

subgraph group_contact["Contact and legal"]
  node_contact["Contact form<br/>[index.js]"]
  node_emailjs["EmailJS service"]
  node_legal_modals["Legal policy modals"]
end

node_visitor(("Site visitor"))

node_visitor -.->|"opens"| node_home
node_visitor -.->|"opens"| node_about_route
node_visitor -.->|"opens"| node_products_route
node_visitor -.->|"opens"| node_industries_route
node_visitor -.->|"opens"| node_article_route
node_visitor -.->|"opens"| node_contact_route
node_home -->|"renders"| node_hero
node_home -->|"renders"| node_meta
node_home -->|"uses"| node_animation
node_about_route -->|"renders"| node_about
node_about_route -->|"renders"| node_meta
node_products_route -->|"renders"| node_products
node_products_route -->|"renders"| node_meta
node_industries_route -->|"renders"| node_industries
node_industries_route -->|"renders"| node_meta
node_article_route -->|"renders"| node_article
node_article_route -->|"renders"| node_meta
node_contact_route -->|"renders"| node_contact
node_contact_route -->|"renders"| node_meta
node_app_shell -->|"renders"| node_header
node_app_shell -->|"renders"| node_footer
node_app_shell -->|"renders"| node_whatsapp
node_app_shell -->|"renders"| node_maintenance
node_footer -->|"renders"| node_legal_modals
node_animation -->|"reads visibility"| node_inview
node_contact -->|"submits form"| node_emailjs

click node_home "https://github.com/ajithshah/aashaimpexandexports/blob/master/pages/index.js"
click node_about_route "https://github.com/ajithshah/aashaimpexandexports/blob/master/pages/about.js"
click node_products_route "https://github.com/ajithshah/aashaimpexandexports/blob/master/pages/products.js"
click node_industries_route "https://github.com/ajithshah/aashaimpexandexports/blob/master/pages/industries.js"
click node_article_route "https://github.com/ajithshah/aashaimpexandexports/blob/master/pages/article.js"
click node_contact_route "https://github.com/ajithshah/aashaimpexandexports/blob/master/pages/contact.js"
click node_hero "https://github.com/ajithshah/aashaimpexandexports/blob/master/Component/Hero/index.js"
click node_about "https://github.com/ajithshah/aashaimpexandexports/blob/master/Component/About/index.js"
click node_products "https://github.com/ajithshah/aashaimpexandexports/blob/master/Component/Products/index.js"
click node_industries "https://github.com/ajithshah/aashaimpexandexports/blob/master/Component/Industries/index.js"
click node_article "https://github.com/ajithshah/aashaimpexandexports/blob/master/Component/Article/index.js"
click node_meta "https://github.com/ajithshah/aashaimpexandexports/blob/master/Component/Meta/index.js"
click node_app_shell "https://github.com/ajithshah/aashaimpexandexports/blob/master/pages/_app.js"
click node_header "https://github.com/ajithshah/aashaimpexandexports/blob/master/Component/Header/index.js"
click node_footer "https://github.com/ajithshah/aashaimpexandexports/blob/master/Component/Footer/index.js"
click node_animation "https://github.com/ajithshah/aashaimpexandexports/blob/master/Component/AnimateOnScroll/index.js"
click node_inview "https://github.com/ajithshah/aashaimpexandexports/blob/master/hooks/useInView.js"
click node_whatsapp "https://github.com/ajithshah/aashaimpexandexports/blob/master/Component/WhatsAppFab/index.js"
click node_maintenance "https://github.com/ajithshah/aashaimpexandexports/blob/master/Component/Maintenance/index.js"
click node_contact "https://github.com/ajithshah/aashaimpexandexports/blob/master/Component/Contact/index.js"
click node_legal_modals "https://github.com/ajithshah/aashaimpexandexports/blob/master/Component/Modal/PrivacyPolicyModal.js"

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_route,node_products_route,node_industries_route,node_article_route,node_contact_route toneBlue
class node_hero,node_about,node_products,node_industries,node_article toneAmber
class node_meta,node_app_shell,node_header,node_footer,node_animation,node_inview,node_whatsapp,node_maintenance toneMint
class node_contact,node_emailjs,node_legal_modals toneRose
class node_visitor toneIndigo
```

## Components

### Pages and discovery

- [Home page](https://github.com/ajithshah/aashaimpexandexports/blob/master/pages/index.js): `pages/index.js`
- [About route](https://github.com/ajithshah/aashaimpexandexports/blob/master/pages/about.js): `pages/about.js`
- [Products route](https://github.com/ajithshah/aashaimpexandexports/blob/master/pages/products.js): `pages/products.js`
- [Industries route](https://github.com/ajithshah/aashaimpexandexports/blob/master/pages/industries.js): `pages/industries.js`
- [Article route](https://github.com/ajithshah/aashaimpexandexports/blob/master/pages/article.js): `pages/article.js`
- [Contact route](https://github.com/ajithshah/aashaimpexandexports/blob/master/pages/contact.js): `pages/contact.js`

### Company and catalog

- [Hero and landing](https://github.com/ajithshah/aashaimpexandexports/blob/master/Component/Hero/index.js): `Component/Hero/index.js`
- [Company profile](https://github.com/ajithshah/aashaimpexandexports/blob/master/Component/About/index.js): `Component/About/index.js`
- [Product catalog](https://github.com/ajithshah/aashaimpexandexports/blob/master/Component/Products/index.js): `Component/Products/index.js`
- [Industry applications](https://github.com/ajithshah/aashaimpexandexports/blob/master/Component/Industries/index.js): `Component/Industries/index.js`
- [Company article](https://github.com/ajithshah/aashaimpexandexports/blob/master/Component/Article/index.js): `Component/Article/index.js`

### Shared presentation

- [Page metadata](https://github.com/ajithshah/aashaimpexandexports/blob/master/Component/Meta/index.js): `Component/Meta/index.js`
- [Application shell](https://github.com/ajithshah/aashaimpexandexports/blob/master/pages/_app.js): `pages/_app.js`
- [Site navigation](https://github.com/ajithshah/aashaimpexandexports/blob/master/Component/Header/index.js): `Component/Header/index.js`
- [Site footer](https://github.com/ajithshah/aashaimpexandexports/blob/master/Component/Footer/index.js): `Component/Footer/index.js`
- [Scroll animation](https://github.com/ajithshah/aashaimpexandexports/blob/master/Component/AnimateOnScroll/index.js): `Component/AnimateOnScroll/index.js`
- [Visibility hook](https://github.com/ajithshah/aashaimpexandexports/blob/master/hooks/useInView.js): `hooks/useInView.js`
- [WhatsApp shortcut](https://github.com/ajithshah/aashaimpexandexports/blob/master/Component/WhatsAppFab/index.js): `Component/WhatsAppFab/index.js`
- [Maintenance view](https://github.com/ajithshah/aashaimpexandexports/blob/master/Component/Maintenance/index.js): `Component/Maintenance/index.js`

### Contact and legal

- [Contact form](https://github.com/ajithshah/aashaimpexandexports/blob/master/Component/Contact/index.js): `Component/Contact/index.js`
- **EmailJS service**
- [Legal policy modals](https://github.com/ajithshah/aashaimpexandexports/blob/master/Component/Modal/PrivacyPolicyModal.js): `Component/Modal/PrivacyPolicyModal.js`

### Other components

- **Site visitor**

## Connections

- Site visitor → Home page: opens
- Site visitor → About route: opens
- Site visitor → Products route: opens
- Site visitor → Industries route: opens
- Site visitor → Article route: opens
- Site visitor → Contact route: opens
- Home page → Hero and landing: renders (evidence: `pages/index.js`)
- Home page → Page metadata: renders (evidence: `pages/index.js`)
- Home page → Scroll animation: uses (evidence: `pages/index.js`)
- About route → Company profile: renders (evidence: `pages/about.js`)
- About route → Page metadata: renders (evidence: `pages/about.js`)
- Products route → Product catalog: renders (evidence: `pages/products.js`)
- Products route → Page metadata: renders (evidence: `pages/products.js`)
- Industries route → Industry applications: renders (evidence: `pages/industries.js`)
- Industries route → Page metadata: renders (evidence: `pages/industries.js`)
- Article route → Company article: renders (evidence: `pages/article.js`)
- Article route → Page metadata: renders (evidence: `pages/article.js`)
- Contact route → Contact form: renders (evidence: `pages/contact.js`)
- Contact route → Page metadata: renders (evidence: `pages/contact.js`)
- Application shell → Site navigation: renders (evidence: `pages/_app.js`)
- Application shell → Site footer: renders (evidence: `pages/_app.js`)
- Application shell → WhatsApp shortcut: renders (evidence: `pages/_app.js`)
- Application shell → Maintenance view: renders (evidence: `pages/_app.js`)
- Site footer → Legal policy modals: renders (evidence: `Component/Footer/index.js`)
- Scroll animation → Visibility hook: reads visibility (evidence: `Component/AnimateOnScroll/index.js`)
- Contact form → EmailJS service: submits form (evidence: `Component/Contact/index.js`)
