# ibnufirdaus21/bioprocesslabolatory architecture

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

- Interactive diagram: https://gitdiagram.com/ibnufirdaus21/bioprocesslabolatory
- Repository: https://github.com/ibnufirdaus21/bioprocesslabolatory

## Overview

This is a static React website for UNDIP’s Bioprocess Laboratory. Visitors enter through the shared navigation, then view the home page, practical materials, or safety induction; material and induction pages present video embeds and downloadable or linked resources. Home also features laboratory achievements and a photo gallery. Content is separated into data modules, while shared reveal behavior is implemented with an in-view hook. The graph follows documented imports and page composition; external media links are shown where the page code supports them.

Main entry points: [`src/App.jsx`](https://github.com/ibnufirdaus21/bioprocesslabolatory/blob/main/src/App.jsx) (Routes and shell), [`src/components/Reveal.jsx`](https://github.com/ibnufirdaus21/bioprocesslabolatory/blob/main/src/components/Reveal.jsx) (Reveal wrapper), [`src/pages/Material.jsx`](https://github.com/ibnufirdaus21/bioprocesslabolatory/blob/main/src/pages/Material.jsx) (Material page), [`src/pages/SafetyInduction.jsx`](https://github.com/ibnufirdaus21/bioprocesslabolatory/blob/main/src/pages/SafetyInduction.jsx) (Safety induction)

## Diagram (Mermaid)

```mermaid
flowchart TD

subgraph group_site["Site shell"]
  node_entry["React entry<br/>[main.jsx]"]
  node_app["Routes and shell<br/>[App.jsx]"]
  node_navbar["Navigation<br/>[Navbar.jsx]"]
  node_navdata["Navigation links<br/>[navLinks.js]"]
  node_footer["Footer and socials<br/>[Footer.jsx]"]
  node_content["Site content<br/>[content.js]"]
end

subgraph group_home["Home content"]
  node_home["Home page<br/>[Home.jsx]"]
  node_hero["Hero section<br/>[Hero.jsx]"]
  node_whats_hot["Achievements<br/>[WhatsHot.jsx]"]
  node_gallery["People and gallery<br/>[PhotoGallery.jsx]"]
end

subgraph group_learning["Learning resources"]
  node_materials_page["Material page<br/>[Material.jsx]"]
  node_materials_data["Practical modules<br/>[material.js]"]
  node_safety_page["Safety induction"]
  node_safety_data["Induction content<br/>[safetyInduction.js]"]
  node_embed_url["Embed URL helper<br/>[getEmbedsUrl.jsx]"]
end

subgraph group_shared["Shared presentation"]
  node_reveal["Reveal wrapper<br/>[Reveal.jsx]"]
  node_inview["Viewport observer<br/>[useInView.js]"]
end

node_visitor(("Visitor"))
node_media_services["YouTube / Drive"]

node_visitor -->|"opens site"| node_entry
node_entry -->|"mounts"| node_app
node_app -->|"renders"| node_navbar
node_app -->|"renders"| node_footer
node_app -->|"routes to"| node_home
node_app -->|"routes to"| node_materials_page
node_app -->|"routes to"| node_safety_page
node_navbar -->|"reads links"| node_navdata
node_navbar -->|"reads site info"| node_content
node_footer -->|"reads footer data"| node_content
node_home -->|"renders"| node_hero
node_home -->|"renders"| node_whats_hot
node_home -->|"renders"| node_gallery
node_hero -->|"reads copy"| node_content
node_whats_hot -->|"reads copy"| node_content
node_gallery -->|"reads copy"| node_content
node_materials_page -->|"reads modules"| node_materials_data
node_materials_page -->|"converts links"| node_embed_url
node_materials_page -.->|"embeds or links"| node_media_services
node_safety_page -->|"reads induction"| node_safety_data
node_safety_page -->|"converts link"| node_embed_url
node_safety_page -.->|"embeds or links"| node_media_services
node_hero -.->|"uses"| node_reveal
node_whats_hot -->|"uses"| node_reveal
node_gallery -->|"uses"| node_reveal
node_materials_page -->|"uses"| node_reveal
node_safety_page -->|"uses"| node_reveal
node_reveal -->|"observes viewport"| node_inview

click node_entry "https://github.com/ibnufirdaus21/bioprocesslabolatory/blob/main/src/main.jsx"
click node_app "https://github.com/ibnufirdaus21/bioprocesslabolatory/blob/main/src/App.jsx"
click node_navbar "https://github.com/ibnufirdaus21/bioprocesslabolatory/blob/main/src/components/Navbar.jsx"
click node_navdata "https://github.com/ibnufirdaus21/bioprocesslabolatory/blob/main/src/data/navLinks.js"
click node_footer "https://github.com/ibnufirdaus21/bioprocesslabolatory/blob/main/src/components/Footer.jsx"
click node_content "https://github.com/ibnufirdaus21/bioprocesslabolatory/blob/main/src/data/content.js"
click node_home "https://github.com/ibnufirdaus21/bioprocesslabolatory/blob/main/src/pages/Home.jsx"
click node_hero "https://github.com/ibnufirdaus21/bioprocesslabolatory/blob/main/src/components/Hero.jsx"
click node_whats_hot "https://github.com/ibnufirdaus21/bioprocesslabolatory/blob/main/src/components/WhatsHot.jsx"
click node_gallery "https://github.com/ibnufirdaus21/bioprocesslabolatory/blob/main/src/components/PhotoGallery.jsx"
click node_materials_page "https://github.com/ibnufirdaus21/bioprocesslabolatory/blob/main/src/pages/Material.jsx"
click node_materials_data "https://github.com/ibnufirdaus21/bioprocesslabolatory/blob/main/src/data/material.js"
click node_safety_page "https://github.com/ibnufirdaus21/bioprocesslabolatory/blob/main/src/pages/SafetyInduction.jsx"
click node_safety_data "https://github.com/ibnufirdaus21/bioprocesslabolatory/blob/main/src/data/safetyInduction.js"
click node_embed_url "https://github.com/ibnufirdaus21/bioprocesslabolatory/blob/main/src/utils/getEmbedsUrl.jsx"
click node_reveal "https://github.com/ibnufirdaus21/bioprocesslabolatory/blob/main/src/components/Reveal.jsx"
click node_inview "https://github.com/ibnufirdaus21/bioprocesslabolatory/blob/main/src/hooks/useInView.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_entry,node_app,node_navbar,node_navdata,node_footer,node_content toneBlue
class node_home,node_hero,node_whats_hot,node_gallery toneAmber
class node_materials_page,node_materials_data,node_safety_page,node_safety_data,node_embed_url toneMint
class node_reveal,node_inview toneRose
class node_visitor,node_media_services toneIndigo
```

## Components

### Site shell

- [React entry](https://github.com/ibnufirdaus21/bioprocesslabolatory/blob/main/src/main.jsx): `src/main.jsx`
- [Routes and shell](https://github.com/ibnufirdaus21/bioprocesslabolatory/blob/main/src/App.jsx): `src/App.jsx`
- [Navigation](https://github.com/ibnufirdaus21/bioprocesslabolatory/blob/main/src/components/Navbar.jsx): `src/components/Navbar.jsx`
- [Navigation links](https://github.com/ibnufirdaus21/bioprocesslabolatory/blob/main/src/data/navLinks.js): `src/data/navLinks.js`
- [Footer and socials](https://github.com/ibnufirdaus21/bioprocesslabolatory/blob/main/src/components/Footer.jsx): `src/components/Footer.jsx`
- [Site content](https://github.com/ibnufirdaus21/bioprocesslabolatory/blob/main/src/data/content.js): `src/data/content.js`

### Home content

- [Home page](https://github.com/ibnufirdaus21/bioprocesslabolatory/blob/main/src/pages/Home.jsx): `src/pages/Home.jsx`
- [Hero section](https://github.com/ibnufirdaus21/bioprocesslabolatory/blob/main/src/components/Hero.jsx): `src/components/Hero.jsx`
- [Achievements](https://github.com/ibnufirdaus21/bioprocesslabolatory/blob/main/src/components/WhatsHot.jsx): `src/components/WhatsHot.jsx`
- [People and gallery](https://github.com/ibnufirdaus21/bioprocesslabolatory/blob/main/src/components/PhotoGallery.jsx): `src/components/PhotoGallery.jsx`

### Learning resources

- [Material page](https://github.com/ibnufirdaus21/bioprocesslabolatory/blob/main/src/pages/Material.jsx): `src/pages/Material.jsx`
- [Practical modules](https://github.com/ibnufirdaus21/bioprocesslabolatory/blob/main/src/data/material.js): `src/data/material.js`
- [Safety induction](https://github.com/ibnufirdaus21/bioprocesslabolatory/blob/main/src/pages/SafetyInduction.jsx): `src/pages/SafetyInduction.jsx`
- [Induction content](https://github.com/ibnufirdaus21/bioprocesslabolatory/blob/main/src/data/safetyInduction.js): `src/data/safetyInduction.js`
- [Embed URL helper](https://github.com/ibnufirdaus21/bioprocesslabolatory/blob/main/src/utils/getEmbedsUrl.jsx): `src/utils/getEmbedsUrl.jsx`

### Shared presentation

- [Reveal wrapper](https://github.com/ibnufirdaus21/bioprocesslabolatory/blob/main/src/components/Reveal.jsx): `src/components/Reveal.jsx`
- [Viewport observer](https://github.com/ibnufirdaus21/bioprocesslabolatory/blob/main/src/hooks/useInView.js): `src/hooks/useInView.js`

### Other components

- **Visitor**
- **YouTube / Drive**

## Connections

- Visitor → React entry: opens site (evidence: `src/main.jsx`)
- React entry → Routes and shell: mounts (evidence: `src/main.jsx`)
- Routes and shell → Navigation: renders (evidence: `src/App.jsx`)
- Routes and shell → Footer and socials: renders (evidence: `src/App.jsx`)
- Routes and shell → Home page: routes to (evidence: `src/App.jsx`)
- Routes and shell → Material page: routes to (evidence: `src/App.jsx`)
- Routes and shell → Safety induction: routes to (evidence: `src/App.jsx`)
- Navigation → Navigation links: reads links (evidence: `src/components/Navbar.jsx`)
- Navigation → Site content: reads site info (evidence: `src/components/Navbar.jsx`)
- Footer and socials → Site content: reads footer data (evidence: `src/components/Footer.jsx`)
- Home page → Hero section: renders (evidence: `src/pages/Home.jsx`)
- Home page → Achievements: renders (evidence: `src/pages/Home.jsx`)
- Home page → People and gallery: renders (evidence: `src/pages/Home.jsx`)
- Hero section → Site content: reads copy (evidence: `src/components/Hero.jsx`)
- Achievements → Site content: reads copy (evidence: `src/components/WhatsHot.jsx`)
- People and gallery → Site content: reads copy (evidence: `src/components/PhotoGallery.jsx`)
- Material page → Practical modules: reads modules (evidence: `src/pages/Material.jsx`)
- Material page → Embed URL helper: converts links (evidence: `src/pages/Material.jsx`)
- Material page → YouTube / Drive: embeds or links (evidence: `src/pages/Material.jsx`)
- Safety induction → Induction content: reads induction (evidence: `src/pages/SafetyInduction.jsx`)
- Safety induction → Embed URL helper: converts link (evidence: `src/pages/SafetyInduction.jsx`)
- Safety induction → YouTube / Drive: embeds or links (evidence: `src/pages/SafetyInduction.jsx`)
- Hero section → Reveal wrapper: uses
- Achievements → Reveal wrapper: uses (evidence: `src/components/WhatsHot.jsx`)
- People and gallery → Reveal wrapper: uses (evidence: `src/components/PhotoGallery.jsx`)
- Material page → Reveal wrapper: uses (evidence: `src/pages/Material.jsx`)
- Safety induction → Reveal wrapper: uses (evidence: `src/pages/SafetyInduction.jsx`)
- Reveal wrapper → Viewport observer: observes viewport (evidence: `src/components/Reveal.jsx`)
