# pierregr7/portefolio architecture

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

- Interactive diagram: https://gitdiagram.com/pierregr7/portefolio
- Repository: https://github.com/pierregr7/portefolio

## Overview

This is a Nuxt portfolio site presenting a profile, data-engineering projects, and bilingual articles. Visitors browse the homepage’s project and article listings, then open detail pages that retrieve and render Markdown content. The site also displays profile/contact information and links to a downloadable CV. The graph follows the sampled runtime calls; content directories are represented as subsystems because individual Markdown files were not sampled.

Main entry points: [`pages/index.vue`](https://github.com/pierregr7/portefolio/blob/main/pages/index.vue) (Portfolio homepage), [`app.vue`](https://github.com/pierregr7/portefolio/blob/main/app.vue) (Nuxt app shell), [`layouts/default.vue`](https://github.com/pierregr7/portefolio/blob/main/layouts/default.vue) (Profile layout), [`content/articles`](https://github.com/pierregr7/portefolio/tree/main/content/articles) (Article Markdown)

## Diagram (Mermaid)

```mermaid
flowchart TD

subgraph group_presentation["Site presentation"]
  node_app["Nuxt app shell<br/>[app.vue]"]
  node_layout["Profile layout<br/>[default.vue]"]
  node_home["Portfolio homepage<br/>[index.vue]"]
  node_article_page["Article detail<br/>[&#91;slug&#93;.vue]"]
  node_project_page["Project detail<br/>[&#91;slug&#93;.vue]"]
end

subgraph group_content["Portfolio content"]
  node_article_content["Article Markdown"]
  node_project_content["Project Markdown"]
  node_site_content["Homepage metadata<br/>[index.yml]"]
end

subgraph group_profile["Profile and contact"]
  node_cv["CV PDF"]
  node_webchat["Botpress webchat"]
end

node_visitor(("Visitor"))

node_visitor -->|"opens"| node_app
node_app -->|"renders layout"| node_layout
node_app -->|"renders page"| node_home
node_home -->|"queries listings"| node_article_content
node_home -->|"queries listings"| node_project_content
node_home -->|"queries metadata"| node_site_content
node_layout -->|"queries metadata"| node_site_content
node_article_page -->|"loads and renders"| node_article_content
node_article_page -->|"loads surround"| node_article_content
node_project_page -->|"loads and renders"| node_project_content
node_project_page -->|"loads surround"| node_project_content
node_home -->|"links CV"| node_cv
node_layout -.->|"loads scripts"| node_webchat

click node_app "https://github.com/pierregr7/portefolio/blob/main/app.vue"
click node_layout "https://github.com/pierregr7/portefolio/blob/main/layouts/default.vue"
click node_home "https://github.com/pierregr7/portefolio/blob/main/pages/index.vue"
click node_article_page "https://github.com/pierregr7/portefolio/blob/main/pages/articles/%5Bslug%5D.vue"
click node_project_page "https://github.com/pierregr7/portefolio/blob/main/pages/projects/%5Bslug%5D.vue"
click node_article_content "https://github.com/pierregr7/portefolio/tree/main/content/articles"
click node_project_content "https://github.com/pierregr7/portefolio/tree/main/content/projects"
click node_site_content "https://github.com/pierregr7/portefolio/blob/main/content/index.yml"
click node_cv "https://github.com/pierregr7/portefolio/blob/main/public/pdf/CV_Pierre_Graef.pdf"

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_app,node_layout,node_home,node_article_page,node_project_page toneBlue
class node_article_content,node_project_content,node_site_content toneAmber
class node_cv,node_webchat toneMint
class node_visitor toneIndigo
```

## Components

### Site presentation

- [Nuxt app shell](https://github.com/pierregr7/portefolio/blob/main/app.vue): `app.vue`
- [Profile layout](https://github.com/pierregr7/portefolio/blob/main/layouts/default.vue): `layouts/default.vue`
- [Portfolio homepage](https://github.com/pierregr7/portefolio/blob/main/pages/index.vue): `pages/index.vue`
- [Article detail](https://github.com/pierregr7/portefolio/blob/main/pages/articles/%5Bslug%5D.vue): `pages/articles/[slug].vue`
- [Project detail](https://github.com/pierregr7/portefolio/blob/main/pages/projects/%5Bslug%5D.vue): `pages/projects/[slug].vue`

### Portfolio content

- [Article Markdown](https://github.com/pierregr7/portefolio/tree/main/content/articles): `content/articles`
- [Project Markdown](https://github.com/pierregr7/portefolio/tree/main/content/projects): `content/projects`
- [Homepage metadata](https://github.com/pierregr7/portefolio/blob/main/content/index.yml): `content/index.yml`

### Profile and contact

- [CV PDF](https://github.com/pierregr7/portefolio/blob/main/public/pdf/CV_Pierre_Graef.pdf): `public/pdf/CV_Pierre_Graef.pdf`
- **Botpress webchat**

### Other components

- **Visitor**

## Connections

- Visitor → Nuxt app shell: opens
- Nuxt app shell → Profile layout: renders layout (evidence: `app.vue`)
- Nuxt app shell → Portfolio homepage: renders page (evidence: `app.vue`)
- Portfolio homepage → Article Markdown: queries listings (evidence: `pages/index.vue`)
- Portfolio homepage → Project Markdown: queries listings (evidence: `pages/index.vue`)
- Portfolio homepage → Homepage metadata: queries metadata (evidence: `pages/index.vue`)
- Profile layout → Homepage metadata: queries metadata (evidence: `layouts/default.vue`)
- Article detail → Article Markdown: loads and renders (evidence: `pages/articles/[slug].vue`)
- Article detail → Article Markdown: loads surround (evidence: `pages/articles/[slug].vue`)
- Project detail → Project Markdown: loads and renders (evidence: `pages/projects/[slug].vue`)
- Project detail → Project Markdown: loads surround (evidence: `pages/projects/[slug].vue`)
- Portfolio homepage → CV PDF: links CV (evidence: `pages/index.vue`)
- Profile layout → Botpress webchat: loads scripts (evidence: `layouts/default.vue`)
