# tardigab/portfolio27 architecture

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

- Interactive diagram: https://gitdiagram.com/tardigab/portfolio27
- Repository: https://github.com/tardigab/portfolio27

## Overview

This is a personal front-end developer portfolio. Visitors explore the landing page, browse project cards, open a case study rendered from MDX, and follow links to the featured work or contact channels. The main internal layers are the landing-page sections and shared presentation components; the case-study route reads MDX files, compiles their content, and renders it with custom components. The graph follows documented routes and source-index references; unsampled implementation details are not inferred.

Main entry points: [`src/app/page.tsx`](https://github.com/tardigab/portfolio27/blob/main/src/app/page.tsx) (Home page), [`src/app/case/[caseSlug]/page.tsx`](https://github.com/tardigab/portfolio27/blob/main/src/app/case/%5BcaseSlug%5D/page.tsx) (Case detail route), [`src/app/components/ui/RollingLink/rolling-link.tsx`](https://github.com/tardigab/portfolio27/blob/main/src/app/components/ui/RollingLink/rolling-link.tsx) (Rolling link), [`src/app/components/mdx/mdx-components.tsx`](https://github.com/tardigab/portfolio27/blob/main/src/app/components/mdx/mdx-components.tsx) (MDX component mapping)

## Diagram (Mermaid)

```mermaid
flowchart TD

subgraph group_landing["Landing page"]
  node_home["Home page<br/>[page.tsx]"]
  node_hero["Hero<br/>[hero.tsx]"]
  node_projects["Projects section<br/>[projects.tsx]"]
  node_about["About section<br/>[about.tsx]"]
  node_contact["Contact section<br/>[contact.tsx]"]
  node_landing_wrap["Landing wrapper"]
end

subgraph group_cases["Case studies"]
  node_case_index["Case index<br/>[page.tsx]"]
  node_case_route["Case detail route<br/>[page.tsx]"]
  node_case_shell["Case layout"]
end

subgraph group_shared["Shared presentation"]
  node_mdx_render["MDX component mapping<br/>[mdx-components.tsx]"]
  node_project_list["Project list<br/>[projects-list.tsx]"]
  node_project_card["Project card<br/>[project-card.tsx]"]
  node_carousel["Case carousel<br/>[carousel.tsx]"]
  node_case_image["Case image<br/>[case-image.tsx]"]
  node_navigation["Navigation<br/>[navigation.tsx]"]
  node_footer["Footer<br/>[footer.tsx]"]
  node_rolling_link["Rolling link<br/>[rolling-link.tsx]"]
  node_cursor["Custom cursor<br/>[custom-cursor.tsx]"]
end

subgraph group_content["Portfolio content"]
  node_mdx_content["Case MDX files"]
  node_mdx_types["Case metadata types<br/>[mdx.ts]"]
end

node_visitor(("Visitor"))

node_visitor -->|"opens"| node_home
node_visitor -->|"browses cases"| node_case_index
node_visitor -->|"opens case"| node_case_route
node_home -->|"wraps content"| node_landing_wrap
node_home -->|"renders"| node_navigation
node_home -->|"renders"| node_hero
node_home -->|"renders"| node_projects
node_home -->|"renders"| node_about
node_home -->|"renders"| node_contact
node_home -->|"renders"| node_footer
node_home -->|"renders"| node_cursor
node_projects -->|"renders"| node_project_list
node_project_list -->|"renders"| node_project_card
node_case_index -->|"renders"| node_project_card
node_case_index -->|"uses types"| node_mdx_types
node_case_route -->|"reads and compiles"| node_mdx_content
node_case_route -->|"renders with"| node_mdx_render
node_case_route -->|"uses types"| node_mdx_types
node_mdx_render -->|"renders"| node_carousel
node_mdx_render -->|"renders"| node_case_image
node_mdx_render -->|"renders"| node_rolling_link
node_case_route -->|"renders links"| node_rolling_link
node_case_route -->|"uses layout"| node_case_shell
node_case_shell -->|"renders"| node_navigation
node_case_shell -->|"renders"| node_footer
node_hero -->|"renders"| node_rolling_link
node_contact -->|"renders"| node_rolling_link
node_footer -->|"renders"| node_rolling_link

click node_home "https://github.com/tardigab/portfolio27/blob/main/src/app/page.tsx"
click node_hero "https://github.com/tardigab/portfolio27/blob/main/src/app/components/landing/Hero/hero.tsx"
click node_projects "https://github.com/tardigab/portfolio27/blob/main/src/app/components/landing/Projects/projects.tsx"
click node_about "https://github.com/tardigab/portfolio27/blob/main/src/app/components/landing/About/about.tsx"
click node_contact "https://github.com/tardigab/portfolio27/blob/main/src/app/components/landing/Contact/contact.tsx"
click node_landing_wrap "https://github.com/tardigab/portfolio27/blob/main/src/app/components/landing/LandingWrapper/landing-wrapper.tsx"
click node_case_index "https://github.com/tardigab/portfolio27/blob/main/src/app/case/page.tsx"
click node_case_route "https://github.com/tardigab/portfolio27/blob/main/src/app/case/%5BcaseSlug%5D/page.tsx"
click node_case_shell "https://github.com/tardigab/portfolio27/blob/main/src/app/components/case/CaseLayoutWrapper/case-layout-wrapper.tsx"
click node_mdx_content "https://github.com/tardigab/portfolio27/tree/main/src/app/case/(cases)"
click node_mdx_types "https://github.com/tardigab/portfolio27/blob/main/src/types/mdx.ts"
click node_mdx_render "https://github.com/tardigab/portfolio27/blob/main/src/app/components/mdx/mdx-components.tsx"
click node_project_list "https://github.com/tardigab/portfolio27/blob/main/src/app/components/ui/ProjectsList/projects-list.tsx"
click node_project_card "https://github.com/tardigab/portfolio27/blob/main/src/app/components/ui/ProjectCard/project-card.tsx"
click node_carousel "https://github.com/tardigab/portfolio27/blob/main/src/app/components/ui/Caroussel/carousel.tsx"
click node_case_image "https://github.com/tardigab/portfolio27/blob/main/src/app/components/ui/CaseImage/case-image.tsx"
click node_navigation "https://github.com/tardigab/portfolio27/blob/main/src/app/components/ui/Navigation/navigation.tsx"
click node_footer "https://github.com/tardigab/portfolio27/blob/main/src/app/components/ui/Footer/footer.tsx"
click node_rolling_link "https://github.com/tardigab/portfolio27/blob/main/src/app/components/ui/RollingLink/rolling-link.tsx"
click node_cursor "https://github.com/tardigab/portfolio27/blob/main/src/app/components/ui/CustomCursor/custom-cursor.tsx"

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_hero,node_projects,node_about,node_contact,node_landing_wrap toneBlue
class node_case_index,node_case_route,node_case_shell toneAmber
class node_mdx_render,node_project_list,node_project_card,node_carousel,node_case_image,node_navigation,node_footer,node_rolling_link,node_cursor toneMint
class node_mdx_content,node_mdx_types toneRose
class node_visitor toneIndigo
```

## Components

### Landing page

- [Home page](https://github.com/tardigab/portfolio27/blob/main/src/app/page.tsx): `src/app/page.tsx`
- [Hero](https://github.com/tardigab/portfolio27/blob/main/src/app/components/landing/Hero/hero.tsx): `src/app/components/landing/Hero/hero.tsx`
- [Projects section](https://github.com/tardigab/portfolio27/blob/main/src/app/components/landing/Projects/projects.tsx): `src/app/components/landing/Projects/projects.tsx`
- [About section](https://github.com/tardigab/portfolio27/blob/main/src/app/components/landing/About/about.tsx): `src/app/components/landing/About/about.tsx`
- [Contact section](https://github.com/tardigab/portfolio27/blob/main/src/app/components/landing/Contact/contact.tsx): `src/app/components/landing/Contact/contact.tsx`
- [Landing wrapper](https://github.com/tardigab/portfolio27/blob/main/src/app/components/landing/LandingWrapper/landing-wrapper.tsx): `src/app/components/landing/LandingWrapper/landing-wrapper.tsx`

### Case studies

- [Case index](https://github.com/tardigab/portfolio27/blob/main/src/app/case/page.tsx): `src/app/case/page.tsx`
- [Case detail route](https://github.com/tardigab/portfolio27/blob/main/src/app/case/%5BcaseSlug%5D/page.tsx): `src/app/case/[caseSlug]/page.tsx`
- [Case layout](https://github.com/tardigab/portfolio27/blob/main/src/app/components/case/CaseLayoutWrapper/case-layout-wrapper.tsx): `src/app/components/case/CaseLayoutWrapper/case-layout-wrapper.tsx`

### Shared presentation

- [MDX component mapping](https://github.com/tardigab/portfolio27/blob/main/src/app/components/mdx/mdx-components.tsx): `src/app/components/mdx/mdx-components.tsx`
- [Project list](https://github.com/tardigab/portfolio27/blob/main/src/app/components/ui/ProjectsList/projects-list.tsx): `src/app/components/ui/ProjectsList/projects-list.tsx`
- [Project card](https://github.com/tardigab/portfolio27/blob/main/src/app/components/ui/ProjectCard/project-card.tsx): `src/app/components/ui/ProjectCard/project-card.tsx`
- [Case carousel](https://github.com/tardigab/portfolio27/blob/main/src/app/components/ui/Caroussel/carousel.tsx): `src/app/components/ui/Caroussel/carousel.tsx`
- [Case image](https://github.com/tardigab/portfolio27/blob/main/src/app/components/ui/CaseImage/case-image.tsx): `src/app/components/ui/CaseImage/case-image.tsx`
- [Navigation](https://github.com/tardigab/portfolio27/blob/main/src/app/components/ui/Navigation/navigation.tsx): `src/app/components/ui/Navigation/navigation.tsx`
- [Footer](https://github.com/tardigab/portfolio27/blob/main/src/app/components/ui/Footer/footer.tsx): `src/app/components/ui/Footer/footer.tsx`
- [Rolling link](https://github.com/tardigab/portfolio27/blob/main/src/app/components/ui/RollingLink/rolling-link.tsx): `src/app/components/ui/RollingLink/rolling-link.tsx`
- [Custom cursor](https://github.com/tardigab/portfolio27/blob/main/src/app/components/ui/CustomCursor/custom-cursor.tsx): `src/app/components/ui/CustomCursor/custom-cursor.tsx`

### Portfolio content

- [Case MDX files](https://github.com/tardigab/portfolio27/tree/main/src/app/case/(cases)): `src/app/case/(cases)`
- [Case metadata types](https://github.com/tardigab/portfolio27/blob/main/src/types/mdx.ts): `src/types/mdx.ts`

### Other components

- **Visitor**

## Connections

- Visitor → Home page: opens (evidence: `src/app/page.tsx`)
- Visitor → Case index: browses cases (evidence: `src/app/case/page.tsx`)
- Visitor → Case detail route: opens case (evidence: `src/app/case/[caseSlug]/page.tsx`)
- Home page → Landing wrapper: wraps content (evidence: `src/app/page.tsx`)
- Home page → Navigation: renders (evidence: `src/app/page.tsx`)
- Home page → Hero: renders (evidence: `src/app/page.tsx`)
- Home page → Projects section: renders (evidence: `src/app/page.tsx`)
- Home page → About section: renders (evidence: `src/app/page.tsx`)
- Home page → Contact section: renders (evidence: `src/app/page.tsx`)
- Home page → Footer: renders (evidence: `src/app/page.tsx`)
- Home page → Custom cursor: renders (evidence: `src/app/page.tsx`)
- Projects section → Project list: renders (evidence: `src/app/page.tsx`)
- Project list → Project card: renders (evidence: `src/app/components/ui/ProjectsList/projects-list.tsx`)
- Case index → Project card: renders (evidence: `src/app/case/page.tsx`)
- Case index → Case metadata types: uses types (evidence: `src/app/case/page.tsx`)
- Case detail route → Case MDX files: reads and compiles (evidence: `src/app/case/[caseSlug]/page.tsx`)
- Case detail route → MDX component mapping: renders with (evidence: `src/app/case/[caseSlug]/page.tsx`)
- Case detail route → Case metadata types: uses types (evidence: `src/app/case/[caseSlug]/page.tsx`)
- MDX component mapping → Case carousel: renders (evidence: `src/app/components/mdx/mdx-components.tsx`)
- MDX component mapping → Case image: renders (evidence: `src/app/components/mdx/mdx-components.tsx`)
- MDX component mapping → Rolling link: renders (evidence: `src/app/components/mdx/mdx-components.tsx`)
- Case detail route → Rolling link: renders links (evidence: `src/app/case/[caseSlug]/page.tsx`)
- Case detail route → Case layout: uses layout
- Case layout → Navigation: renders (evidence: `src/app/case/layout.tsx`)
- Case layout → Footer: renders (evidence: `src/app/case/layout.tsx`)
- Hero → Rolling link: renders (evidence: `src/app/components/landing/Hero/hero.tsx`)
- Contact section → Rolling link: renders (evidence: `src/app/components/landing/Contact/contact.tsx`)
- Footer → Rolling link: renders (evidence: `src/app/components/ui/Footer/footer.tsx`)
