# rotichbrimin/my-portfolio architecture

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

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

## Overview

This repository is a personal portfolio website, with project and testimonial showcases plus a contact-form backend. The tree identifies the page, scripts, styles, and content directories, but their source was not provided, so their runtime connections cannot be verified. The contact handler excerpt shows that it loads and uses the PHP Email Form library; the library itself is not present in the tree. The principal visitor journey is therefore represented without assuming how the page wires its scripts or form.

Main entry points: [`forms/contact.php`](https://github.com/rotichbrimin/my-portfolio/blob/main/forms/contact.php) (Contact handler)

## Diagram (Mermaid)

```mermaid
flowchart TD

subgraph group_site["Portfolio site"]
  node_page["Portfolio page<br/>[index.html]"]
  node_interactions["Site interactions<br/>[main.js]"]
  node_styles["Site styles"]
end

subgraph group_content["Showcase content"]
  node_project_ui["Project behavior<br/>[projects.js]"]
  node_project_images["Project images"]
  node_testimonial_ui["Testimonial behavior<br/>[testimonials.js]"]
  node_testimonial_images["Testimonial images"]
end

subgraph group_contact["Contact handling"]
  node_contact_handler["Contact handler<br/>[contact.php]"]
  node_email_library["PHP Email Form"]
end

node_visitor(("Visitor"))

node_contact_handler -->|"loads and uses"| node_email_library

click node_page "https://github.com/rotichbrimin/my-portfolio/blob/main/index.html"
click node_interactions "https://github.com/rotichbrimin/my-portfolio/blob/main/assets/js/main.js"
click node_styles "https://github.com/rotichbrimin/my-portfolio/tree/main/assets/css"
click node_project_ui "https://github.com/rotichbrimin/my-portfolio/blob/main/assets/js/projects.js"
click node_project_images "https://github.com/rotichbrimin/my-portfolio/tree/main/assets/img/projects"
click node_testimonial_ui "https://github.com/rotichbrimin/my-portfolio/blob/main/assets/js/testimonials.js"
click node_testimonial_images "https://github.com/rotichbrimin/my-portfolio/tree/main/assets/img/testimonials"
click node_contact_handler "https://github.com/rotichbrimin/my-portfolio/blob/main/forms/contact.php"

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_interactions,node_styles toneBlue
class node_project_ui,node_project_images,node_testimonial_ui,node_testimonial_images toneAmber
class node_contact_handler,node_email_library toneMint
class node_visitor toneIndigo
```

## Components

### Portfolio site

- [Portfolio page](https://github.com/rotichbrimin/my-portfolio/blob/main/index.html): `index.html`
- [Site interactions](https://github.com/rotichbrimin/my-portfolio/blob/main/assets/js/main.js): `assets/js/main.js`
- [Site styles](https://github.com/rotichbrimin/my-portfolio/tree/main/assets/css): `assets/css`

### Showcase content

- [Project behavior](https://github.com/rotichbrimin/my-portfolio/blob/main/assets/js/projects.js): `assets/js/projects.js`
- [Project images](https://github.com/rotichbrimin/my-portfolio/tree/main/assets/img/projects): `assets/img/projects`
- [Testimonial behavior](https://github.com/rotichbrimin/my-portfolio/blob/main/assets/js/testimonials.js): `assets/js/testimonials.js`
- [Testimonial images](https://github.com/rotichbrimin/my-portfolio/tree/main/assets/img/testimonials): `assets/img/testimonials`

### Contact handling

- [Contact handler](https://github.com/rotichbrimin/my-portfolio/blob/main/forms/contact.php): `forms/contact.php`
- **PHP Email Form**

### Other components

- **Visitor**

## Connections

- Contact handler → PHP Email Form: loads and uses (evidence: `forms/contact.php`)
