# ivanribeirodf/portfolio architecture

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

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

## Overview

This repository is a React portfolio website. A visitor enters through the React mount, which renders the page; the page presents profile, skills, project examples, and contact links from editable content. The README also documents an optional CV link and Google Fonts dependency. The sampled code shows the page composition and content access; styling internals were not sampled, so the stylesheet is represented only as an imported runtime layer.

Main entry points: [`src/App.jsx`](https://github.com/ivanribeirodf/portfolio/blob/main/src/App.jsx) (Portfolio page), [`src/main.jsx`](https://github.com/ivanribeirodf/portfolio/blob/main/src/main.jsx) (React mount), [`src/styles.css`](https://github.com/ivanribeirodf/portfolio/blob/main/src/styles.css) (Page styling), [`src/data.js`](https://github.com/ivanribeirodf/portfolio/blob/main/src/data.js) (Profile details)

## Diagram (Mermaid)

```mermaid
flowchart TD

subgraph group_runtime["Page runtime"]
  node_mount["React mount<br/>[main.jsx]"]
  node_page["Portfolio page<br/>[App.jsx]"]
  node_styles["Page styling<br/>[styles.css]"]
  node_header["Navigation<br/>[App.jsx]"]
  node_hero["Introduction<br/>[App.jsx]"]
  node_about["About section<br/>[App.jsx]"]
  node_stack["Skills section<br/>[App.jsx]"]
  node_projects["Projects section<br/>[App.jsx]"]
  node_contact["Contact section<br/>[App.jsx]"]
  node_footer["Page footer<br/>[App.jsx]"]
end

subgraph group_content["Portfolio content"]
  node_profile["Profile details<br/>[data.js]"]
  node_skilldata["Skill groups<br/>[data.js]"]
  node_projectdata["Project entries<br/>[data.js]"]
end

subgraph group_destinations["Contact destinations"]
  node_email(("Email destination"))
  node_github(("GitHub destination"))
  node_linkedin(("LinkedIn destination"))
  node_cv["CV file"]
  node_googlefonts(("Google Fonts"))
end

node_visitor(("Visitor"))

node_visitor -->|"opens site"| node_mount
node_mount -->|"renders"| node_page
node_mount -->|"imports styles"| node_styles
node_page -->|"renders"| node_header
node_page -->|"renders"| node_hero
node_page -->|"renders"| node_about
node_page -->|"renders"| node_stack
node_page -->|"renders"| node_projects
node_page -->|"renders"| node_contact
node_page -->|"renders"| node_footer
node_page -->|"reads profile"| node_profile
node_page -->|"reads skills"| node_skilldata
node_page -->|"reads projects"| node_projectdata
node_contact -->|"links to"| node_email
node_contact -->|"links to"| node_github
node_contact -->|"links to"| node_linkedin
node_contact -->|"optionally links"| node_cv
node_styles -.->|"loads fonts"| node_googlefonts

click node_mount "https://github.com/ivanribeirodf/portfolio/blob/main/src/main.jsx"
click node_page "https://github.com/ivanribeirodf/portfolio/blob/main/src/App.jsx"
click node_styles "https://github.com/ivanribeirodf/portfolio/blob/main/src/styles.css"
click node_header "https://github.com/ivanribeirodf/portfolio/blob/main/src/App.jsx"
click node_hero "https://github.com/ivanribeirodf/portfolio/blob/main/src/App.jsx"
click node_about "https://github.com/ivanribeirodf/portfolio/blob/main/src/App.jsx"
click node_stack "https://github.com/ivanribeirodf/portfolio/blob/main/src/App.jsx"
click node_projects "https://github.com/ivanribeirodf/portfolio/blob/main/src/App.jsx"
click node_contact "https://github.com/ivanribeirodf/portfolio/blob/main/src/App.jsx"
click node_footer "https://github.com/ivanribeirodf/portfolio/blob/main/src/App.jsx"
click node_profile "https://github.com/ivanribeirodf/portfolio/blob/main/src/data.js"
click node_skilldata "https://github.com/ivanribeirodf/portfolio/blob/main/src/data.js"
click node_projectdata "https://github.com/ivanribeirodf/portfolio/blob/main/src/data.js"

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_mount,node_page,node_styles,node_header,node_hero,node_about,node_stack,node_projects,node_contact,node_footer toneBlue
class node_profile,node_skilldata,node_projectdata toneAmber
class node_email,node_github,node_linkedin,node_cv,node_googlefonts toneMint
class node_visitor toneIndigo
```

## Components

### Page runtime

- [React mount](https://github.com/ivanribeirodf/portfolio/blob/main/src/main.jsx): `src/main.jsx`
- [Portfolio page](https://github.com/ivanribeirodf/portfolio/blob/main/src/App.jsx): `src/App.jsx`
- [Page styling](https://github.com/ivanribeirodf/portfolio/blob/main/src/styles.css): `src/styles.css`
- [Navigation](https://github.com/ivanribeirodf/portfolio/blob/main/src/App.jsx): `src/App.jsx`
- [Introduction](https://github.com/ivanribeirodf/portfolio/blob/main/src/App.jsx): `src/App.jsx`
- [About section](https://github.com/ivanribeirodf/portfolio/blob/main/src/App.jsx): `src/App.jsx`
- [Skills section](https://github.com/ivanribeirodf/portfolio/blob/main/src/App.jsx): `src/App.jsx`
- [Projects section](https://github.com/ivanribeirodf/portfolio/blob/main/src/App.jsx): `src/App.jsx`
- [Contact section](https://github.com/ivanribeirodf/portfolio/blob/main/src/App.jsx): `src/App.jsx`
- [Page footer](https://github.com/ivanribeirodf/portfolio/blob/main/src/App.jsx): `src/App.jsx`

### Portfolio content

- [Profile details](https://github.com/ivanribeirodf/portfolio/blob/main/src/data.js): `src/data.js`
- [Skill groups](https://github.com/ivanribeirodf/portfolio/blob/main/src/data.js): `src/data.js`
- [Project entries](https://github.com/ivanribeirodf/portfolio/blob/main/src/data.js): `src/data.js`

### Contact destinations

- **Email destination**
- **GitHub destination**
- **LinkedIn destination**
- **CV file**
- **Google Fonts**

### Other components

- **Visitor**

## Connections

- Visitor → React mount: opens site
- React mount → Portfolio page: renders (evidence: `src/main.jsx`)
- React mount → Page styling: imports styles (evidence: `src/main.jsx`)
- Portfolio page → Navigation: renders (evidence: `src/App.jsx`)
- Portfolio page → Introduction: renders (evidence: `src/App.jsx`)
- Portfolio page → About section: renders (evidence: `src/App.jsx`)
- Portfolio page → Skills section: renders (evidence: `src/App.jsx`)
- Portfolio page → Projects section: renders (evidence: `src/App.jsx`)
- Portfolio page → Contact section: renders (evidence: `src/App.jsx`)
- Portfolio page → Page footer: renders (evidence: `src/App.jsx`)
- Portfolio page → Profile details: reads profile (evidence: `src/App.jsx`)
- Portfolio page → Skill groups: reads skills (evidence: `src/App.jsx`)
- Portfolio page → Project entries: reads projects (evidence: `src/App.jsx`)
- Contact section → Email destination: links to (evidence: `src/App.jsx`)
- Contact section → GitHub destination: links to (evidence: `src/App.jsx`)
- Contact section → LinkedIn destination: links to (evidence: `src/App.jsx`)
- Contact section → CV file: optionally links (evidence: `src/App.jsx`)
- Page styling → Google Fonts: loads fonts (evidence: `README.md`)
