# imaramoh/portfolio architecture

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

- Interactive diagram: https://gitdiagram.com/imaramoh/portfolio
- Repository: https://github.com/imaramoh/portfolio

## Overview

#### Purpose and Entry Point
This is a static personal CV/portfolio site for Imara, deployed as plain browser assets with no backend, build system, package runtime, or external service integration visible. The browser loads `index.html`, which links the site stylesheet and client-side behavior.

Paths: `index.html`, `style.css`, `script.js`

#### Document and Content Layer
`index.html` is the primary content and page-composition boundary. It likely defines the CV sections, navigation, semantic structure, links, and references to visual/downloadable assets. The PDF is a parallel downloadable or reference version of the résumé rather than application data.

Paths: `index.html`, `Imara_CV.pdf`

#### Presentation Layer
`style.css` owns visual layout, typography, responsive behavior, colors, and section-level presentation. It is separated from HTML content and JavaScript interaction, allowing styling changes without altering page structure or behavior.

Paths: `style.css`, `index.html`

#### Browser Interaction Layer
`script.js` is the sole client-side behavior boundary. It is responsible for any DOM-driven interactions such as navigation handling, scrolling, active-state changes, animations, or UI controls defined by the page. It runs entirely in the browser against elements rendered from `index.html`.

Paths: `script.js`, `index.html`

#### Static Asset Boundary
The `images` directory contains image resources consumed by the HTML and/or CSS, such as profile imagery, project visuals, icons, or decorative media. These assets are shipped directly with the site and requested by the browser as static files.

Paths: `images`, `index.html`, `style.css`

#### Runtime and Delivery Model
The architecture is browser-only: a static HTTP host can serve the repository root without server-side execution, databases, APIs, authentication, or environment configuration. The main flow is: request `index.html` → load `style.css`, `script.js`, and referenced `images` → JavaScript enhances the rendered document → users may access `Imara_CV.pdf`.

Paths: `index.html`, `script.js`, `images`

Main entry points: [`index.html`](https://github.com/imaramoh/portfolio/blob/main/index.html) (CV page), [`images`](https://github.com/imaramoh/portfolio/tree/main/images) (Images), [`style.css`](https://github.com/imaramoh/portfolio/blob/main/style.css) (Site styles), [`script.js`](https://github.com/imaramoh/portfolio/blob/main/script.js) (Client interactions)

## Diagram (Mermaid)

```mermaid
flowchart TD

subgraph group_browser["Browser runtime"]
  node_document["CV page<br/>HTML document<br/>[index.html]"]
  node_styles["Site styles<br/>CSS stylesheet<br/>[style.css]"]
  node_behavior["Client interactions<br/>browser JavaScript<br/>[script.js]"]
end

subgraph group_assets["Static assets"]
  node_images["Images<br/>media assets"]
  node_cv_pdf["Downloadable CV<br/>PDF document<br/>[Imara_CV.pdf]"]
end

node_host{{"Static HTTP host<br/>delivery"}}
node_user(("Site visitor<br/>user"))

node_user -->|"requests site"| node_host
node_host -->|"serves entry page"| node_document
node_document -->|"loads"| node_styles
node_document -->|"loads"| node_behavior
node_document -->|"references"| node_images
node_styles -.->|"may reference"| node_images
node_behavior -->|"enhances DOM"| node_document
node_document -->|"links to"| node_cv_pdf
node_host -->|"serves"| node_images
node_host -->|"serves"| node_cv_pdf

click node_document "https://github.com/imaramoh/portfolio/blob/main/index.html"
click node_styles "https://github.com/imaramoh/portfolio/blob/main/style.css"
click node_behavior "https://github.com/imaramoh/portfolio/blob/main/script.js"
click node_images "https://github.com/imaramoh/portfolio/tree/main/images"
click node_cv_pdf "https://github.com/imaramoh/portfolio/blob/main/Imara_CV.pdf"

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_document,node_styles,node_behavior toneBlue
class node_images,node_cv_pdf toneAmber
class node_host,node_user toneNeutral
```

## Components

### Browser runtime

Static assets are loaded and executed entirely in the browser.

- [CV page](https://github.com/imaramoh/portfolio/blob/main/index.html): HTML document · Composes CV content, navigation, and asset references. · `index.html`
- [Site styles](https://github.com/imaramoh/portfolio/blob/main/style.css): CSS stylesheet · Defines layout, typography, responsiveness, and visual presentation. · `style.css`
- [Client interactions](https://github.com/imaramoh/portfolio/blob/main/script.js): browser JavaScript · Enhances rendered page elements with DOM-driven behavior. · `script.js`

### Static assets

Files served directly by a static HTTP host.

- [Images](https://github.com/imaramoh/portfolio/tree/main/images): media assets · Profile, project, icon, or decorative image resources. · `images`
- [Downloadable CV](https://github.com/imaramoh/portfolio/blob/main/Imara_CV.pdf): PDF document · Parallel downloadable résumé version. · `Imara_CV.pdf`

### Other components

- **Static HTTP host**: delivery · Serves repository files without backend execution.
- **Site visitor**: user

## Connections

- Site visitor → Static HTTP host: requests site
- Static HTTP host → CV page: serves entry page
- CV page → Site styles: loads
- CV page → Client interactions: loads
- CV page → Images: references
- Site styles → Images: may reference
- Client interactions → CV page: enhances DOM
- CV page → Downloadable CV: links to
- Static HTTP host → Images: serves
- Static HTTP host → Downloadable CV: serves
