# josefaroca/portafolio architecture

> Architecture diagram of the GitHub repository josefaroca/portafolio, 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/josefaroca/portafolio
- Repository: https://github.com/josefaroca/portafolio

## Overview

This is a React portfolio site. A visitor first sees an animated welcome screen; selecting “portafolio” updates state, reveals navigation and portfolio sections, and scrolls to the biography. The revealed content presents the person, projects, credentials, technology stack, and contact links. The graph reflects the composition and imports visible in the supplied excerpts and source index; CredentialsSection is included because App.jsx references it, though its implementation was not sampled.

Main entry points: [`src/App.jsx`](https://github.com/josefaroca/portafolio/blob/main/src/App.jsx) (Portfolio app), [`src/components/BrandIcons.jsx`](https://github.com/josefaroca/portafolio/blob/main/src/components/BrandIcons.jsx) (Brand icons), [`src/main.jsx`](https://github.com/josefaroca/portafolio/blob/main/src/main.jsx) (React entry), [`src/components/WelcomeHero.jsx`](https://github.com/josefaroca/portafolio/blob/main/src/components/WelcomeHero.jsx) (Welcome hero)

## Diagram (Mermaid)

```mermaid
flowchart TD

subgraph group_app["Application shell"]
  node_entry["React entry<br/>[main.jsx]"]
  node_app_shell["Portfolio app<br/>[App.jsx]"]
end

subgraph group_presentation["Portfolio content"]
  node_welcome["Welcome hero<br/>[WelcomeHero.jsx]"]
  node_stars["Star background<br/>[StarBackground.jsx]"]
  node_navbar["Navigation<br/>[Navbar.jsx]"]
  node_bio["Personal profile<br/>[PersonalHeader.jsx]"]
  node_projects["Project showcase"]
  node_credentials["Credentials"]
  node_stack_contact["Stack and contact"]
end

subgraph group_shared["Shared visuals"]
  node_icons["Brand icons<br/>[BrandIcons.jsx]"]
end

node_visitor(("Visitor"))

node_visitor -->|"opens site"| node_entry
node_entry -->|"renders"| node_app_shell
node_app_shell -->|"renders with state"| node_welcome
node_welcome -->|"signals entry"| node_app_shell
node_app_shell -->|"renders"| node_stars
node_app_shell -->|"reveals after entry"| node_navbar
node_app_shell -->|"reveals after entry"| node_bio
node_app_shell -->|"reveals after entry"| node_projects
node_app_shell -->|"reveals after entry"| node_credentials
node_app_shell -->|"reveals after entry"| node_stack_contact
node_navbar -->|"uses icons"| node_icons
node_bio -->|"uses icons"| node_icons
node_projects -->|"uses icons"| node_icons
node_stack_contact -->|"uses icons"| node_icons

click node_entry "https://github.com/josefaroca/portafolio/blob/main/src/main.jsx"
click node_app_shell "https://github.com/josefaroca/portafolio/blob/main/src/App.jsx"
click node_welcome "https://github.com/josefaroca/portafolio/blob/main/src/components/WelcomeHero.jsx"
click node_stars "https://github.com/josefaroca/portafolio/blob/main/src/components/StarBackground.jsx"
click node_navbar "https://github.com/josefaroca/portafolio/blob/main/src/components/Navbar.jsx"
click node_bio "https://github.com/josefaroca/portafolio/blob/main/src/components/PersonalHeader.jsx"
click node_projects "https://github.com/josefaroca/portafolio/blob/main/src/components/ProjectsSection.jsx"
click node_credentials "https://github.com/josefaroca/portafolio/blob/main/src/components/CredentialsSection.jsx"
click node_stack_contact "https://github.com/josefaroca/portafolio/blob/main/src/components/StackAndContact.jsx"
click node_icons "https://github.com/josefaroca/portafolio/blob/main/src/components/BrandIcons.jsx"

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_entry,node_app_shell toneBlue
class node_welcome,node_stars,node_navbar,node_bio,node_projects,node_credentials,node_stack_contact toneAmber
class node_icons toneMint
class node_visitor toneIndigo
```

## Components

### Application shell

- [React entry](https://github.com/josefaroca/portafolio/blob/main/src/main.jsx): `src/main.jsx`
- [Portfolio app](https://github.com/josefaroca/portafolio/blob/main/src/App.jsx): `src/App.jsx`

### Portfolio content

- [Welcome hero](https://github.com/josefaroca/portafolio/blob/main/src/components/WelcomeHero.jsx): `src/components/WelcomeHero.jsx`
- [Star background](https://github.com/josefaroca/portafolio/blob/main/src/components/StarBackground.jsx): `src/components/StarBackground.jsx`
- [Navigation](https://github.com/josefaroca/portafolio/blob/main/src/components/Navbar.jsx): `src/components/Navbar.jsx`
- [Personal profile](https://github.com/josefaroca/portafolio/blob/main/src/components/PersonalHeader.jsx): `src/components/PersonalHeader.jsx`
- [Project showcase](https://github.com/josefaroca/portafolio/blob/main/src/components/ProjectsSection.jsx): `src/components/ProjectsSection.jsx`
- [Credentials](https://github.com/josefaroca/portafolio/blob/main/src/components/CredentialsSection.jsx): `src/components/CredentialsSection.jsx`
- [Stack and contact](https://github.com/josefaroca/portafolio/blob/main/src/components/StackAndContact.jsx): `src/components/StackAndContact.jsx`

### Shared visuals

- [Brand icons](https://github.com/josefaroca/portafolio/blob/main/src/components/BrandIcons.jsx): `src/components/BrandIcons.jsx`

### Other components

- **Visitor**

## Connections

- Visitor → React entry: opens site
- React entry → Portfolio app: renders (evidence: `src/main.jsx`)
- Portfolio app → Welcome hero: renders with state (evidence: `src/App.jsx`)
- Welcome hero → Portfolio app: signals entry (evidence: `src/components/WelcomeHero.jsx`)
- Portfolio app → Star background: renders (evidence: `src/App.jsx`)
- Portfolio app → Navigation: reveals after entry (evidence: `src/App.jsx`)
- Portfolio app → Personal profile: reveals after entry (evidence: `src/App.jsx`)
- Portfolio app → Project showcase: reveals after entry (evidence: `src/App.jsx`)
- Portfolio app → Credentials: reveals after entry (evidence: `src/App.jsx`)
- Portfolio app → Stack and contact: reveals after entry (evidence: `src/App.jsx`)
- Navigation → Brand icons: uses icons (evidence: `src/components/Navbar.jsx`)
- Personal profile → Brand icons: uses icons (evidence: `src/components/PersonalHeader.jsx`)
- Project showcase → Brand icons: uses icons (evidence: `src/components/ProjectsSection.jsx`)
- Stack and contact → Brand icons: uses icons (evidence: `src/components/StackAndContact.jsx`)
