# rammcodes/dopefolio architecture

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

- Interactive diagram: https://gitdiagram.com/rammcodes/dopefolio
- Repository: https://github.com/rammcodes/dopefolio

## Overview

Dopefolio is a static, multipage developer portfolio template. A visitor opens the homepage, browses profile and project content, follows project or social links, and uses the responsive navigation to move between sections and case-study pages. HTML provides the content, Sass/CSS supplies the visual system, and index.js controls the mobile menu and logo navigation through the browser DOM. The graph reflects documented pages and capabilities; unsampled HTML wiring is represented conservatively.

Main entry points: [`index.html`](https://github.com/rammcodes/dopefolio/blob/main/index.html) (Homepage), [`css/style.css`](https://github.com/rammcodes/dopefolio/blob/main/css/style.css) (Compiled Stylesheet), [`index.js`](https://github.com/rammcodes/dopefolio/blob/main/index.js) (Menu Controller), [`project-1.html`](https://github.com/rammcodes/dopefolio/blob/main/project-1.html) (Project Case Study)

## Diagram (Mermaid)

```mermaid
flowchart TD

subgraph group_content["Portfolio Content"]
  node_home["Homepage<br/>[index.html]"]
  node_project1["Project Case Study<br/>[project-1.html]"]
  node_project2["Project Case Study<br/>[project-2.html]"]
  node_project3["Project Case Study<br/>[project-3.html]"]
  node_assets["Portfolio Assets"]
end

subgraph group_navigation["Navigation UI"]
  node_menu_controller["Menu Controller<br/>[index.js]"]
  node_header_styles["Header Styles<br/>[_header.scss]"]
end

subgraph group_styles["Visual System"]
  node_page_styles["Page Styles"]
  node_theme_variables["Theme Variables<br/>[_variables.scss]"]
  node_style_sheet["Compiled Stylesheet<br/>[style.css]"]
end

subgraph group_runtime["Browser Behavior"]
  node_browser_dom["Browser DOM"]
end

node_visitor(("Portfolio Visitor"))
node_social_profiles["Social Profiles"]

node_visitor -->|"opens"| node_home
node_home -->|"links to"| node_project1
node_home -->|"links to"| node_project2
node_home -->|"links to"| node_project3
node_home -.->|"links to"| node_social_profiles
node_home -->|"loads"| node_assets
node_home -->|"loads"| node_style_sheet
node_project1 -->|"loads"| node_style_sheet
node_project2 -->|"loads"| node_style_sheet
node_project3 -->|"loads"| node_style_sheet
node_visitor -->|"clicks"| node_menu_controller
node_menu_controller -->|"toggles classes"| node_browser_dom
node_menu_controller -->|"changes location"| node_browser_dom
node_theme_variables -->|"themes"| node_style_sheet
node_page_styles -->|"styles"| node_style_sheet
node_header_styles -->|"styles"| node_style_sheet

click node_home "https://github.com/rammcodes/dopefolio/blob/main/index.html"
click node_project1 "https://github.com/rammcodes/dopefolio/blob/main/project-1.html"
click node_project2 "https://github.com/rammcodes/dopefolio/blob/main/project-2.html"
click node_project3 "https://github.com/rammcodes/dopefolio/blob/main/project-3.html"
click node_assets "https://github.com/rammcodes/dopefolio/tree/main/assets"
click node_menu_controller "https://github.com/rammcodes/dopefolio/blob/main/index.js"
click node_header_styles "https://github.com/rammcodes/dopefolio/blob/main/sass/components/_header.scss"
click node_page_styles "https://github.com/rammcodes/dopefolio/tree/main/sass/pages"
click node_theme_variables "https://github.com/rammcodes/dopefolio/blob/main/sass/abstracts/_variables.scss"
click node_style_sheet "https://github.com/rammcodes/dopefolio/blob/main/css/style.css"

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_project1,node_project2,node_project3,node_assets toneBlue
class node_menu_controller,node_header_styles toneAmber
class node_page_styles,node_theme_variables,node_style_sheet toneMint
class node_browser_dom toneRose
class node_visitor,node_social_profiles toneIndigo
```

## Components

### Portfolio Content

- [Homepage](https://github.com/rammcodes/dopefolio/blob/main/index.html): `index.html`
- [Project Case Study](https://github.com/rammcodes/dopefolio/blob/main/project-1.html): `project-1.html`
- [Project Case Study](https://github.com/rammcodes/dopefolio/blob/main/project-2.html): `project-2.html`
- [Project Case Study](https://github.com/rammcodes/dopefolio/blob/main/project-3.html): `project-3.html`
- [Portfolio Assets](https://github.com/rammcodes/dopefolio/tree/main/assets): `assets`

### Navigation UI

- [Menu Controller](https://github.com/rammcodes/dopefolio/blob/main/index.js): `index.js`
- [Header Styles](https://github.com/rammcodes/dopefolio/blob/main/sass/components/_header.scss): `sass/components/_header.scss`

### Visual System

- [Page Styles](https://github.com/rammcodes/dopefolio/tree/main/sass/pages): `sass/pages`
- [Theme Variables](https://github.com/rammcodes/dopefolio/blob/main/sass/abstracts/_variables.scss): `sass/abstracts/_variables.scss`
- [Compiled Stylesheet](https://github.com/rammcodes/dopefolio/blob/main/css/style.css): `css/style.css`

### Browser Behavior

- **Browser DOM**

### Other components

- **Portfolio Visitor**
- **Social Profiles**

## Connections

- Portfolio Visitor → Homepage: opens
- Homepage → Project Case Study: links to
- Homepage → Project Case Study: links to
- Homepage → Project Case Study: links to
- Homepage → Social Profiles: links to
- Homepage → Portfolio Assets: loads
- Homepage → Compiled Stylesheet: loads
- Project Case Study → Compiled Stylesheet: loads
- Project Case Study → Compiled Stylesheet: loads
- Project Case Study → Compiled Stylesheet: loads
- Portfolio Visitor → Menu Controller: clicks
- Menu Controller → Browser DOM: toggles classes
- Menu Controller → Browser DOM: changes location
- Theme Variables → Compiled Stylesheet: themes
- Page Styles → Compiled Stylesheet: styles
- Header Styles → Compiled Stylesheet: styles
