# sabi0603/greenden architecture

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

- Interactive diagram: https://gitdiagram.com/sabi0603/greenden
- Repository: https://github.com/sabi0603/greenden

## Overview

GreenDen is a static plant-and-gardening storefront with home, product, and contact pages. Visitors browse the pages; the product-page script filters displayed products by name, while the page scripts provide click-driven side navigation. The HTML excerpts were not provided, so which script is loaded by which page—and the exact page-to-page navigation links—cannot be verified. The README documents responsive styling and product-focused presentation, but their implementation is not represented by sampled source.

Main entry points: [`index.html`](https://github.com/sabi0603/greenden/blob/main/index.html) (Home page), [`product.html`](https://github.com/sabi0603/greenden/blob/main/product.html) (Products page), [`contact.html`](https://github.com/sabi0603/greenden/blob/main/contact.html) (Contact page), [`js/index.js`](https://github.com/sabi0603/greenden/blob/main/js/index.js) (Home navigation)

## Diagram (Mermaid)

```mermaid
flowchart TD

subgraph group_pages["Website pages"]
  node_home["Home page<br/>[index.html]"]
  node_products["Products page<br/>[product.html]"]
  node_contact["Contact page<br/>[contact.html]"]
end

subgraph group_behavior["Page interactions"]
  node_home_nav["Home navigation<br/>[index.js]"]
  node_product_ui["Product filtering<br/>[product.js]"]
  node_contact_nav["Contact navigation<br/>[contact.js]"]
end

node_visitor(("Visitor"))

node_visitor -->|"opens"| node_home
node_visitor -->|"browses"| node_products
node_visitor -->|"opens"| node_contact
node_visitor -->|"clicks controls"| node_home_nav
node_visitor -->|"searches products"| node_product_ui
node_visitor -->|"clicks controls"| node_contact_nav

click node_home "https://github.com/sabi0603/greenden/blob/main/index.html"
click node_products "https://github.com/sabi0603/greenden/blob/main/product.html"
click node_contact "https://github.com/sabi0603/greenden/blob/main/contact.html"
click node_home_nav "https://github.com/sabi0603/greenden/blob/main/js/index.js"
click node_product_ui "https://github.com/sabi0603/greenden/blob/main/js/product.js"
click node_contact_nav "https://github.com/sabi0603/greenden/blob/main/js/contact.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_home,node_products,node_contact toneBlue
class node_home_nav,node_product_ui,node_contact_nav toneAmber
class node_visitor toneIndigo
```

## Components

### Website pages

- [Home page](https://github.com/sabi0603/greenden/blob/main/index.html): `index.html`
- [Products page](https://github.com/sabi0603/greenden/blob/main/product.html): `product.html`
- [Contact page](https://github.com/sabi0603/greenden/blob/main/contact.html): `contact.html`

### Page interactions

- [Home navigation](https://github.com/sabi0603/greenden/blob/main/js/index.js): `js/index.js`
- [Product filtering](https://github.com/sabi0603/greenden/blob/main/js/product.js): `js/product.js`
- [Contact navigation](https://github.com/sabi0603/greenden/blob/main/js/contact.js): `js/contact.js`

### Other components

- **Visitor**

## Connections

- Visitor → Home page: opens (evidence: `README.md`)
- Visitor → Products page: browses (evidence: `README.md`)
- Visitor → Contact page: opens (evidence: `README.md`)
- Visitor → Home navigation: clicks controls (evidence: `js/index.js`)
- Visitor → Product filtering: searches products (evidence: `js/product.js`)
- Visitor → Contact navigation: clicks controls (evidence: `js/contact.js`)
