# misadev19/misa-portfolio architecture

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

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

## Overview

This is a React portfolio site. Visitors browse profile and project showcases, open project details, switch Japanese and English, and can send applause whose count is shared through Cloud Firestore. App.jsx composes the page sections under language context; those sections consume translations and language state. The graph preserves the documented responsive, smooth-scrolling, contact, and modal capabilities. Some implementation details are unsampled, so only relationships shown in excerpts, source references, or the README are drawn.

Main entry points: [`src/App.jsx`](https://github.com/misadev19/misa-portfolio/blob/main/src/App.jsx) (App composition), [`src/i18n.js`](https://github.com/misadev19/misa-portfolio/blob/main/src/i18n.js) (Translation map), [`src/context/useLanguage.js`](https://github.com/misadev19/misa-portfolio/blob/main/src/context/useLanguage.js) (Language hook), [`src/components/Projects.jsx`](https://github.com/misadev19/misa-portfolio/blob/main/src/components/Projects.jsx) (Project showcase)

## Diagram (Mermaid)

```mermaid
flowchart TD

subgraph group_application["Page composition"]
  node_react_entry["React entry<br/>[main.jsx]"]
  node_app["App composition<br/>[App.jsx]"]
end

subgraph group_showcase["Portfolio sections"]
  node_header["Navigation header<br/>[Header.jsx]"]
  node_hero["Hero section<br/>[Hero.jsx]"]
  node_projects["Project showcase<br/>[Projects.jsx]"]
  node_project_data["Project content<br/>[projectData.js]"]
  node_about["About section<br/>[About.jsx]"]
  node_contact["Contact section<br/>[Contact.jsx]"]
  node_section_transition["Section transition"]
end

subgraph group_language["Language support"]
  node_language_provider["Language provider"]
  node_language_context["Language context<br/>[LanguageContext.js]"]
  node_language_hook["Language hook<br/>[useLanguage.js]"]
  node_translation_map["Translation map<br/>[i18n.js]"]
  node_english_locale["English locale<br/>[en.js]"]
  node_japanese_locale["Japanese locale<br/>[ja.js]"]
end

subgraph group_applause["Applause service"]
  node_web_clap["Web applause<br/>[WebClap.jsx]"]
  node_firebase_config["Firebase setup<br/>[firebase.js]"]
end

node_visitor(("Visitor"))
node_firestore[("Cloud Firestore")]

node_visitor -->|"opens site"| node_react_entry
node_react_entry -->|"renders"| node_app
node_app -->|"wraps page"| node_language_provider
node_app -->|"renders"| node_header
node_app -->|"renders"| node_hero
node_app -->|"renders"| node_projects
node_app -->|"renders"| node_about
node_app -->|"renders"| node_contact
node_header -->|"renders"| node_web_clap
node_header -->|"reads language"| node_language_hook
node_hero -->|"reads language"| node_language_hook
node_hero -->|"reads translations"| node_translation_map
node_projects -->|"reads language"| node_language_hook
node_projects -->|"reads translations"| node_translation_map
node_projects -->|"reads projects"| node_project_data
node_projects -->|"renders"| node_section_transition
node_about -->|"reads language"| node_language_hook
node_about -->|"reads translations"| node_translation_map
node_about -->|"renders"| node_section_transition
node_contact -->|"reads language"| node_language_hook
node_contact -->|"reads translations"| node_translation_map
node_language_provider -->|"provides state"| node_language_context
node_language_hook -->|"reads context"| node_language_context
node_translation_map -->|"imports"| node_english_locale
node_translation_map -->|"imports"| node_japanese_locale
node_web_clap -->|"reads language"| node_language_hook
node_web_clap -->|"reads translations"| node_translation_map
node_web_clap -->|"uses database setup"| node_firebase_config
node_web_clap -->|"reads count and increments"| node_firestore
node_firebase_config -.->|"configures access"| node_firestore

click node_react_entry "https://github.com/misadev19/misa-portfolio/blob/main/src/main.jsx"
click node_app "https://github.com/misadev19/misa-portfolio/blob/main/src/App.jsx"
click node_header "https://github.com/misadev19/misa-portfolio/blob/main/src/components/Header.jsx"
click node_hero "https://github.com/misadev19/misa-portfolio/blob/main/src/components/Hero.jsx"
click node_projects "https://github.com/misadev19/misa-portfolio/blob/main/src/components/Projects.jsx"
click node_project_data "https://github.com/misadev19/misa-portfolio/blob/main/src/data/projectData.js"
click node_about "https://github.com/misadev19/misa-portfolio/blob/main/src/components/About.jsx"
click node_contact "https://github.com/misadev19/misa-portfolio/blob/main/src/components/Contact.jsx"
click node_section_transition "https://github.com/misadev19/misa-portfolio/blob/main/src/components/SectionTransition.jsx"
click node_language_provider "https://github.com/misadev19/misa-portfolio/blob/main/src/context/LanguageProvider.jsx"
click node_language_context "https://github.com/misadev19/misa-portfolio/blob/main/src/context/LanguageContext.js"
click node_language_hook "https://github.com/misadev19/misa-portfolio/blob/main/src/context/useLanguage.js"
click node_translation_map "https://github.com/misadev19/misa-portfolio/blob/main/src/i18n.js"
click node_english_locale "https://github.com/misadev19/misa-portfolio/blob/main/src/locales/en.js"
click node_japanese_locale "https://github.com/misadev19/misa-portfolio/blob/main/src/locales/ja.js"
click node_web_clap "https://github.com/misadev19/misa-portfolio/blob/main/src/components/WebClap.jsx"
click node_firebase_config "https://github.com/misadev19/misa-portfolio/blob/main/src/firebase.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_react_entry,node_app toneBlue
class node_header,node_hero,node_projects,node_project_data,node_about,node_contact,node_section_transition,node_firestore toneAmber
class node_language_provider,node_language_context,node_language_hook,node_translation_map,node_english_locale,node_japanese_locale toneMint
class node_web_clap,node_firebase_config toneRose
class node_visitor toneIndigo
```

## Components

### Page composition

- [React entry](https://github.com/misadev19/misa-portfolio/blob/main/src/main.jsx): `src/main.jsx`
- [App composition](https://github.com/misadev19/misa-portfolio/blob/main/src/App.jsx): `src/App.jsx`

### Portfolio sections

- [Navigation header](https://github.com/misadev19/misa-portfolio/blob/main/src/components/Header.jsx): `src/components/Header.jsx`
- [Hero section](https://github.com/misadev19/misa-portfolio/blob/main/src/components/Hero.jsx): `src/components/Hero.jsx`
- [Project showcase](https://github.com/misadev19/misa-portfolio/blob/main/src/components/Projects.jsx): `src/components/Projects.jsx`
- [Project content](https://github.com/misadev19/misa-portfolio/blob/main/src/data/projectData.js): `src/data/projectData.js`
- [About section](https://github.com/misadev19/misa-portfolio/blob/main/src/components/About.jsx): `src/components/About.jsx`
- [Contact section](https://github.com/misadev19/misa-portfolio/blob/main/src/components/Contact.jsx): `src/components/Contact.jsx`
- [Section transition](https://github.com/misadev19/misa-portfolio/blob/main/src/components/SectionTransition.jsx): `src/components/SectionTransition.jsx`

### Language support

- [Language provider](https://github.com/misadev19/misa-portfolio/blob/main/src/context/LanguageProvider.jsx): `src/context/LanguageProvider.jsx`
- [Language context](https://github.com/misadev19/misa-portfolio/blob/main/src/context/LanguageContext.js): `src/context/LanguageContext.js`
- [Language hook](https://github.com/misadev19/misa-portfolio/blob/main/src/context/useLanguage.js): `src/context/useLanguage.js`
- [Translation map](https://github.com/misadev19/misa-portfolio/blob/main/src/i18n.js): `src/i18n.js`
- [English locale](https://github.com/misadev19/misa-portfolio/blob/main/src/locales/en.js): `src/locales/en.js`
- [Japanese locale](https://github.com/misadev19/misa-portfolio/blob/main/src/locales/ja.js): `src/locales/ja.js`

### Applause service

- [Web applause](https://github.com/misadev19/misa-portfolio/blob/main/src/components/WebClap.jsx): `src/components/WebClap.jsx`
- [Firebase setup](https://github.com/misadev19/misa-portfolio/blob/main/src/firebase.js): `src/firebase.js`

### Other components

- **Visitor**
- **Cloud Firestore**

## Connections

- Visitor → React entry: opens site (evidence: `README.md`)
- React entry → App composition: renders (evidence: `src/main.jsx`)
- App composition → Language provider: wraps page (evidence: `src/App.jsx`)
- App composition → Navigation header: renders (evidence: `src/App.jsx`)
- App composition → Hero section: renders (evidence: `src/App.jsx`)
- App composition → Project showcase: renders (evidence: `src/App.jsx`)
- App composition → About section: renders (evidence: `src/App.jsx`)
- App composition → Contact section: renders (evidence: `src/App.jsx`)
- Navigation header → Web applause: renders (evidence: `src/components/Header.jsx`)
- Navigation header → Language hook: reads language (evidence: `src/components/Header.jsx`)
- Hero section → Language hook: reads language (evidence: `src/components/Hero.jsx`)
- Hero section → Translation map: reads translations (evidence: `src/components/Hero.jsx`)
- Project showcase → Language hook: reads language (evidence: `src/components/Projects.jsx`)
- Project showcase → Translation map: reads translations (evidence: `src/components/Projects.jsx`)
- Project showcase → Project content: reads projects (evidence: `src/components/Projects.jsx`)
- Project showcase → Section transition: renders (evidence: `src/components/Projects.jsx`)
- About section → Language hook: reads language (evidence: `src/components/About.jsx`)
- About section → Translation map: reads translations (evidence: `src/components/About.jsx`)
- About section → Section transition: renders (evidence: `src/components/About.jsx`)
- Contact section → Language hook: reads language (evidence: `src/components/Contact.jsx`)
- Contact section → Translation map: reads translations (evidence: `src/components/Contact.jsx`)
- Language provider → Language context: provides state (evidence: `src/context/LanguageProvider.jsx`)
- Language hook → Language context: reads context (evidence: `src/context/useLanguage.js`)
- Translation map → English locale: imports (evidence: `src/i18n.js`)
- Translation map → Japanese locale: imports (evidence: `src/i18n.js`)
- Web applause → Language hook: reads language (evidence: `src/components/WebClap.jsx`)
- Web applause → Translation map: reads translations (evidence: `src/components/WebClap.jsx`)
- Web applause → Firebase setup: uses database setup (evidence: `src/components/WebClap.jsx`)
- Web applause → Cloud Firestore: reads count and increments (evidence: `src/components/WebClap.jsx`)
- Firebase setup → Cloud Firestore: configures access
