# aryancodespy/portfolio-updated architecture

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

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

## Overview

This is a static portfolio and marketing website: visitors browse the portfolio, articles, case studies, and contact information. Its contact workflow has two distinct POST handlers; each validates submitted fields and sends an email, with different recipient addresses and response messages. The HTML files indicate the site’s content areas, but their markup and wiring were not sampled, so links between pages and form endpoints are not asserted. The graph’s content-serving relationships are therefore shown as unverified.

Main entry points: [`mailchat.php`](https://github.com/aryancodespy/portfolio-updated/blob/main/mailchat.php) (Mailchat Handler), [`mailer.php`](https://github.com/aryancodespy/portfolio-updated/blob/main/mailer.php) (Mailer Handler), [`index.html`](https://github.com/aryancodespy/portfolio-updated/blob/main/index.html) (Home), [`about.html`](https://github.com/aryancodespy/portfolio-updated/blob/main/about.html) (About)

## Diagram (Mermaid)

```mermaid
flowchart TD

subgraph group_site["Portfolio Site"]
  node_home["Home<br/>[index.html]"]
  node_about["About<br/>[about.html]"]
  node_projects["Projects<br/>[project.html]"]
  node_contact_page["Contact Page<br/>[contact.html]"]
  node_error_page["Error Page<br/>[404.html]"]
end

subgraph group_editorial["Editorial Content"]
  node_blog_index["Blog Index<br/>[blog.html]"]
  node_blog_articles["Blog Articles"]
  node_case_studies["Case Studies"]
end

subgraph group_contact["Contact Handling"]
  node_mailchat["Mailchat Handler<br/>[mailchat.php]"]
  node_mailer["Mailer Handler<br/>[mailer.php]"]
end

node_visitor(("Visitor"))
node_mail_transport(("Mail Transport"))

node_visitor -.->|"views"| node_home
node_visitor -.->|"views"| node_about
node_visitor -.->|"views"| node_projects
node_visitor -.->|"views"| node_contact_page
node_visitor -.->|"views"| node_blog_index
node_visitor -.->|"views"| node_blog_articles
node_visitor -.->|"views"| node_case_studies
node_visitor -.->|"views"| node_error_page
node_visitor -->|"POSTs"| node_mailchat
node_visitor -->|"POSTs"| node_mailer
node_mailchat -->|"sends email"| node_mail_transport
node_mailer -->|"sends email"| node_mail_transport

click node_home "https://github.com/aryancodespy/portfolio-updated/blob/main/index.html"
click node_about "https://github.com/aryancodespy/portfolio-updated/blob/main/about.html"
click node_projects "https://github.com/aryancodespy/portfolio-updated/blob/main/project.html"
click node_contact_page "https://github.com/aryancodespy/portfolio-updated/blob/main/contact.html"
click node_blog_index "https://github.com/aryancodespy/portfolio-updated/blob/main/blog.html"
click node_blog_articles "https://github.com/aryancodespy/portfolio-updated/tree/main/blog_pages"
click node_case_studies "https://github.com/aryancodespy/portfolio-updated/tree/main/case_studies"
click node_error_page "https://github.com/aryancodespy/portfolio-updated/blob/main/404.html"
click node_mailchat "https://github.com/aryancodespy/portfolio-updated/blob/main/mailchat.php"
click node_mailer "https://github.com/aryancodespy/portfolio-updated/blob/main/mailer.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_home,node_about,node_projects,node_contact_page,node_error_page toneBlue
class node_blog_index,node_blog_articles,node_case_studies toneAmber
class node_mailchat,node_mailer toneMint
class node_visitor,node_mail_transport toneIndigo
```

## Components

### Portfolio Site

- [Home](https://github.com/aryancodespy/portfolio-updated/blob/main/index.html): `index.html`
- [About](https://github.com/aryancodespy/portfolio-updated/blob/main/about.html): `about.html`
- [Projects](https://github.com/aryancodespy/portfolio-updated/blob/main/project.html): `project.html`
- [Contact Page](https://github.com/aryancodespy/portfolio-updated/blob/main/contact.html): `contact.html`
- [Error Page](https://github.com/aryancodespy/portfolio-updated/blob/main/404.html): `404.html`

### Editorial Content

- [Blog Index](https://github.com/aryancodespy/portfolio-updated/blob/main/blog.html): `blog.html`
- [Blog Articles](https://github.com/aryancodespy/portfolio-updated/tree/main/blog_pages): `blog_pages`
- [Case Studies](https://github.com/aryancodespy/portfolio-updated/tree/main/case_studies): `case_studies`

### Contact Handling

- [Mailchat Handler](https://github.com/aryancodespy/portfolio-updated/blob/main/mailchat.php): `mailchat.php`
- [Mailer Handler](https://github.com/aryancodespy/portfolio-updated/blob/main/mailer.php): `mailer.php`

### Other components

- **Visitor**
- **Mail Transport**

## Connections

- Visitor → Home: views
- Visitor → About: views
- Visitor → Projects: views
- Visitor → Contact Page: views
- Visitor → Blog Index: views
- Visitor → Blog Articles: views
- Visitor → Case Studies: views
- Visitor → Error Page: views
- Visitor → Mailchat Handler: POSTs (evidence: `mailchat.php`)
- Visitor → Mailer Handler: POSTs (evidence: `mailer.php`)
- Mailchat Handler → Mail Transport: sends email (evidence: `mailchat.php`)
- Mailer Handler → Mail Transport: sends email (evidence: `mailer.php`)
