# imransd9121/imran-electrical-and-electronics architecture

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

- Interactive diagram: https://gitdiagram.com/imransd9121/imran-electrical-and-electronics
- Repository: https://github.com/imransd9121/imran-electrical-and-electronics

## Overview

Imran Electrical & Electronics is a React single-page business website presenting appliance, electrical, and plumbing services and directing prospective customers to phone, WhatsApp, email, and location details. The runtime mounts the page, whose App component composes the hero, business information, service cards, contact section, and footer. Several listed UI components are not referenced by the sampled App source, so they are represented as standalone components without inferred connections. The README provides no additional capability details.

Main entry points: [`imran/src/App.tsx`](https://github.com/imransd9121/imran-electrical-and-electronics/blob/main/imran/src/App.tsx) (Page composition), [`imran/src/components/ui/contact-section.tsx`](https://github.com/imransd9121/imran-electrical-and-electronics/blob/main/imran/src/components/ui/contact-section.tsx) (Contact details and map), [`imran/src/components/ui/animated-shader-hero.tsx`](https://github.com/imransd9121/imran-electrical-and-electronics/blob/main/imran/src/components/ui/animated-shader-hero.tsx) (Hero and calls to action), [`imran/src/components/ui/feature-shader-cards.tsx`](https://github.com/imransd9121/imran-electrical-and-electronics/blob/main/imran/src/components/ui/feature-shader-cards.tsx) (Service cards)

## Diagram (Mermaid)

```mermaid
flowchart TD

subgraph group_runtime["Page runtime"]
  node_mount["React mount<br/>[main.tsx]"]
  node_app["Page composition<br/>[App.tsx]"]
end

subgraph group_business["Business content"]
  node_navbar["Navigation bar<br/>[navbar-1.tsx]"]
  node_hero["Hero and calls to action"]
  node_about["Business overview<br/>[about-section.tsx]"]
  node_services["Service cards"]
  node_why["Why choose us<br/>[why-choose-us.tsx]"]
  node_service_alt["Service section variant"]
end

subgraph group_engagement["Contact and engagement"]
  node_contact["Contact details and map"]
  node_footer["Page footer<br/>[footer.tsx]"]
end

subgraph group_visuals["Standalone UI components"]
  node_globe["Interactive globe<br/>[cobe-globe.tsx]"]
  node_globe_demo["Globe demo<br/>[globe-demo.tsx]"]
  node_hover_footer["Hover footer<br/>[hover-footer.tsx]"]
end

node_browser(("Site visitor"))
node_call(("Phone service"))
node_whatsapp(("WhatsApp"))
node_email(("Email service"))
node_maps(("Google Maps"))

node_mount -->|"renders"| node_app
node_app -->|"renders"| node_navbar
node_app -->|"renders"| node_hero
node_app -->|"renders"| node_about
node_app -->|"renders"| node_services
node_app -->|"renders"| node_why
node_app -->|"renders"| node_contact
node_app -->|"renders"| node_footer
node_hero -->|"opens phone"| node_call
node_services -->|"opens phone"| node_call
node_contact -->|"opens phone"| node_call
node_contact -->|"opens chat"| node_whatsapp
node_contact -->|"opens email"| node_email
node_contact -->|"embeds map"| node_maps
node_app -->|"opens chat"| node_whatsapp

click node_mount "https://github.com/imransd9121/imran-electrical-and-electronics/blob/main/imran/src/main.tsx"
click node_app "https://github.com/imransd9121/imran-electrical-and-electronics/blob/main/imran/src/App.tsx"
click node_navbar "https://github.com/imransd9121/imran-electrical-and-electronics/blob/main/imran/src/components/ui/navbar-1.tsx"
click node_hero "https://github.com/imransd9121/imran-electrical-and-electronics/blob/main/imran/src/components/ui/animated-shader-hero.tsx"
click node_about "https://github.com/imransd9121/imran-electrical-and-electronics/blob/main/imran/src/components/ui/about-section.tsx"
click node_services "https://github.com/imransd9121/imran-electrical-and-electronics/blob/main/imran/src/components/ui/feature-shader-cards.tsx"
click node_why "https://github.com/imransd9121/imran-electrical-and-electronics/blob/main/imran/src/components/ui/why-choose-us.tsx"
click node_contact "https://github.com/imransd9121/imran-electrical-and-electronics/blob/main/imran/src/components/ui/contact-section.tsx"
click node_footer "https://github.com/imransd9121/imran-electrical-and-electronics/blob/main/imran/src/components/ui/footer.tsx"
click node_service_alt "https://github.com/imransd9121/imran-electrical-and-electronics/blob/main/imran/src/components/ui/services-section.tsx"
click node_globe "https://github.com/imransd9121/imran-electrical-and-electronics/blob/main/imran/src/components/ui/cobe-globe.tsx"
click node_globe_demo "https://github.com/imransd9121/imran-electrical-and-electronics/blob/main/imran/src/components/ui/globe-demo.tsx"
click node_hover_footer "https://github.com/imransd9121/imran-electrical-and-electronics/blob/main/imran/src/components/ui/hover-footer.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_mount,node_app toneBlue
class node_navbar,node_hero,node_about,node_services,node_why,node_service_alt toneAmber
class node_contact,node_footer toneMint
class node_globe,node_globe_demo,node_hover_footer toneRose
class node_browser,node_call,node_whatsapp,node_email,node_maps toneIndigo
```

## Components

### Page runtime

- [React mount](https://github.com/imransd9121/imran-electrical-and-electronics/blob/main/imran/src/main.tsx): `imran/src/main.tsx`
- [Page composition](https://github.com/imransd9121/imran-electrical-and-electronics/blob/main/imran/src/App.tsx): `imran/src/App.tsx`

### Business content

- [Navigation bar](https://github.com/imransd9121/imran-electrical-and-electronics/blob/main/imran/src/components/ui/navbar-1.tsx): `imran/src/components/ui/navbar-1.tsx`
- [Hero and calls to action](https://github.com/imransd9121/imran-electrical-and-electronics/blob/main/imran/src/components/ui/animated-shader-hero.tsx): `imran/src/components/ui/animated-shader-hero.tsx`
- [Business overview](https://github.com/imransd9121/imran-electrical-and-electronics/blob/main/imran/src/components/ui/about-section.tsx): `imran/src/components/ui/about-section.tsx`
- [Service cards](https://github.com/imransd9121/imran-electrical-and-electronics/blob/main/imran/src/components/ui/feature-shader-cards.tsx): `imran/src/components/ui/feature-shader-cards.tsx`
- [Why choose us](https://github.com/imransd9121/imran-electrical-and-electronics/blob/main/imran/src/components/ui/why-choose-us.tsx): `imran/src/components/ui/why-choose-us.tsx`
- [Service section variant](https://github.com/imransd9121/imran-electrical-and-electronics/blob/main/imran/src/components/ui/services-section.tsx): `imran/src/components/ui/services-section.tsx`

### Contact and engagement

- [Contact details and map](https://github.com/imransd9121/imran-electrical-and-electronics/blob/main/imran/src/components/ui/contact-section.tsx): `imran/src/components/ui/contact-section.tsx`
- [Page footer](https://github.com/imransd9121/imran-electrical-and-electronics/blob/main/imran/src/components/ui/footer.tsx): `imran/src/components/ui/footer.tsx`

### Standalone UI components

- [Interactive globe](https://github.com/imransd9121/imran-electrical-and-electronics/blob/main/imran/src/components/ui/cobe-globe.tsx): `imran/src/components/ui/cobe-globe.tsx`
- [Globe demo](https://github.com/imransd9121/imran-electrical-and-electronics/blob/main/imran/src/components/ui/globe-demo.tsx): `imran/src/components/ui/globe-demo.tsx`
- [Hover footer](https://github.com/imransd9121/imran-electrical-and-electronics/blob/main/imran/src/components/ui/hover-footer.tsx): `imran/src/components/ui/hover-footer.tsx`

### Other components

- **Site visitor**
- **Phone service**
- **WhatsApp**
- **Email service**
- **Google Maps**

## Connections

- React mount → Page composition: renders (evidence: `imran/src/main.tsx`)
- Page composition → Navigation bar: renders (evidence: `imran/src/App.tsx`)
- Page composition → Hero and calls to action: renders (evidence: `imran/src/App.tsx`)
- Page composition → Business overview: renders (evidence: `imran/src/App.tsx`)
- Page composition → Service cards: renders (evidence: `imran/src/App.tsx`)
- Page composition → Why choose us: renders (evidence: `imran/src/App.tsx`)
- Page composition → Contact details and map: renders (evidence: `imran/src/App.tsx`)
- Page composition → Page footer: renders (evidence: `imran/src/App.tsx`)
- Hero and calls to action → Phone service: opens phone
- Service cards → Phone service: opens phone (evidence: `imran/src/components/ui/feature-shader-cards.tsx`)
- Contact details and map → Phone service: opens phone (evidence: `imran/src/components/ui/contact-section.tsx`)
- Contact details and map → WhatsApp: opens chat (evidence: `imran/src/components/ui/contact-section.tsx`)
- Contact details and map → Email service: opens email (evidence: `imran/src/components/ui/contact-section.tsx`)
- Contact details and map → Google Maps: embeds map (evidence: `imran/src/components/ui/contact-section.tsx`)
- Page composition → WhatsApp: opens chat (evidence: `imran/src/App.tsx`)
