# mustaf-is/mansory-mobilje architecture

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

- Interactive diagram: https://gitdiagram.com/mustaf-is/mansory-mobilje
- Repository: https://github.com/mustaf-is/mansory-mobilje

## Overview

Mansory Mobilje is a bilingual furniture-maker showcase. Visitors enter the landing page to explore the brand, customize a bed preview, browse services and completed projects, and reach the business; project routes provide image-rich details. The graph preserves the documented bilingual state, gallery, carousel, and contact capabilities. Edges reflect imports, calls, or routing visible in the excerpts, source index, or README; unsampled component behavior is not inferred.

Main entry points: [`App.tsx`](https://github.com/mustaf-is/mansory-mobilje/blob/main/App.tsx) (App routes), [`i18n/LanguageContext.tsx`](https://github.com/mustaf-is/mansory-mobilje/blob/main/i18n/LanguageContext.tsx) (Language state), [`components/ProjectDetail.tsx`](https://github.com/mustaf-is/mansory-mobilje/blob/main/components/ProjectDetail.tsx) (Project details), [`components/Gallery.tsx`](https://github.com/mustaf-is/mansory-mobilje/blob/main/components/Gallery.tsx) (Project gallery)

## Diagram (Mermaid)

```mermaid
flowchart TD

subgraph group_routing["App and navigation"]
  node_app["App routes<br/>[App.tsx]"]
  node_navbar["Navigation bar<br/>[Navbar.tsx]"]
end

subgraph group_showcase["Furniture showcase"]
  node_hero["Brand introduction<br/>[Hero.tsx]"]
  node_customizer["Bed customizer"]
  node_services["Services<br/>[Services.tsx]"]
  node_about["About section<br/>[About.tsx]"]
  node_contact["Contact and social<br/>[Contact.tsx]"]
end

subgraph group_portfolio["Project portfolio"]
  node_gallery["Project gallery<br/>[Gallery.tsx]"]
  node_detail["Project details<br/>[ProjectDetail.tsx]"]
  node_carousel["Image carousel<br/>[ImageCarousel.tsx]"]
end

subgraph group_shared["Shared content and language"]
  node_projects["Project catalog<br/>[projects.ts]"]
  node_language["Language state"]
  node_translations["Translations<br/>[translations.ts]"]
end

node_visitor(("Visitor"))

node_visitor -->|"opens site"| node_app
node_app -->|"provides language"| node_language
node_app -->|"renders on home"| node_navbar
node_app -->|"renders home"| node_hero
node_app -->|"renders home"| node_customizer
node_app -->|"renders home"| node_services
node_app -->|"renders home"| node_about
node_app -->|"renders home"| node_gallery
node_app -->|"renders home"| node_contact
node_app -->|"routes projects"| node_detail
node_gallery -->|"reads projects"| node_projects
node_detail -->|"finds project"| node_projects
node_detail -->|"opens carousel"| node_carousel
node_language -->|"provides translations"| node_translations
node_navbar -->|"reads language"| node_language
node_hero -->|"reads language"| node_language
node_customizer -->|"reads language"| node_language
node_services -->|"reads language"| node_language
node_about -->|"reads language"| node_language
node_gallery -->|"reads language"| node_language
node_detail -->|"reads language"| node_language
node_carousel -->|"reads language"| node_language
node_contact -->|"reads language"| node_language

click node_app "https://github.com/mustaf-is/mansory-mobilje/blob/main/App.tsx"
click node_navbar "https://github.com/mustaf-is/mansory-mobilje/blob/main/components/Navbar.tsx"
click node_hero "https://github.com/mustaf-is/mansory-mobilje/blob/main/components/Hero.tsx"
click node_customizer "https://github.com/mustaf-is/mansory-mobilje/blob/main/components/ProductCustomizer.tsx"
click node_services "https://github.com/mustaf-is/mansory-mobilje/blob/main/components/Services.tsx"
click node_about "https://github.com/mustaf-is/mansory-mobilje/blob/main/components/About.tsx"
click node_gallery "https://github.com/mustaf-is/mansory-mobilje/blob/main/components/Gallery.tsx"
click node_detail "https://github.com/mustaf-is/mansory-mobilje/blob/main/components/ProjectDetail.tsx"
click node_carousel "https://github.com/mustaf-is/mansory-mobilje/blob/main/components/ImageCarousel.tsx"
click node_contact "https://github.com/mustaf-is/mansory-mobilje/blob/main/components/Contact.tsx"
click node_projects "https://github.com/mustaf-is/mansory-mobilje/blob/main/data/projects.ts"
click node_language "https://github.com/mustaf-is/mansory-mobilje/blob/main/i18n/LanguageContext.tsx"
click node_translations "https://github.com/mustaf-is/mansory-mobilje/blob/main/i18n/translations.ts"

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_app,node_navbar toneBlue
class node_hero,node_customizer,node_services,node_about,node_contact toneAmber
class node_gallery,node_detail,node_carousel toneMint
class node_projects,node_language,node_translations toneRose
class node_visitor toneIndigo
```

## Components

### App and navigation

- [App routes](https://github.com/mustaf-is/mansory-mobilje/blob/main/App.tsx): `App.tsx`
- [Navigation bar](https://github.com/mustaf-is/mansory-mobilje/blob/main/components/Navbar.tsx): `components/Navbar.tsx`

### Furniture showcase

- [Brand introduction](https://github.com/mustaf-is/mansory-mobilje/blob/main/components/Hero.tsx): `components/Hero.tsx`
- [Bed customizer](https://github.com/mustaf-is/mansory-mobilje/blob/main/components/ProductCustomizer.tsx): `components/ProductCustomizer.tsx`
- [Services](https://github.com/mustaf-is/mansory-mobilje/blob/main/components/Services.tsx): `components/Services.tsx`
- [About section](https://github.com/mustaf-is/mansory-mobilje/blob/main/components/About.tsx): `components/About.tsx`
- [Contact and social](https://github.com/mustaf-is/mansory-mobilje/blob/main/components/Contact.tsx): `components/Contact.tsx`

### Project portfolio

- [Project gallery](https://github.com/mustaf-is/mansory-mobilje/blob/main/components/Gallery.tsx): `components/Gallery.tsx`
- [Project details](https://github.com/mustaf-is/mansory-mobilje/blob/main/components/ProjectDetail.tsx): `components/ProjectDetail.tsx`
- [Image carousel](https://github.com/mustaf-is/mansory-mobilje/blob/main/components/ImageCarousel.tsx): `components/ImageCarousel.tsx`

### Shared content and language

- [Project catalog](https://github.com/mustaf-is/mansory-mobilje/blob/main/data/projects.ts): `data/projects.ts`
- [Language state](https://github.com/mustaf-is/mansory-mobilje/blob/main/i18n/LanguageContext.tsx): `i18n/LanguageContext.tsx`
- [Translations](https://github.com/mustaf-is/mansory-mobilje/blob/main/i18n/translations.ts): `i18n/translations.ts`

### Other components

- **Visitor**

## Connections

- Visitor → App routes: opens site (evidence: `README.md`)
- App routes → Language state: provides language (evidence: `App.tsx`)
- App routes → Navigation bar: renders on home (evidence: `App.tsx`)
- App routes → Brand introduction: renders home (evidence: `App.tsx`)
- App routes → Bed customizer: renders home (evidence: `App.tsx`)
- App routes → Services: renders home (evidence: `App.tsx`)
- App routes → About section: renders home (evidence: `App.tsx`)
- App routes → Project gallery: renders home (evidence: `App.tsx`)
- App routes → Contact and social: renders home (evidence: `App.tsx`)
- App routes → Project details: routes projects (evidence: `App.tsx`)
- Project gallery → Project catalog: reads projects (evidence: `components/Gallery.tsx`)
- Project details → Project catalog: finds project (evidence: `components/ProjectDetail.tsx`)
- Project details → Image carousel: opens carousel (evidence: `components/ProjectDetail.tsx`)
- Language state → Translations: provides translations (evidence: `i18n/LanguageContext.tsx`)
- Navigation bar → Language state: reads language (evidence: `components/Navbar.tsx`)
- Brand introduction → Language state: reads language (evidence: `components/Hero.tsx`)
- Bed customizer → Language state: reads language (evidence: `components/ProductCustomizer.tsx`)
- Services → Language state: reads language (evidence: `components/Services.tsx`)
- About section → Language state: reads language (evidence: `components/About.tsx`)
- Project gallery → Language state: reads language (evidence: `components/Gallery.tsx`)
- Project details → Language state: reads language (evidence: `components/ProjectDetail.tsx`)
- Image carousel → Language state: reads language (evidence: `components/ImageCarousel.tsx`)
- Contact and social → Language state: reads language (evidence: `components/Contact.tsx`)
