# 47siva/periyar-mobiles architecture

> Architecture diagram of the GitHub repository 47siva/periyar-mobiles, 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/47siva/periyar-mobiles
- Repository: https://github.com/47siva/periyar-mobiles

## Overview

Periyar Mobiles is a React website for a mobile-repair service center. Visitors browse repair offerings and shop information, then can submit an appointment request or contact the shop through the displayed channels. The runtime is a routed single-page application: the entry point mounts the app, which renders shared navigation and footer around one of four pages. Booking and contact forms show local confirmation states; the sampled code does not show a backend or message dispatch. The README documents all four pages; source excerpts support the app routing and the links shown below.

Main entry points: [`src/App.js`](https://github.com/47siva/periyar-mobiles/blob/main/src/App.js) (Router and layout), [`src/pages/Booking.js`](https://github.com/47siva/periyar-mobiles/blob/main/src/pages/Booking.js) (Appointment booking), [`src/pages/Home.js`](https://github.com/47siva/periyar-mobiles/blob/main/src/pages/Home.js) (Home overview), [`src/pages/Contact.js`](https://github.com/47siva/periyar-mobiles/blob/main/src/pages/Contact.js) (Contact and FAQs)

## Diagram (Mermaid)

```mermaid
flowchart TD

subgraph group_runtime["Application shell"]
  node_mount["React entry<br/>[index.js]"]
  node_app["Router and layout<br/>[App.js]"]
  node_navbar["Navigation<br/>[Navbar.js]"]
  node_footer["Footer links<br/>[Footer.js]"]
  node_wave["Wave background<br/>[WaveBackground.js]"]
end

subgraph group_discovery["Shop and services"]
  node_home["Home overview<br/>[Home.js]"]
  node_services["Services and pricing<br/>[Services.js]"]
end

subgraph group_engagement["Customer requests"]
  node_booking["Appointment booking<br/>[Booking.js]"]
  node_contact["Contact and FAQs<br/>[Contact.js]"]
end

subgraph group_channels["External channels"]
  node_shop_channels["Shop contact channels"]
  node_maps["Google Maps"]
  node_social["Social channels"]
end

node_visitor(("Visitor"))

node_visitor -->|"opens site"| node_mount
node_mount -->|"renders"| node_app
node_app -->|"renders"| node_navbar
node_app -->|"renders"| node_footer
node_app -->|"renders"| node_wave
node_app -->|"routes to"| node_home
node_app -->|"routes to"| node_services
node_app -->|"routes to"| node_booking
node_app -->|"routes to"| node_contact
node_home -->|"links to"| node_booking
node_home -->|"links to"| node_services
node_home -->|"links to"| node_contact
node_services -->|"links to"| node_booking
node_navbar -->|"links to"| node_booking
node_footer -->|"links to"| node_booking
node_contact -->|"offers call, email, chat"| node_shop_channels
node_contact -->|"opens directions"| node_maps
node_footer -->|"links to"| node_social

click node_mount "https://github.com/47siva/periyar-mobiles/blob/main/src/index.js"
click node_app "https://github.com/47siva/periyar-mobiles/blob/main/src/App.js"
click node_navbar "https://github.com/47siva/periyar-mobiles/blob/main/src/components/Navbar.js"
click node_footer "https://github.com/47siva/periyar-mobiles/blob/main/src/components/Footer.js"
click node_wave "https://github.com/47siva/periyar-mobiles/blob/main/src/components/WaveBackground.js"
click node_home "https://github.com/47siva/periyar-mobiles/blob/main/src/pages/Home.js"
click node_services "https://github.com/47siva/periyar-mobiles/blob/main/src/pages/Services.js"
click node_booking "https://github.com/47siva/periyar-mobiles/blob/main/src/pages/Booking.js"
click node_contact "https://github.com/47siva/periyar-mobiles/blob/main/src/pages/Contact.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_mount,node_app,node_navbar,node_footer,node_wave toneBlue
class node_home,node_services toneAmber
class node_booking,node_contact toneMint
class node_shop_channels,node_maps,node_social toneRose
class node_visitor toneIndigo
```

## Components

### Application shell

- [React entry](https://github.com/47siva/periyar-mobiles/blob/main/src/index.js): `src/index.js`
- [Router and layout](https://github.com/47siva/periyar-mobiles/blob/main/src/App.js): `src/App.js`
- [Navigation](https://github.com/47siva/periyar-mobiles/blob/main/src/components/Navbar.js): `src/components/Navbar.js`
- [Footer links](https://github.com/47siva/periyar-mobiles/blob/main/src/components/Footer.js): `src/components/Footer.js`
- [Wave background](https://github.com/47siva/periyar-mobiles/blob/main/src/components/WaveBackground.js): `src/components/WaveBackground.js`

### Shop and services

- [Home overview](https://github.com/47siva/periyar-mobiles/blob/main/src/pages/Home.js): `src/pages/Home.js`
- [Services and pricing](https://github.com/47siva/periyar-mobiles/blob/main/src/pages/Services.js): `src/pages/Services.js`

### Customer requests

- [Appointment booking](https://github.com/47siva/periyar-mobiles/blob/main/src/pages/Booking.js): `src/pages/Booking.js`
- [Contact and FAQs](https://github.com/47siva/periyar-mobiles/blob/main/src/pages/Contact.js): `src/pages/Contact.js`

### External channels

- **Shop contact channels**
- **Google Maps**
- **Social channels**

### Other components

- **Visitor**

## Connections

- Visitor → React entry: opens site (evidence: `README.md`)
- React entry → Router and layout: renders (evidence: `src/index.js`)
- Router and layout → Navigation: renders (evidence: `src/App.js`)
- Router and layout → Footer links: renders (evidence: `src/App.js`)
- Router and layout → Wave background: renders (evidence: `src/App.js`)
- Router and layout → Home overview: routes to (evidence: `src/App.js`)
- Router and layout → Services and pricing: routes to (evidence: `src/App.js`)
- Router and layout → Appointment booking: routes to (evidence: `src/App.js`)
- Router and layout → Contact and FAQs: routes to (evidence: `src/App.js`)
- Home overview → Appointment booking: links to (evidence: `src/pages/Home.js`)
- Home overview → Services and pricing: links to (evidence: `src/pages/Home.js`)
- Home overview → Contact and FAQs: links to (evidence: `src/pages/Home.js`)
- Services and pricing → Appointment booking: links to (evidence: `src/pages/Services.js`)
- Navigation → Appointment booking: links to (evidence: `src/components/Navbar.js`)
- Footer links → Appointment booking: links to (evidence: `src/components/Footer.js`)
- Contact and FAQs → Shop contact channels: offers call, email, chat (evidence: `src/pages/Contact.js`)
- Contact and FAQs → Google Maps: opens directions (evidence: `src/pages/Contact.js`)
- Footer links → Social channels: links to (evidence: `src/components/Footer.js`)
