# mustafaalhaj/ana-muslim architecture

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

- Interactive diagram: https://gitdiagram.com/mustafaalhaj/ana-muslim
- Repository: https://github.com/mustafaalhaj/ana-muslim

## Overview

AnaMuslim is a small Arabic-language Islamic website with separate pages for Quran, azkar, and prayer times, plus a landing page and privacy information. Visitors use the static pages to access those sections; the sampled JavaScript adds shared interaction effects, navigation-menu behavior, cookie consent, and an iOS modal. The tree and excerpts do not show how pages link to one another or how scripts are included, so those relationships are not drawn.

## Diagram (Mermaid)

```mermaid
flowchart TD

subgraph group_site["Website pages"]
  node_home["Landing page<br/>[index.html]"]
  node_app["App page<br/>[app.html]"]
  node_quran["Quran<br/>[quran.html]"]
  node_azkar["Azkar<br/>[azkar.html]"]
  node_prayer["Prayer times<br/>[prayer-times.html]"]
  node_privacy["Privacy policy<br/>[privacy.html]"]
end

subgraph group_runtime["Browser interactions"]
  node_global_ui["Shared interactions<br/>[script.js]"]
  node_page_ui["Page effects<br/>[pages.js]"]
  node_styles["Site styling<br/>[style.css]"]
end

node_visitor(("Visitor"))

click node_home "https://github.com/mustafaalhaj/ana-muslim/blob/main/index.html"
click node_app "https://github.com/mustafaalhaj/ana-muslim/blob/main/app.html"
click node_quran "https://github.com/mustafaalhaj/ana-muslim/blob/main/quran.html"
click node_azkar "https://github.com/mustafaalhaj/ana-muslim/blob/main/azkar.html"
click node_prayer "https://github.com/mustafaalhaj/ana-muslim/blob/main/prayer-times.html"
click node_privacy "https://github.com/mustafaalhaj/ana-muslim/blob/main/privacy.html"
click node_global_ui "https://github.com/mustafaalhaj/ana-muslim/blob/main/script.js"
click node_page_ui "https://github.com/mustafaalhaj/ana-muslim/blob/main/pages.js"
click node_styles "https://github.com/mustafaalhaj/ana-muslim/blob/main/style.css"

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_app,node_quran,node_azkar,node_prayer,node_privacy toneBlue
class node_global_ui,node_page_ui,node_styles toneAmber
class node_visitor toneIndigo
```

## Components

### Website pages

- [Landing page](https://github.com/mustafaalhaj/ana-muslim/blob/main/index.html): `index.html`
- [App page](https://github.com/mustafaalhaj/ana-muslim/blob/main/app.html): `app.html`
- [Quran](https://github.com/mustafaalhaj/ana-muslim/blob/main/quran.html): `quran.html`
- [Azkar](https://github.com/mustafaalhaj/ana-muslim/blob/main/azkar.html): `azkar.html`
- [Prayer times](https://github.com/mustafaalhaj/ana-muslim/blob/main/prayer-times.html): `prayer-times.html`
- [Privacy policy](https://github.com/mustafaalhaj/ana-muslim/blob/main/privacy.html): `privacy.html`

### Browser interactions

- [Shared interactions](https://github.com/mustafaalhaj/ana-muslim/blob/main/script.js): `script.js`
- [Page effects](https://github.com/mustafaalhaj/ana-muslim/blob/main/pages.js): `pages.js`
- [Site styling](https://github.com/mustafaalhaj/ana-muslim/blob/main/style.css): `style.css`

### Other components

- **Visitor**
