# flowrith/indonesia-nature-website architecture

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

- Interactive diagram: https://gitdiagram.com/flowrith/indonesia-nature-website
- Repository: https://github.com/flowrith/indonesia-nature-website

## Overview

Nature of Indonesia is a React educational website presenting Indonesian biodiversity. Visitors enter through the routed app, browse the landing page and flora/fauna collections, then open species education pages; the site also provides about and contact content. The graph preserves the documented education branches and shared card/data layers. Some component relationships come from the SOURCE INDEX rather than excerpts; unsampled implementations are represented only where that index or README supports them.

Main entry points: [`src/App.jsx`](https://github.com/flowrith/indonesia-nature-website/blob/main/src/App.jsx) (Routes and layout), [`src/components/Flora.jsx`](https://github.com/flowrith/indonesia-nature-website/blob/main/src/components/Flora.jsx) (Flora collection), [`src/components/Fauna.jsx`](https://github.com/flowrith/indonesia-nature-website/blob/main/src/components/Fauna.jsx) (Fauna collection), [`src/page/home.jsx`](https://github.com/flowrith/indonesia-nature-website/blob/main/src/page/home.jsx) (Landing page)

## Diagram (Mermaid)

```mermaid
flowchart TD

subgraph group_app_shell["App shell"]
  node_entry["React entry<br/>[main.jsx]"]
  node_router_app["Routes and layout<br/>[App.jsx]"]
  node_navbar["Navigation<br/>[Navbar.jsx]"]
end

subgraph group_biodiversity["Biodiversity education"]
  node_flora["Flora collection<br/>[Flora.jsx]"]
  node_fauna["Fauna collection<br/>[Fauna.jsx]"]
  node_flora_data["Flora entries<br/>[flora.js]"]
  node_fauna_data["Fauna entries<br/>[fauna.js]"]
  node_info_cards["Species cards"]
  node_education_view["Education detail<br/>[Education.jsx]"]
  node_flora_education["Flora details<br/>[FloraEducation.js]"]
  node_fauna_education["Fauna details<br/>[FaunaEducation.js]"]
end

subgraph group_site_content["Site content"]
  node_home["Landing page<br/>[home.jsx]"]
  node_hero["Hero section<br/>[Hero.jsx]"]
  node_category["Category selection<br/>[Category.jsx]"]
  node_category_cards["Category cards<br/>[CategoryCard.jsx]"]
  node_categories["Category content<br/>[categories.js]"]
  node_about["About section<br/>[about.jsx]"]
  node_about_data["About content<br/>[about.js]"]
  node_contact["Contact section<br/>[contact.jsx]"]
  node_footer["Footer<br/>[footer.jsx]"]
end

node_visitor(("Visitor"))

node_visitor -->|"opens site"| node_entry
node_entry -->|"renders"| node_router_app
node_router_app -->|"renders"| node_navbar
node_router_app -->|"routes to"| node_home
node_router_app -->|"routes to"| node_flora
node_router_app -->|"routes to"| node_fauna
node_router_app -->|"routes to"| node_education_view
node_router_app -->|"passes detail data"| node_flora_education
node_router_app -->|"passes detail data"| node_fauna_education
node_router_app -->|"renders"| node_about
node_router_app -->|"passes content"| node_about_data
node_router_app -->|"renders"| node_contact
node_router_app -->|"renders"| node_footer
node_home -->|"renders"| node_hero
node_home -->|"renders"| node_category
node_category -->|"renders"| node_category_cards
node_category_cards -->|"reads"| node_categories
node_flora -->|"reads"| node_flora_data
node_flora -->|"renders"| node_info_cards
node_fauna -->|"reads"| node_fauna_data
node_fauna -->|"renders"| node_info_cards

click node_entry "https://github.com/flowrith/indonesia-nature-website/blob/main/src/main.jsx"
click node_router_app "https://github.com/flowrith/indonesia-nature-website/blob/main/src/App.jsx"
click node_navbar "https://github.com/flowrith/indonesia-nature-website/blob/main/src/components/Navbar.jsx"
click node_home "https://github.com/flowrith/indonesia-nature-website/blob/main/src/page/home.jsx"
click node_hero "https://github.com/flowrith/indonesia-nature-website/blob/main/src/components/Hero.jsx"
click node_category "https://github.com/flowrith/indonesia-nature-website/blob/main/src/components/Category.jsx"
click node_category_cards "https://github.com/flowrith/indonesia-nature-website/blob/main/src/components/CategoryCard.jsx"
click node_categories "https://github.com/flowrith/indonesia-nature-website/blob/main/src/data/categories.js"
click node_flora "https://github.com/flowrith/indonesia-nature-website/blob/main/src/components/Flora.jsx"
click node_fauna "https://github.com/flowrith/indonesia-nature-website/blob/main/src/components/Fauna.jsx"
click node_flora_data "https://github.com/flowrith/indonesia-nature-website/blob/main/src/data/flora.js"
click node_fauna_data "https://github.com/flowrith/indonesia-nature-website/blob/main/src/data/fauna.js"
click node_info_cards "https://github.com/flowrith/indonesia-nature-website/blob/main/src/components/InformationCard.jsx"
click node_education_view "https://github.com/flowrith/indonesia-nature-website/blob/main/src/components/Education.jsx"
click node_flora_education "https://github.com/flowrith/indonesia-nature-website/blob/main/src/data/FloraEducation.js"
click node_fauna_education "https://github.com/flowrith/indonesia-nature-website/blob/main/src/data/FaunaEducation.js"
click node_about "https://github.com/flowrith/indonesia-nature-website/blob/main/src/page/about.jsx"
click node_about_data "https://github.com/flowrith/indonesia-nature-website/blob/main/src/data/about.js"
click node_contact "https://github.com/flowrith/indonesia-nature-website/blob/main/src/page/contact.jsx"
click node_footer "https://github.com/flowrith/indonesia-nature-website/blob/main/src/page/footer.jsx"

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_entry,node_router_app,node_navbar toneBlue
class node_flora,node_fauna,node_flora_data,node_fauna_data,node_info_cards,node_education_view,node_flora_education,node_fauna_education toneAmber
class node_home,node_hero,node_category,node_category_cards,node_categories,node_about,node_about_data,node_contact,node_footer toneMint
class node_visitor toneIndigo
```

## Components

### App shell

- [React entry](https://github.com/flowrith/indonesia-nature-website/blob/main/src/main.jsx): `src/main.jsx`
- [Routes and layout](https://github.com/flowrith/indonesia-nature-website/blob/main/src/App.jsx): `src/App.jsx`
- [Navigation](https://github.com/flowrith/indonesia-nature-website/blob/main/src/components/Navbar.jsx): `src/components/Navbar.jsx`

### Biodiversity education

- [Flora collection](https://github.com/flowrith/indonesia-nature-website/blob/main/src/components/Flora.jsx): `src/components/Flora.jsx`
- [Fauna collection](https://github.com/flowrith/indonesia-nature-website/blob/main/src/components/Fauna.jsx): `src/components/Fauna.jsx`
- [Flora entries](https://github.com/flowrith/indonesia-nature-website/blob/main/src/data/flora.js): `src/data/flora.js`
- [Fauna entries](https://github.com/flowrith/indonesia-nature-website/blob/main/src/data/fauna.js): `src/data/fauna.js`
- [Species cards](https://github.com/flowrith/indonesia-nature-website/blob/main/src/components/InformationCard.jsx): `src/components/InformationCard.jsx`
- [Education detail](https://github.com/flowrith/indonesia-nature-website/blob/main/src/components/Education.jsx): `src/components/Education.jsx`
- [Flora details](https://github.com/flowrith/indonesia-nature-website/blob/main/src/data/FloraEducation.js): `src/data/FloraEducation.js`
- [Fauna details](https://github.com/flowrith/indonesia-nature-website/blob/main/src/data/FaunaEducation.js): `src/data/FaunaEducation.js`

### Site content

- [Landing page](https://github.com/flowrith/indonesia-nature-website/blob/main/src/page/home.jsx): `src/page/home.jsx`
- [Hero section](https://github.com/flowrith/indonesia-nature-website/blob/main/src/components/Hero.jsx): `src/components/Hero.jsx`
- [Category selection](https://github.com/flowrith/indonesia-nature-website/blob/main/src/components/Category.jsx): `src/components/Category.jsx`
- [Category cards](https://github.com/flowrith/indonesia-nature-website/blob/main/src/components/CategoryCard.jsx): `src/components/CategoryCard.jsx`
- [Category content](https://github.com/flowrith/indonesia-nature-website/blob/main/src/data/categories.js): `src/data/categories.js`
- [About section](https://github.com/flowrith/indonesia-nature-website/blob/main/src/page/about.jsx): `src/page/about.jsx`
- [About content](https://github.com/flowrith/indonesia-nature-website/blob/main/src/data/about.js): `src/data/about.js`
- [Contact section](https://github.com/flowrith/indonesia-nature-website/blob/main/src/page/contact.jsx): `src/page/contact.jsx`
- [Footer](https://github.com/flowrith/indonesia-nature-website/blob/main/src/page/footer.jsx): `src/page/footer.jsx`

### Other components

- **Visitor**

## Connections

- Visitor → React entry: opens site
- React entry → Routes and layout: renders (evidence: `src/main.jsx`)
- Routes and layout → Navigation: renders (evidence: `src/App.jsx`)
- Routes and layout → Landing page: routes to (evidence: `src/App.jsx`)
- Routes and layout → Flora collection: routes to (evidence: `src/App.jsx`)
- Routes and layout → Fauna collection: routes to (evidence: `src/App.jsx`)
- Routes and layout → Education detail: routes to (evidence: `src/App.jsx`)
- Routes and layout → Flora details: passes detail data (evidence: `src/App.jsx`)
- Routes and layout → Fauna details: passes detail data (evidence: `src/App.jsx`)
- Routes and layout → About section: renders (evidence: `src/App.jsx`)
- Routes and layout → About content: passes content (evidence: `src/App.jsx`)
- Routes and layout → Contact section: renders (evidence: `src/App.jsx`)
- Routes and layout → Footer: renders (evidence: `src/App.jsx`)
- Landing page → Hero section: renders (evidence: `src/page/home.jsx`)
- Landing page → Category selection: renders (evidence: `src/page/home.jsx`)
- Category selection → Category cards: renders (evidence: `src/components/Category.jsx`)
- Category cards → Category content: reads (evidence: `src/components/CategoryCard.jsx`)
- Flora collection → Flora entries: reads (evidence: `src/components/Flora.jsx`)
- Flora collection → Species cards: renders (evidence: `src/components/Flora.jsx`)
- Fauna collection → Fauna entries: reads (evidence: `src/components/Fauna.jsx`)
- Fauna collection → Species cards: renders (evidence: `src/components/Fauna.jsx`)
