# ibrahimakhalilfaye6-a11y/profilcard architecture

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

- Interactive diagram: https://gitdiagram.com/ibrahimakhalilfaye6-a11y/profilcard
- Repository: https://github.com/ibrahimakhalilfaye6-a11y/profilcard

## Overview

This repository is a static digital business card. A visitor opens the page to view the professional profile and social links; JavaScript initializes and manages the theme using saved and system preferences. The README documents responsive styling, animations, and profile links, but the page source was not provided, so those details are represented at the page level. The available source supports the theme behavior; the page-to-script wiring is not shown.

Main entry points: [`index.html`](https://github.com/ibrahimakhalilfaye6-a11y/profilcard/blob/main/index.html) (Profile page), [`script.js`](https://github.com/ibrahimakhalilfaye6-a11y/profilcard/blob/main/script.js) (Theme controller), [`images`](https://github.com/ibrahimakhalilfaye6-a11y/profilcard/tree/main/images) (QR image)

## Diagram (Mermaid)

```mermaid
flowchart TD

subgraph group_card["Digital business card"]
  node_page["Profile page<br/>[index.html]"]
  node_qr["QR image"]
  node_profiles["Social profiles<br/>[index.html]"]
end

subgraph group_theme["Theme behavior"]
  node_theme_script["Theme controller<br/>[script.js]"]
end

node_visitor(("Visitor"))
node_preferences["System theme preference"]
node_theme_storage[("Saved theme")]

node_visitor -->|"opens"| node_page
node_page -->|"displays"| node_qr
node_page -->|"presents links"| node_profiles
node_page -.->|"loads"| node_theme_script
node_theme_script -->|"checks"| node_preferences
node_theme_script -->|"reads and writes"| node_theme_storage

click node_page "https://github.com/ibrahimakhalilfaye6-a11y/profilcard/blob/main/index.html"
click node_qr "https://github.com/ibrahimakhalilfaye6-a11y/profilcard/tree/main/images"
click node_profiles "https://github.com/ibrahimakhalilfaye6-a11y/profilcard/blob/main/index.html"
click node_theme_script "https://github.com/ibrahimakhalilfaye6-a11y/profilcard/blob/main/script.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_page,node_qr,node_profiles toneBlue
class node_theme_script,node_theme_storage toneAmber
class node_visitor,node_preferences toneIndigo
```

## Components

### Digital business card

- [Profile page](https://github.com/ibrahimakhalilfaye6-a11y/profilcard/blob/main/index.html): `index.html`
- [QR image](https://github.com/ibrahimakhalilfaye6-a11y/profilcard/tree/main/images): `images`
- [Social profiles](https://github.com/ibrahimakhalilfaye6-a11y/profilcard/blob/main/index.html): `index.html`

### Theme behavior

- [Theme controller](https://github.com/ibrahimakhalilfaye6-a11y/profilcard/blob/main/script.js): `script.js`

### Other components

- **Visitor**
- **System theme preference**
- **Saved theme**

## Connections

- Visitor → Profile page: opens (evidence: `README.md`)
- Profile page → QR image: displays (evidence: `README.md`)
- Profile page → Social profiles: presents links (evidence: `README.md`)
- Profile page → Theme controller: loads
- Theme controller → System theme preference: checks (evidence: `script.js`)
- Theme controller → Saved theme: reads and writes (evidence: `script.js`)
