# wendy067/ocean-wiki-site architecture

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

- Interactive diagram: https://gitdiagram.com/wendy067/ocean-wiki-site
- Repository: https://github.com/wendy067/ocean-wiki-site

## Overview

A small static Portuguese-language ocean-life site combines an animal discovery catalog with a personal ocean-action signup/list and theme controls. The tree and JavaScript excerpt support the catalog and task-list behavior; without HTML excerpts or a README, the exact page-to-script wiring and database role are unclear.

Main entry points: [`js.js`](https://github.com/wendy067/ocean-wiki-site/blob/main/js.js) (Animal catalog), [`styles.css`](https://github.com/wendy067/ocean-wiki-site/blob/main/styles.css) (Site styling), [`banco de dados.sql`](https://github.com/wendy067/ocean-wiki-site/blob/main/banco%20de%20dados.sql) (Database SQL), [`index.html`](https://github.com/wendy067/ocean-wiki-site/blob/main/index.html) (Home page)

## Diagram (Mermaid)

```mermaid
flowchart TD

subgraph group_discovery["Animal discovery"]
  node_catalog["Animal catalog<br/>[js.js]"]
  node_animal_data["Animal profiles<br/>[js.js]"]
  node_image_credits["Image credits<br/>[js.js]"]
  node_animal_cards["Animal cards<br/>[js.js]"]
  node_animal_dialog["Animal details<br/>[js.js]"]
end

subgraph group_engagement["Ocean actions"]
  node_mission_signup["Mission signup<br/>[js.js]"]
  node_action_list["Action list<br/>[js.js]"]
  node_saved_actions[("Saved actions<br/>[js.js]")]
  node_db_script["Database SQL<br/>[banco de dados.sql]"]
end

subgraph group_interface["Shared interface"]
  node_theme_control["Theme control<br/>[js.js]"]
  node_main_page["Home page<br/>[index.html]"]
  node_discover_page["Discover page<br/>[Descubra.html]"]
  node_support_page["Support page<br/>[Apoia-se.html]"]
  node_styles["Site styling<br/>[styles.css]"]
end

node_visitor(("Site visitor"))

node_visitor -->|"browses"| node_catalog
node_catalog -->|"uses profiles"| node_animal_data
node_catalog -->|"uses credits"| node_image_credits
node_catalog -->|"creates cards"| node_animal_cards
node_catalog -.->|"opens details"| node_animal_dialog
node_visitor -->|"joins mission"| node_mission_signup
node_visitor -->|"manages actions"| node_action_list
node_action_list -.->|"reads and writes"| node_saved_actions
node_visitor -->|"changes theme"| node_theme_control
node_main_page -.->|"styled by"| node_styles
node_discover_page -.->|"styled by"| node_styles
node_support_page -.->|"styled by"| node_styles
node_db_script -.->|"may define storage"| node_saved_actions

click node_catalog "https://github.com/wendy067/ocean-wiki-site/blob/main/js.js"
click node_animal_data "https://github.com/wendy067/ocean-wiki-site/blob/main/js.js"
click node_image_credits "https://github.com/wendy067/ocean-wiki-site/blob/main/js.js"
click node_animal_cards "https://github.com/wendy067/ocean-wiki-site/blob/main/js.js"
click node_animal_dialog "https://github.com/wendy067/ocean-wiki-site/blob/main/js.js"
click node_mission_signup "https://github.com/wendy067/ocean-wiki-site/blob/main/js.js"
click node_action_list "https://github.com/wendy067/ocean-wiki-site/blob/main/js.js"
click node_saved_actions "https://github.com/wendy067/ocean-wiki-site/blob/main/js.js"
click node_theme_control "https://github.com/wendy067/ocean-wiki-site/blob/main/js.js"
click node_main_page "https://github.com/wendy067/ocean-wiki-site/blob/main/index.html"
click node_discover_page "https://github.com/wendy067/ocean-wiki-site/blob/main/Descubra.html"
click node_support_page "https://github.com/wendy067/ocean-wiki-site/blob/main/Apoia-se.html"
click node_styles "https://github.com/wendy067/ocean-wiki-site/blob/main/styles.css"
click node_db_script "https://github.com/wendy067/ocean-wiki-site/blob/main/banco%20de%20dados.sql"

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_catalog,node_animal_data,node_image_credits,node_animal_cards,node_animal_dialog toneBlue
class node_mission_signup,node_action_list,node_saved_actions,node_db_script toneAmber
class node_theme_control,node_main_page,node_discover_page,node_support_page,node_styles toneMint
class node_visitor toneIndigo
```

## Components

### Animal discovery

- [Animal catalog](https://github.com/wendy067/ocean-wiki-site/blob/main/js.js): `js.js`
- [Animal profiles](https://github.com/wendy067/ocean-wiki-site/blob/main/js.js): `js.js`
- [Image credits](https://github.com/wendy067/ocean-wiki-site/blob/main/js.js): `js.js`
- [Animal cards](https://github.com/wendy067/ocean-wiki-site/blob/main/js.js): `js.js`
- [Animal details](https://github.com/wendy067/ocean-wiki-site/blob/main/js.js): `js.js`

### Ocean actions

- [Mission signup](https://github.com/wendy067/ocean-wiki-site/blob/main/js.js): `js.js`
- [Action list](https://github.com/wendy067/ocean-wiki-site/blob/main/js.js): `js.js`
- [Saved actions](https://github.com/wendy067/ocean-wiki-site/blob/main/js.js): `js.js`
- [Database SQL](https://github.com/wendy067/ocean-wiki-site/blob/main/banco%20de%20dados.sql): `banco de dados.sql`

### Shared interface

- [Theme control](https://github.com/wendy067/ocean-wiki-site/blob/main/js.js): `js.js`
- [Home page](https://github.com/wendy067/ocean-wiki-site/blob/main/index.html): `index.html`
- [Discover page](https://github.com/wendy067/ocean-wiki-site/blob/main/Descubra.html): `Descubra.html`
- [Support page](https://github.com/wendy067/ocean-wiki-site/blob/main/Apoia-se.html): `Apoia-se.html`
- [Site styling](https://github.com/wendy067/ocean-wiki-site/blob/main/styles.css): `styles.css`

### Other components

- **Site visitor**

## Connections

- Site visitor → Animal catalog: browses (evidence: `js.js`)
- Animal catalog → Animal profiles: uses profiles (evidence: `js.js`)
- Animal catalog → Image credits: uses credits (evidence: `js.js`)
- Animal catalog → Animal cards: creates cards (evidence: `js.js`)
- Animal catalog → Animal details: opens details (evidence: `js.js`)
- Site visitor → Mission signup: joins mission (evidence: `js.js`)
- Site visitor → Action list: manages actions (evidence: `js.js`)
- Action list → Saved actions: reads and writes (evidence: `js.js`)
- Site visitor → Theme control: changes theme (evidence: `js.js`)
- Home page → Site styling: styled by
- Discover page → Site styling: styled by
- Support page → Site styling: styled by
- Database SQL → Saved actions: may define storage
