# noonejosh/qr-based-businesscard architecture

> Architecture diagram of the GitHub repository noonejosh/qr-based-businesscard, 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/noonejosh/qr-based-businesscard
- Repository: https://github.com/noonejosh/qr-based-businesscard

## Overview

This is a small React business-card site, not a larger service platform. Visitors arrive at a landing screen and follow its connect link to a profile page with contact actions and social links. The entry point mounts the routed app; the router selects the landing or profile view. The graph retains the distinct visitor-facing stages and external destinations. Evidence is limited to the supplied excerpts and README; no separate QR-generation or contact-saving implementation is shown.

Main entry points: [`src/Info.jsx`](https://github.com/noonejosh/qr-based-businesscard/blob/main/src/Info.jsx) (Contact profile), [`src/App.jsx`](https://github.com/noonejosh/qr-based-businesscard/blob/main/src/App.jsx) (Route selection), [`src/main.jsx`](https://github.com/noonejosh/qr-based-businesscard/blob/main/src/main.jsx) (App mount), [`src/HomeScreen.jsx`](https://github.com/noonejosh/qr-based-businesscard/blob/main/src/HomeScreen.jsx) (Landing screen)

## Diagram (Mermaid)

```mermaid
flowchart TD

subgraph group_app["Site and routing"]
  node_mount["App mount<br/>[main.jsx]"]
  node_router["Route selection<br/>[App.jsx]"]
end

subgraph group_profile["Profile and connections"]
  node_landing["Landing screen<br/>[HomeScreen.jsx]"]
  node_profile_view["Contact profile<br/>[Info.jsx]"]
end

node_visitor(("Visitor"))
node_contact_services["Phone and email"]
node_social_services["Social platforms"]

node_visitor -->|"opens site"| node_mount
node_mount -->|"renders"| node_router
node_router -->|"routes /"| node_landing
node_router -->|"routes /info"| node_profile_view
node_landing -->|"links to /info"| node_profile_view
node_profile_view -->|"links to"| node_contact_services
node_profile_view -->|"links to"| node_social_services

click node_mount "https://github.com/noonejosh/qr-based-businesscard/blob/main/src/main.jsx"
click node_router "https://github.com/noonejosh/qr-based-businesscard/blob/main/src/App.jsx"
click node_landing "https://github.com/noonejosh/qr-based-businesscard/blob/main/src/HomeScreen.jsx"
click node_profile_view "https://github.com/noonejosh/qr-based-businesscard/blob/main/src/Info.jsx"

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_router toneBlue
class node_landing,node_profile_view toneAmber
class node_visitor,node_contact_services,node_social_services toneIndigo
```

## Components

### Site and routing

- [App mount](https://github.com/noonejosh/qr-based-businesscard/blob/main/src/main.jsx): `src/main.jsx`
- [Route selection](https://github.com/noonejosh/qr-based-businesscard/blob/main/src/App.jsx): `src/App.jsx`

### Profile and connections

- [Landing screen](https://github.com/noonejosh/qr-based-businesscard/blob/main/src/HomeScreen.jsx): `src/HomeScreen.jsx`
- [Contact profile](https://github.com/noonejosh/qr-based-businesscard/blob/main/src/Info.jsx): `src/Info.jsx`

### Other components

- **Visitor**
- **Phone and email**
- **Social platforms**

## Connections

- Visitor → App mount: opens site (evidence: `src/main.jsx`)
- App mount → Route selection: renders (evidence: `src/main.jsx`)
- Route selection → Landing screen: routes / (evidence: `src/App.jsx`)
- Route selection → Contact profile: routes /info (evidence: `src/App.jsx`)
- Landing screen → Contact profile: links to /info (evidence: `src/HomeScreen.jsx`)
- Contact profile → Phone and email: links to (evidence: `src/Info.jsx`)
- Contact profile → Social platforms: links to (evidence: `src/Info.jsx`)
