# matius2002/portafolio-web architecture

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

- Interactive diagram: https://gitdiagram.com/matius2002/portafolio-web
- Repository: https://github.com/matius2002/portafolio-web

## Overview

This is a minimal personal-portfolio web app. A visitor opens the Reflex page, which loads portfolio content from JSON and assembles profile, technology, experience, project, education, certification, extras, and contact sections. Section views render reusable visual components; contact and content links can lead to external destinations. The graph follows documented calls and imports; some small view implementations were not sampled, so their connections rely on the source index.

Main entry points: [`portafolio/portafolio.py`](https://github.com/matius2002/portafolio-web/blob/main/portafolio/portafolio.py) (Portfolio page), [`portafolio/components/heading.py`](https://github.com/matius2002/portafolio-web/blob/main/portafolio/components/heading.py) (Section heading), [`portafolio/views/info.py`](https://github.com/matius2002/portafolio-web/blob/main/portafolio/views/info.py) (Career sections), [`portafolio/views/extra.py`](https://github.com/matius2002/portafolio-web/blob/main/portafolio/views/extra.py) (Extra resources)

## Diagram (Mermaid)

```mermaid
flowchart TD

subgraph group_runtime["Page runtime"]
  node_page["Portfolio page<br/>[portafolio.py]"]
end

subgraph group_content["Portfolio content"]
  node_json["Portfolio JSON<br/>[data.json]"]
  node_data["Data loader<br/>[data.py]"]
  node_header["Profile header<br/>[header.py]"]
  node_about["About section<br/>[about.py]"]
  node_tech["Technology stack<br/>[tech_stack.py]"]
  node_info["Career sections<br/>[info.py]"]
  node_extras["Extra resources<br/>[extra.py]"]
  node_footer["Contact footer<br/>[footer.py]"]
end

subgraph group_visuals["Reusable components"]
  node_heading["Section heading<br/>[heading.py]"]
  node_info_detail["Entry details<br/>[info_detail.py]"]
  node_card["Resource card<br/>[card_detail.py]"]
  node_media["Contact links<br/>[media.py]"]
  node_button["Icon link button<br/>[icon_button.py]"]
  node_badge["Icon badge<br/>[icon_badge.py]"]
end

subgraph group_presentation["Styles"]
  node_styles["Style tokens<br/>[styles.py]"]
end

node_visitor(("Visitor"))

node_visitor -->|"opens"| node_page
node_page -->|"loads"| node_data
node_data -->|"reads"| node_json
node_page -->|"renders"| node_header
node_page -->|"renders"| node_about
node_page -->|"renders"| node_tech
node_page -->|"renders"| node_info
node_page -->|"renders"| node_extras
node_page -->|"renders"| node_footer
node_header -->|"renders"| node_media
node_footer -->|"renders"| node_media
node_about -->|"uses"| node_heading
node_tech -->|"uses"| node_heading
node_info -->|"uses"| node_heading
node_info -->|"renders"| node_info_detail
node_extras -->|"uses"| node_heading
node_extras -->|"renders"| node_card
node_info_detail -->|"renders"| node_badge
node_info_detail -->|"uses"| node_button
node_media -->|"uses"| node_button
node_card -->|"links outward"| node_visitor
node_button -->|"links outward"| node_visitor
node_page -->|"configures"| node_styles

click node_page "https://github.com/matius2002/portafolio-web/blob/main/portafolio/portafolio.py"
click node_json "https://github.com/matius2002/portafolio-web/blob/main/assets/data/data.json"
click node_data "https://github.com/matius2002/portafolio-web/blob/main/portafolio/data.py"
click node_header "https://github.com/matius2002/portafolio-web/blob/main/portafolio/views/header.py"
click node_about "https://github.com/matius2002/portafolio-web/blob/main/portafolio/views/about.py"
click node_tech "https://github.com/matius2002/portafolio-web/blob/main/portafolio/views/tech_stack.py"
click node_info "https://github.com/matius2002/portafolio-web/blob/main/portafolio/views/info.py"
click node_extras "https://github.com/matius2002/portafolio-web/blob/main/portafolio/views/extra.py"
click node_footer "https://github.com/matius2002/portafolio-web/blob/main/portafolio/views/footer.py"
click node_heading "https://github.com/matius2002/portafolio-web/blob/main/portafolio/components/heading.py"
click node_info_detail "https://github.com/matius2002/portafolio-web/blob/main/portafolio/components/info_detail.py"
click node_card "https://github.com/matius2002/portafolio-web/blob/main/portafolio/components/card_detail.py"
click node_media "https://github.com/matius2002/portafolio-web/blob/main/portafolio/components/media.py"
click node_button "https://github.com/matius2002/portafolio-web/blob/main/portafolio/components/icon_button.py"
click node_badge "https://github.com/matius2002/portafolio-web/blob/main/portafolio/components/icon_badge.py"
click node_styles "https://github.com/matius2002/portafolio-web/blob/main/portafolio/styles/styles.py"

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 toneBlue
class node_json,node_data,node_header,node_about,node_tech,node_info,node_extras,node_footer toneAmber
class node_heading,node_info_detail,node_card,node_media,node_button,node_badge toneMint
class node_styles toneRose
class node_visitor toneIndigo
```

## Components

### Page runtime

- [Portfolio page](https://github.com/matius2002/portafolio-web/blob/main/portafolio/portafolio.py): `portafolio/portafolio.py`

### Portfolio content

- [Portfolio JSON](https://github.com/matius2002/portafolio-web/blob/main/assets/data/data.json): `assets/data/data.json`
- [Data loader](https://github.com/matius2002/portafolio-web/blob/main/portafolio/data.py): `portafolio/data.py`
- [Profile header](https://github.com/matius2002/portafolio-web/blob/main/portafolio/views/header.py): `portafolio/views/header.py`
- [About section](https://github.com/matius2002/portafolio-web/blob/main/portafolio/views/about.py): `portafolio/views/about.py`
- [Technology stack](https://github.com/matius2002/portafolio-web/blob/main/portafolio/views/tech_stack.py): `portafolio/views/tech_stack.py`
- [Career sections](https://github.com/matius2002/portafolio-web/blob/main/portafolio/views/info.py): `portafolio/views/info.py`
- [Extra resources](https://github.com/matius2002/portafolio-web/blob/main/portafolio/views/extra.py): `portafolio/views/extra.py`
- [Contact footer](https://github.com/matius2002/portafolio-web/blob/main/portafolio/views/footer.py): `portafolio/views/footer.py`

### Reusable components

- [Section heading](https://github.com/matius2002/portafolio-web/blob/main/portafolio/components/heading.py): `portafolio/components/heading.py`
- [Entry details](https://github.com/matius2002/portafolio-web/blob/main/portafolio/components/info_detail.py): `portafolio/components/info_detail.py`
- [Resource card](https://github.com/matius2002/portafolio-web/blob/main/portafolio/components/card_detail.py): `portafolio/components/card_detail.py`
- [Contact links](https://github.com/matius2002/portafolio-web/blob/main/portafolio/components/media.py): `portafolio/components/media.py`
- [Icon link button](https://github.com/matius2002/portafolio-web/blob/main/portafolio/components/icon_button.py): `portafolio/components/icon_button.py`
- [Icon badge](https://github.com/matius2002/portafolio-web/blob/main/portafolio/components/icon_badge.py): `portafolio/components/icon_badge.py`

### Styles

- [Style tokens](https://github.com/matius2002/portafolio-web/blob/main/portafolio/styles/styles.py): `portafolio/styles/styles.py`

### Other components

- **Visitor**

## Connections

- Visitor → Portfolio page: opens (evidence: `portafolio/portafolio.py`)
- Portfolio page → Data loader: loads (evidence: `portafolio/portafolio.py`)
- Data loader → Portfolio JSON: reads (evidence: `portafolio/data.py`)
- Portfolio page → Profile header: renders (evidence: `portafolio/portafolio.py`)
- Portfolio page → About section: renders (evidence: `portafolio/portafolio.py`)
- Portfolio page → Technology stack: renders (evidence: `portafolio/portafolio.py`)
- Portfolio page → Career sections: renders (evidence: `portafolio/portafolio.py`)
- Portfolio page → Extra resources: renders (evidence: `portafolio/portafolio.py`)
- Portfolio page → Contact footer: renders (evidence: `portafolio/portafolio.py`)
- Profile header → Contact links: renders (evidence: `portafolio/views/header.py`)
- Contact footer → Contact links: renders (evidence: `portafolio/views/footer.py`)
- About section → Section heading: uses (evidence: `portafolio/views/about.py`)
- Technology stack → Section heading: uses (evidence: `portafolio/views/tech_stack.py`)
- Career sections → Section heading: uses (evidence: `portafolio/views/info.py`)
- Career sections → Entry details: renders (evidence: `portafolio/views/info.py`)
- Extra resources → Section heading: uses (evidence: `portafolio/views/extra.py`)
- Extra resources → Resource card: renders (evidence: `portafolio/views/extra.py`)
- Entry details → Icon badge: renders (evidence: `portafolio/components/info_detail.py`)
- Entry details → Icon link button: uses (evidence: `portafolio/components/info_detail.py`)
- Contact links → Icon link button: uses (evidence: `portafolio/components/media.py`)
- Resource card → Visitor: links outward (evidence: `portafolio/components/card_detail.py`)
- Icon link button → Visitor: links outward (evidence: `portafolio/components/icon_button.py`)
- Portfolio page → Style tokens: configures (evidence: `portafolio/portafolio.py`)
