How flowrith/indonesia-nature-website works
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: App.jsx Routes and layout · Flora.jsx Flora collection · Fauna.jsx Fauna collection · home.jsx Landing page
Components 21
App shell
- React entry
src/main.jsx - Routes and layout
src/App.jsx - Navigation
src/components/Navbar.jsx
Biodiversity education
- Flora collection
src/components/Flora.jsx - Fauna collection
src/components/Fauna.jsx - Flora entries
src/data/flora.js - Fauna entries
src/data/fauna.js - Species cards
src/components/InformationCard.jsx - Education detail
src/components/Education.jsx - Flora details
src/data/FloraEducation.js - Fauna details
src/data/FaunaEducation.js
Site content
- Landing page
src/page/home.jsx - Hero section
src/components/Hero.jsx - Category selection
src/components/Category.jsx - Category cards
src/components/CategoryCard.jsx - Category content
src/data/categories.js - About section
src/page/about.jsx - About content
src/data/about.js - Contact section
src/page/contact.jsx - Footer
src/page/footer.jsx
Other components
- Visitor
Connections 21
- Visitor → React entry: opens site
- React entry → Routes and layout: renders
src/main.jsx - Routes and layout → Navigation: renders
src/App.jsx - Routes and layout → Landing page: routes to
src/App.jsx - Routes and layout → Flora collection: routes to
src/App.jsx - Routes and layout → Fauna collection: routes to
src/App.jsx - Routes and layout → Education detail: routes to
src/App.jsx - Routes and layout → Flora details: passes detail data
src/App.jsx - Routes and layout → Fauna details: passes detail data
src/App.jsx - Routes and layout → About section: renders
src/App.jsx - Routes and layout → About content: passes content
src/App.jsx - Routes and layout → Contact section: renders
src/App.jsx - Routes and layout → Footer: renders
src/App.jsx - Landing page → Hero section: renders
src/page/home.jsx - Landing page → Category selection: renders
src/page/home.jsx - Category selection → Category cards: renders
src/components/Category.jsx - Category cards → Category content: reads
src/components/CategoryCard.jsx - Flora collection → Flora entries: reads
src/components/Flora.jsx - Flora collection → Species cards: renders
src/components/Flora.jsx - Fauna collection → Fauna entries: reads
src/components/Fauna.jsx - Fauna collection → Species cards: renders
src/components/Fauna.jsx