# nevskiy911/dark-coders-22 architecture

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

- Interactive diagram: https://gitdiagram.com/nevskiy911/dark-coders-22
- Repository: https://github.com/nevskiy911/dark-coders-22

## Overview

This is a vanilla-JavaScript portfolio website. Visitors browse profile, project, FAQ, review, and visual-cover sections, then can submit a contact request and see a response modal. The shown entry module imports each feature script; review loading and contact submission call the portfolio API. Partial files identify the page sections, but their injection and wiring are not shown in the excerpts, so no unsupported links to those sections are drawn.

Main entry points: [`src/main.js`](https://github.com/nevskiy911/dark-coders-22/blob/main/src/main.js) (Application entry), [`src/js/work-together.js`](https://github.com/nevskiy911/dark-coders-22/blob/main/src/js/work-together.js) (Contact validation and submission), [`src/js/reviews.js`](https://github.com/nevskiy911/dark-coders-22/blob/main/src/js/reviews.js) (Review loading and slider), [`src/js/modal-work-tog.js`](https://github.com/nevskiy911/dark-coders-22/blob/main/src/js/modal-work-tog.js) (Response modal)

## Diagram (Mermaid)

```mermaid
flowchart TD

subgraph group_page["Portfolio sections"]
  node_about["About section<br/>[about-me.html]"]
  node_header["Navigation header<br/>[header.html]"]
  node_projects["Projects section<br/>[projects.html]"]
  node_faq["FAQ section<br/>[faq.html]"]
  node_reviews_section["Reviews section<br/>[reviews.html]"]
  node_contact_section["Contact section<br/>[work-together.html]"]
  node_modal_markup["Modal content"]
  node_hero["Hero section<br/>[hero.html]"]
  node_benefits["Benefits section<br/>[benefits.html]"]
  node_covers_section["Covers section<br/>[covers.html]"]
end

subgraph group_interactions["Page interactions"]
  node_entry["Application entry<br/>[main.js]"]
  node_about_behavior["About carousel and accordion<br/>[about-me.js]"]
  node_header_behavior["Menu and scrolling<br/>[header.js]"]
  node_projects_behavior["Project carousel<br/>[projects.js]"]
  node_faq_behavior["FAQ accordion<br/>[faq.js]"]
  node_response_modal["Response modal<br/>[modal-work-tog.js]"]
end

subgraph group_requests["Contact and reviews"]
  node_reviews["Review loading and slider<br/>[reviews.js]"]
  node_reviews_api{{"Portfolio API"}}
  node_contact["Contact validation and submission<br/>[work-together.js]"]
  node_reviews_service{{"Review API service"}}
end

subgraph group_presentation["Visual presentation"]
  node_covers["Animated covers<br/>[covers.js]"]
end

node_visitor(("Visitor"))

node_entry -->|"imports"| node_about_behavior
node_entry -->|"imports"| node_header_behavior
node_entry -->|"imports"| node_projects_behavior
node_entry -->|"imports"| node_faq_behavior
node_entry -->|"imports"| node_covers
node_entry -->|"imports"| node_reviews
node_entry -->|"imports"| node_contact
node_entry -->|"imports"| node_response_modal
node_reviews -->|"fetches reviews"| node_reviews_service
node_contact -->|"posts requests"| node_reviews_service
node_contact -->|"opens on success"| node_response_modal

click node_entry "https://github.com/nevskiy911/dark-coders-22/blob/main/src/main.js"
click node_about "https://github.com/nevskiy911/dark-coders-22/blob/main/src/partials/about-me.html"
click node_about_behavior "https://github.com/nevskiy911/dark-coders-22/blob/main/src/js/about-me.js"
click node_header "https://github.com/nevskiy911/dark-coders-22/blob/main/src/partials/header.html"
click node_header_behavior "https://github.com/nevskiy911/dark-coders-22/blob/main/src/js/header.js"
click node_projects "https://github.com/nevskiy911/dark-coders-22/blob/main/src/partials/projects.html"
click node_projects_behavior "https://github.com/nevskiy911/dark-coders-22/blob/main/src/js/projects.js"
click node_faq "https://github.com/nevskiy911/dark-coders-22/blob/main/src/partials/faq.html"
click node_faq_behavior "https://github.com/nevskiy911/dark-coders-22/blob/main/src/js/faq.js"
click node_covers "https://github.com/nevskiy911/dark-coders-22/blob/main/src/js/covers.js"
click node_reviews_section "https://github.com/nevskiy911/dark-coders-22/blob/main/src/partials/reviews.html"
click node_reviews "https://github.com/nevskiy911/dark-coders-22/blob/main/src/js/reviews.js"
click node_contact_section "https://github.com/nevskiy911/dark-coders-22/blob/main/src/partials/work-together.html"
click node_contact "https://github.com/nevskiy911/dark-coders-22/blob/main/src/js/work-together.js"
click node_response_modal "https://github.com/nevskiy911/dark-coders-22/blob/main/src/js/modal-work-tog.js"
click node_modal_markup "https://github.com/nevskiy911/dark-coders-22/blob/main/src/partials/modal-work-tog.html"
click node_hero "https://github.com/nevskiy911/dark-coders-22/blob/main/src/partials/hero.html"
click node_benefits "https://github.com/nevskiy911/dark-coders-22/blob/main/src/partials/benefits.html"
click node_covers_section "https://github.com/nevskiy911/dark-coders-22/blob/main/src/partials/covers.html"

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_about,node_header,node_projects,node_faq,node_reviews_section,node_contact_section,node_modal_markup,node_hero,node_benefits,node_covers_section toneBlue
class node_entry,node_about_behavior,node_header_behavior,node_projects_behavior,node_faq_behavior,node_response_modal toneAmber
class node_reviews,node_reviews_api,node_contact,node_reviews_service toneMint
class node_covers toneRose
class node_visitor toneIndigo
```

## Components

### Portfolio sections

- [About section](https://github.com/nevskiy911/dark-coders-22/blob/main/src/partials/about-me.html): `src/partials/about-me.html`
- [Navigation header](https://github.com/nevskiy911/dark-coders-22/blob/main/src/partials/header.html): `src/partials/header.html`
- [Projects section](https://github.com/nevskiy911/dark-coders-22/blob/main/src/partials/projects.html): `src/partials/projects.html`
- [FAQ section](https://github.com/nevskiy911/dark-coders-22/blob/main/src/partials/faq.html): `src/partials/faq.html`
- [Reviews section](https://github.com/nevskiy911/dark-coders-22/blob/main/src/partials/reviews.html): `src/partials/reviews.html`
- [Contact section](https://github.com/nevskiy911/dark-coders-22/blob/main/src/partials/work-together.html): `src/partials/work-together.html`
- [Modal content](https://github.com/nevskiy911/dark-coders-22/blob/main/src/partials/modal-work-tog.html): `src/partials/modal-work-tog.html`
- [Hero section](https://github.com/nevskiy911/dark-coders-22/blob/main/src/partials/hero.html): `src/partials/hero.html`
- [Benefits section](https://github.com/nevskiy911/dark-coders-22/blob/main/src/partials/benefits.html): `src/partials/benefits.html`
- [Covers section](https://github.com/nevskiy911/dark-coders-22/blob/main/src/partials/covers.html): `src/partials/covers.html`

### Page interactions

- [Application entry](https://github.com/nevskiy911/dark-coders-22/blob/main/src/main.js): `src/main.js`
- [About carousel and accordion](https://github.com/nevskiy911/dark-coders-22/blob/main/src/js/about-me.js): `src/js/about-me.js`
- [Menu and scrolling](https://github.com/nevskiy911/dark-coders-22/blob/main/src/js/header.js): `src/js/header.js`
- [Project carousel](https://github.com/nevskiy911/dark-coders-22/blob/main/src/js/projects.js): `src/js/projects.js`
- [FAQ accordion](https://github.com/nevskiy911/dark-coders-22/blob/main/src/js/faq.js): `src/js/faq.js`
- [Response modal](https://github.com/nevskiy911/dark-coders-22/blob/main/src/js/modal-work-tog.js): `src/js/modal-work-tog.js`

### Contact and reviews

- [Review loading and slider](https://github.com/nevskiy911/dark-coders-22/blob/main/src/js/reviews.js): `src/js/reviews.js`
- **Portfolio API**
- [Contact validation and submission](https://github.com/nevskiy911/dark-coders-22/blob/main/src/js/work-together.js): `src/js/work-together.js`
- **Review API service**

### Visual presentation

- [Animated covers](https://github.com/nevskiy911/dark-coders-22/blob/main/src/js/covers.js): `src/js/covers.js`

### Other components

- **Visitor**

## Connections

- Application entry → About carousel and accordion: imports (evidence: `src/main.js`)
- Application entry → Menu and scrolling: imports (evidence: `src/main.js`)
- Application entry → Project carousel: imports (evidence: `src/main.js`)
- Application entry → FAQ accordion: imports (evidence: `src/main.js`)
- Application entry → Animated covers: imports (evidence: `src/main.js`)
- Application entry → Review loading and slider: imports (evidence: `src/main.js`)
- Application entry → Contact validation and submission: imports (evidence: `src/main.js`)
- Application entry → Response modal: imports (evidence: `src/main.js`)
- Review loading and slider → Review API service: fetches reviews (evidence: `src/js/reviews.js`)
- Contact validation and submission → Review API service: posts requests (evidence: `src/js/work-together.js`)
- Contact validation and submission → Response modal: opens on success (evidence: `src/js/work-together.js`)
