How midlaneexports-hub/midlaneexports works
MIDLANEEXPORTS is a seven-page Indian spice-export marketing site. Visitors browse product, market, company and guidance content, explore scroll-driven WebGL scenes, and can submit a validated enquiry form that explicitly has no backend. Its main flow is page entry → shared brand-driven content and UI initialization; on demand, nearby stages load scene mounts that register views with one shared renderer. The graph retains documented motion and scene capabilities even where their implementation was not sampled; those relationships are cited to the README when documented.
Main entry points: page.js Inner-page entry · mount-home.js Home scene mount · main.js Home entry · mount-page.js Page scene mount
Components 25
Site composition
- Home entry
src/main.js - Inner-page entry
src/page.js
Brand and content
- Brand data
src/brand.js - Page content
src/ui/content.js - Shared chrome
src/ui/chrome.js
Page interactions
- Enquiry form
src/ui/form.js - Role board
src/ui/roles.js - Product index
src/ui/product-index.js
WebGL experience
- Lazy GL loader
src/ui/lazy-gl.js - Home scene mount
src/gl/mount-home.js - Page scene mount
src/gl/mount-page.js - Shared renderer
src/gl/renderer.js - Globe scenes
src/gl/globe.js - Page hero scenes
src/gl/hero.js - Departure act
src/gl/departure.js - Road act
src/gl/road.js - Handling act
src/gl/lift.js - Product-range act
src/gl/cube.js - Service scenes
src/gl/showcase.js - Particle logo
src/gl/particle-logo.js
Scroll and motion
- Scroll engine
src/ui/scroll.js - Page motion
src/ui/page-motion.js - Stage reveals
src/ui/stages.js - Content reveals
src/ui/reveal.js
Other components
- Visitor
Connections 36
- Visitor → Home entry: opens home
README.md - Visitor → Inner-page entry: opens page
README.md - Home entry → Shared chrome: initializes
src/main.js - Home entry → Page content: renders content
src/main.js - Inner-page entry → Shared chrome: initializes
src/page.js - Inner-page entry → Page content: renders content
src/page.js - Brand data → Page content: supplies content
src/ui/content.js - Brand data → Shared chrome: supplies details
src/ui/chrome.js - Inner-page entry → Enquiry form: initializes
src/page.js - Inner-page entry → Role board: initializes
src/page.js - Inner-page entry → Product index: initializes
src/page.js - Visitor → Enquiry form: enters enquiry
README.md - Inner-page entry → Lazy GL loader: checks stages
src/page.js - Lazy GL loader → Page scene mount: loads on demand
src/page.js - Home entry → Home scene mount: mounts home scenes
src/main.js - Home scene mount → Shared renderer: registers views
src/gl/mount-home.js - Page scene mount → Shared renderer: registers views
src/gl/mount-page.js - Home scene mount → Globe scenes: mounts globe
src/gl/mount-home.js - Home scene mount → Departure act: mounts act
src/gl/mount-home.js - Home scene mount → Road act: mounts act
src/gl/mount-home.js - Home scene mount → Handling act: mounts act
src/gl/mount-home.js - Home scene mount → Product-range act: mounts act
src/gl/mount-home.js - Home scene mount → Service scenes: mounts scenes
src/gl/mount-home.js - Home scene mount → Particle logo: mounts logo
src/gl/mount-home.js - Page scene mount → Page hero scenes: mounts hero
src/gl/mount-page.js - Page scene mount → Globe scenes: mounts globe
src/gl/mount-page.js - Page scene mount → Service scenes: mounts scenes
src/gl/mount-page.js - Page scene mount → Particle logo: mounts logo
src/gl/mount-page.js - Shared renderer → Globe scenes: draws view
README.md - Inner-page entry → Scroll engine: initializes scroll
src/page.js - Home entry → Scroll engine: initializes scroll
src/main.js - Inner-page entry → Page motion: initializes motion
README.md - Home entry → Stage reveals: initializes stages
src/main.js - Inner-page entry → Stage reveals: initializes stages
src/page.js - Home entry → Content reveals: initializes reveals
src/main.js - Inner-page entry → Content reveals: initializes reveals
src/page.js