How ibnufirdaus21/bioprocesslabolatory works
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: App.jsx Routes and shell · Reveal.jsx Reveal wrapper · Material.jsx Material page · SafetyInduction.jsx Safety induction
Components 19
Site shell
- React entry
src/main.jsx - Routes and shell
src/App.jsx - Navigation
src/components/Navbar.jsx - Navigation links
src/data/navLinks.js - Footer and socials
src/components/Footer.jsx - Site content
src/data/content.js
Home content
- Home page
src/pages/Home.jsx - Hero section
src/components/Hero.jsx - Achievements
src/components/WhatsHot.jsx - People and gallery
src/components/PhotoGallery.jsx
Learning resources
- Material page
src/pages/Material.jsx - Practical modules
src/data/material.js - Safety induction
src/pages/SafetyInduction.jsx - Induction content
src/data/safetyInduction.js - Embed URL helper
src/utils/getEmbedsUrl.jsx
Shared presentation
- Reveal wrapper
src/components/Reveal.jsx - Viewport observer
src/hooks/useInView.js
Other components
- Visitor
- YouTube / Drive
Connections 28
- Visitor → React entry: opens site
src/main.jsx - React entry → Routes and shell: mounts
src/main.jsx - Routes and shell → Navigation: renders
src/App.jsx - Routes and shell → Footer and socials: renders
src/App.jsx - Routes and shell → Home page: routes to
src/App.jsx - Routes and shell → Material page: routes to
src/App.jsx - Routes and shell → Safety induction: routes to
src/App.jsx - Navigation → Navigation links: reads links
src/components/Navbar.jsx - Navigation → Site content: reads site info
src/components/Navbar.jsx - Footer and socials → Site content: reads footer data
src/components/Footer.jsx - Home page → Hero section: renders
src/pages/Home.jsx - Home page → Achievements: renders
src/pages/Home.jsx - Home page → People and gallery: renders
src/pages/Home.jsx - Hero section → Site content: reads copy
src/components/Hero.jsx - Achievements → Site content: reads copy
src/components/WhatsHot.jsx - People and gallery → Site content: reads copy
src/components/PhotoGallery.jsx - Material page → Practical modules: reads modules
src/pages/Material.jsx - Material page → Embed URL helper: converts links
src/pages/Material.jsx - Material page → YouTube / Drive: embeds or links
src/pages/Material.jsx - Safety induction → Induction content: reads induction
src/pages/SafetyInduction.jsx - Safety induction → Embed URL helper: converts link
src/pages/SafetyInduction.jsx - Safety induction → YouTube / Drive: embeds or links
src/pages/SafetyInduction.jsx - Hero section → Reveal wrapper: uses
- Achievements → Reveal wrapper: uses
src/components/WhatsHot.jsx - People and gallery → Reveal wrapper: uses
src/components/PhotoGallery.jsx - Material page → Reveal wrapper: uses
src/pages/Material.jsx - Safety induction → Reveal wrapper: uses
src/pages/SafetyInduction.jsx - Reveal wrapper → Viewport observer: observes viewport
src/components/Reveal.jsx