# luizasoaresmarttins/hugtea architecture

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

- Interactive diagram: https://gitdiagram.com/luizasoaresmarttins/hugtea
- Repository: https://github.com/luizasoaresmarttins/hugtea

## Overview

HUGTEA is a static accessibility and inclusion website. Visitors enter through the home page and browse educational content, practical resources, and support; optional account pages provide profile preferences and data export. The README documents these capabilities, while the sampled JavaScript shows shared navigation, accessibility controls, and local preference storage. HTML page wiring and form implementations were not sampled, so those details are not inferred.

Main entry points: [`css/style.css`](https://github.com/luizasoaresmarttins/hugtea/blob/main/css/style.css) (Shared styles), [`js/main.js`](https://github.com/luizasoaresmarttins/hugtea/blob/main/js/main.js) (Shared interactions), [`index.html`](https://github.com/luizasoaresmarttins/hugtea/blob/main/index.html) (Home), [`sobre-tea.html`](https://github.com/luizasoaresmarttins/hugtea/blob/main/sobre-tea.html) (TEA education)

## Diagram (Mermaid)

```mermaid
flowchart TD

subgraph group_content["Information and support"]
  node_home["Home<br/>[index.html]"]
  node_education["TEA education<br/>[sobre-tea.html]"]
  node_resources["Resources<br/>[recursos.html]"]
  node_tools["Practical tools<br/>[ferramentas.html]"]
  node_contact["Contact and FAQ<br/>[contato.html]"]
end

subgraph group_account["Optional user account"]
  node_login["Login<br/>[login.html]"]
  node_signup["Registration<br/>[cadastro.html]"]
  node_profile["Profile management<br/>[perfil.html]"]
end

subgraph group_shared["Shared interface"]
  node_global_ui["Shared interactions<br/>[main.js]"]
  node_accessibility["Accessibility controls<br/>[main.js]"]
  node_preferences[("Saved preferences")]
  node_styles["Shared styles<br/>[style.css]"]
end

node_visitor(("Visitor"))

node_visitor -->|"opens site"| node_home
node_visitor -->|"browses"| node_education
node_visitor -->|"uses resources"| node_resources
node_visitor -->|"uses tools"| node_tools
node_visitor -->|"requests support"| node_contact
node_visitor -->|"may access"| node_login
node_visitor -->|"may register"| node_signup
node_visitor -->|"manages profile"| node_profile
node_global_ui -->|"handles controls"| node_accessibility
node_global_ui -->|"reads and writes"| node_preferences
node_styles -.->|"styles"| node_home
node_styles -.->|"styles"| node_education
node_styles -.->|"styles"| node_resources
node_styles -.->|"styles"| node_tools
node_styles -.->|"styles"| node_contact
node_styles -.->|"styles"| node_login
node_styles -.->|"styles"| node_signup
node_styles -.->|"styles"| node_profile

click node_home "https://github.com/luizasoaresmarttins/hugtea/blob/main/index.html"
click node_education "https://github.com/luizasoaresmarttins/hugtea/blob/main/sobre-tea.html"
click node_resources "https://github.com/luizasoaresmarttins/hugtea/blob/main/recursos.html"
click node_tools "https://github.com/luizasoaresmarttins/hugtea/blob/main/ferramentas.html"
click node_contact "https://github.com/luizasoaresmarttins/hugtea/blob/main/contato.html"
click node_login "https://github.com/luizasoaresmarttins/hugtea/blob/main/login.html"
click node_signup "https://github.com/luizasoaresmarttins/hugtea/blob/main/cadastro.html"
click node_profile "https://github.com/luizasoaresmarttins/hugtea/blob/main/perfil.html"
click node_global_ui "https://github.com/luizasoaresmarttins/hugtea/blob/main/js/main.js"
click node_accessibility "https://github.com/luizasoaresmarttins/hugtea/blob/main/js/main.js"
click node_styles "https://github.com/luizasoaresmarttins/hugtea/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_education,node_resources,node_tools,node_contact toneBlue
class node_login,node_signup,node_profile toneAmber
class node_global_ui,node_accessibility,node_preferences,node_styles toneMint
class node_visitor toneIndigo
```

## Components

### Information and support

- [Home](https://github.com/luizasoaresmarttins/hugtea/blob/main/index.html): `index.html`
- [TEA education](https://github.com/luizasoaresmarttins/hugtea/blob/main/sobre-tea.html): `sobre-tea.html`
- [Resources](https://github.com/luizasoaresmarttins/hugtea/blob/main/recursos.html): `recursos.html`
- [Practical tools](https://github.com/luizasoaresmarttins/hugtea/blob/main/ferramentas.html): `ferramentas.html`
- [Contact and FAQ](https://github.com/luizasoaresmarttins/hugtea/blob/main/contato.html): `contato.html`

### Optional user account

- [Login](https://github.com/luizasoaresmarttins/hugtea/blob/main/login.html): `login.html`
- [Registration](https://github.com/luizasoaresmarttins/hugtea/blob/main/cadastro.html): `cadastro.html`
- [Profile management](https://github.com/luizasoaresmarttins/hugtea/blob/main/perfil.html): `perfil.html`

### Shared interface

- [Shared interactions](https://github.com/luizasoaresmarttins/hugtea/blob/main/js/main.js): `js/main.js`
- [Accessibility controls](https://github.com/luizasoaresmarttins/hugtea/blob/main/js/main.js): `js/main.js`
- **Saved preferences**
- [Shared styles](https://github.com/luizasoaresmarttins/hugtea/blob/main/css/style.css): `css/style.css`

### Other components

- **Visitor**

## Connections

- Visitor → Home: opens site (evidence: `README.md`)
- Visitor → TEA education: browses (evidence: `README.md`)
- Visitor → Resources: uses resources (evidence: `README.md`)
- Visitor → Practical tools: uses tools (evidence: `README.md`)
- Visitor → Contact and FAQ: requests support (evidence: `README.md`)
- Visitor → Login: may access (evidence: `README.md`)
- Visitor → Registration: may register (evidence: `README.md`)
- Visitor → Profile management: manages profile (evidence: `README.md`)
- Shared interactions → Accessibility controls: handles controls (evidence: `js/main.js`)
- Shared interactions → Saved preferences: reads and writes (evidence: `js/main.js`)
- Shared styles → Home: styles (evidence: `README.md`)
- Shared styles → TEA education: styles (evidence: `README.md`)
- Shared styles → Resources: styles (evidence: `README.md`)
- Shared styles → Practical tools: styles (evidence: `README.md`)
- Shared styles → Contact and FAQ: styles (evidence: `README.md`)
- Shared styles → Login: styles (evidence: `README.md`)
- Shared styles → Registration: styles (evidence: `README.md`)
- Shared styles → Profile management: styles (evidence: `README.md`)
