# talhah-dev/fiverr_fleurrose2am architecture

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

- Interactive diagram: https://gitdiagram.com/talhah-dev/fiverr_fleurrose2am
- Repository: https://github.com/talhah-dev/fiverr_fleurrose2am

## Overview

This is a static artist portfolio and inquiry website. Visitors browse artwork and photography pages, view an artwork in a room mockup, switch English/French, and contact the artist through an inquiry form or email-copy fallback. The provided excerpts establish the shared UI, translation, mockup, and inquiry behavior; the catalog pages and JSON datasets are visible in the tree but their runtime wiring was not sampled, so those links are omitted.

Main entry points: [`js/inquiry.js`](https://github.com/talhah-dev/fiverr_fleurrose2am/blob/master/js/inquiry.js) (Inquiry modal), [`js/i18n.js`](https://github.com/talhah-dev/fiverr_fleurrose2am/blob/master/js/i18n.js) (Language selector), [`data/translations.json`](https://github.com/talhah-dev/fiverr_fleurrose2am/blob/master/data/translations.json) (Translation data), [`js/main.js`](https://github.com/talhah-dev/fiverr_fleurrose2am/blob/master/js/main.js) (Navigation and page UI)

## Diagram (Mermaid)

```mermaid
flowchart TD

subgraph group_portfolio["Portfolio content"]
  node_site["Portfolio pages"]
  node_paintings[("Painting catalog<br/>[paintings.json]")]
  node_photography[("Photography catalog<br/>[photography.json]")]
  node_future[("Second Future<br/>[second-future.json]")]
  node_translations[("Translation data<br/>[translations.json]")]
  node_photo_page["Photography page<br/>[photography.html]"]
  node_future_page["Project page"]
  node_saigon_page["Pink Saigon<br/>[pink-saigon.html]"]
  node_dedication["Artist dedication"]
  node_legal["Legal page<br/>[legal.html]"]
end

subgraph group_interaction["Visitor interactions"]
  node_ui["Navigation and page UI<br/>[main.js]"]
  node_language["Language selector<br/>[i18n.js]"]
  node_room["Room mockup<br/>[mockup.js]"]
end

subgraph group_contact["Contact workflow"]
  node_inquiry_ui["Inquiry modal<br/>[inquiry.js]"]
end

node_visitor(("Visitor"))
node_artist(("Artist"))
node_web3forms{{"Web3Forms"}}
node_email["Email address"]

node_visitor -->|"browses"| node_site
node_visitor -->|"uses navigation"| node_ui
node_visitor -->|"selects language"| node_language
node_language -->|"fetches"| node_translations
node_visitor -.->|"configures artwork"| node_room
node_visitor -->|"opens inquiry"| node_inquiry_ui
node_inquiry_ui -->|"posts submission"| node_web3forms
node_inquiry_ui -->|"copies fallback"| node_email
node_visitor -.->|"contacts directly"| node_artist

click node_paintings "https://github.com/talhah-dev/fiverr_fleurrose2am/blob/master/data/paintings.json"
click node_photography "https://github.com/talhah-dev/fiverr_fleurrose2am/blob/master/data/photography.json"
click node_future "https://github.com/talhah-dev/fiverr_fleurrose2am/blob/master/data/second-future.json"
click node_translations "https://github.com/talhah-dev/fiverr_fleurrose2am/blob/master/data/translations.json"
click node_photo_page "https://github.com/talhah-dev/fiverr_fleurrose2am/blob/master/photography.html"
click node_future_page "https://github.com/talhah-dev/fiverr_fleurrose2am/blob/master/the-second-future.html"
click node_saigon_page "https://github.com/talhah-dev/fiverr_fleurrose2am/blob/master/pink-saigon.html"
click node_dedication "https://github.com/talhah-dev/fiverr_fleurrose2am/blob/master/everything-i-know-i-owe-to-others.html"
click node_legal "https://github.com/talhah-dev/fiverr_fleurrose2am/blob/master/legal.html"
click node_ui "https://github.com/talhah-dev/fiverr_fleurrose2am/blob/master/js/main.js"
click node_language "https://github.com/talhah-dev/fiverr_fleurrose2am/blob/master/js/i18n.js"
click node_room "https://github.com/talhah-dev/fiverr_fleurrose2am/blob/master/js/mockup.js"
click node_inquiry_ui "https://github.com/talhah-dev/fiverr_fleurrose2am/blob/master/js/inquiry.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_site,node_paintings,node_photography,node_future,node_translations,node_photo_page,node_future_page,node_saigon_page,node_dedication,node_legal toneBlue
class node_ui,node_language,node_room toneAmber
class node_inquiry_ui toneMint
class node_visitor,node_artist,node_web3forms,node_email toneIndigo
```

## Components

### Portfolio content

- **Portfolio pages**
- [Painting catalog](https://github.com/talhah-dev/fiverr_fleurrose2am/blob/master/data/paintings.json): `data/paintings.json`
- [Photography catalog](https://github.com/talhah-dev/fiverr_fleurrose2am/blob/master/data/photography.json): `data/photography.json`
- [Second Future](https://github.com/talhah-dev/fiverr_fleurrose2am/blob/master/data/second-future.json): `data/second-future.json`
- [Translation data](https://github.com/talhah-dev/fiverr_fleurrose2am/blob/master/data/translations.json): `data/translations.json`
- [Photography page](https://github.com/talhah-dev/fiverr_fleurrose2am/blob/master/photography.html): `photography.html`
- [Project page](https://github.com/talhah-dev/fiverr_fleurrose2am/blob/master/the-second-future.html): `the-second-future.html`
- [Pink Saigon](https://github.com/talhah-dev/fiverr_fleurrose2am/blob/master/pink-saigon.html): `pink-saigon.html`
- [Artist dedication](https://github.com/talhah-dev/fiverr_fleurrose2am/blob/master/everything-i-know-i-owe-to-others.html): `everything-i-know-i-owe-to-others.html`
- [Legal page](https://github.com/talhah-dev/fiverr_fleurrose2am/blob/master/legal.html): `legal.html`

### Visitor interactions

- [Navigation and page UI](https://github.com/talhah-dev/fiverr_fleurrose2am/blob/master/js/main.js): `js/main.js`
- [Language selector](https://github.com/talhah-dev/fiverr_fleurrose2am/blob/master/js/i18n.js): `js/i18n.js`
- [Room mockup](https://github.com/talhah-dev/fiverr_fleurrose2am/blob/master/js/mockup.js): `js/mockup.js`

### Contact workflow

- [Inquiry modal](https://github.com/talhah-dev/fiverr_fleurrose2am/blob/master/js/inquiry.js): `js/inquiry.js`

### Other components

- **Visitor**
- **Artist**
- **Web3Forms**
- **Email address**

## Connections

- Visitor → Portfolio pages: browses
- Visitor → Navigation and page UI: uses navigation (evidence: `js/main.js`)
- Visitor → Language selector: selects language (evidence: `js/i18n.js`)
- Language selector → Translation data: fetches (evidence: `js/i18n.js`)
- Visitor → Room mockup: configures artwork
- Visitor → Inquiry modal: opens inquiry (evidence: `js/inquiry.js`)
- Inquiry modal → Web3Forms: posts submission (evidence: `js/inquiry.js`)
- Inquiry modal → Email address: copies fallback (evidence: `js/inquiry.js`)
- Visitor → Artist: contacts directly
