# kalapak-team/unitedcarriers architecture

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

- Interactive diagram: https://gitdiagram.com/kalapak-team/unitedcarriers
- Repository: https://github.com/kalapak-team/unitedcarriers

## Overview

This repository is a static, client-rendered marketing and commerce site for United Carriers, a freight and logistics business. Visitors browse service, industry, company, and insight pages; the home experience also includes flight-themed interactive visuals. A separate merchandise journey covers product browsing, cart, checkout, payment, and confirmation pages. The source shows page modules using shared animation, layout, navigation, scrolling, and popup code, while main.js coordinates site initialization and loads page chunks. HTML route files and the index indicate product areas; unsampled markup and commerce integrations limit certainty about their runtime links.

Main entry points: [`js/main.js`](https://github.com/kalapak-team/unitedcarriers/blob/main/js/main.js) (Site coordinator), [`js/chunks/Home-CZ3JhV-m.js`](https://github.com/kalapak-team/unitedcarriers/blob/main/js/chunks/Home-CZ3JhV-m.js) (Home), [`js/chunks/Career-DO6rJGI2.js`](https://github.com/kalapak-team/unitedcarriers/blob/main/js/chunks/Career-DO6rJGI2.js) (Careers), [`js/chunks/swiper-DZz_V6sl.js`](https://github.com/kalapak-team/unitedcarriers/blob/main/js/chunks/swiper-DZz_V6sl.js) (Carousel engine)

## Diagram (Mermaid)

```mermaid
flowchart TD

subgraph group_site["Site experience"]
  node_home["Home<br/>[Home-CZ3JhV-m.js]"]
  node_company["Company pages<br/>[About-rbCNMuM8.js]"]
  node_careers["Careers<br/>[Career-DO6rJGI2.js]"]
  node_contact["Contact"]
  node_insights["Insights"]
  node_articles["Articles"]
  node_services["Services"]
  node_industries["Industries"]
  node_community["Community"]
  node_terms["Policies<br/>[Terms-Dog3_GVZ.js]"]
end

subgraph group_commerce["Merchandise commerce"]
  node_shop["Merchandise"]
  node_product["Product details"]
  node_checkout["Checkout"]
  node_payment["Payment"]
  node_storefront["Storefront routes"]
  node_cart["Cart route"]
  node_checkoutroute["Checkout routes"]
end

subgraph group_shared["Shared runtime"]
  node_main["Site coordinator<br/>[main.js]"]
  node_layout["Layout and animation<br/>[layout-BqW6AIsF.js]"]
  node_helpers["Browser helpers"]
  node_scroll["Smooth scrolling<br/>[lenis-_dxIi_hK.js]"]
  node_popup["Popup behavior<br/>[popup-Dhfh37qb.js]"]
  node_swiper["Carousel engine<br/>[swiper-DZz_V6sl.js]"]
  node_navigation["Carousel controls"]
  node_fade["Carousel transitions"]
  node_gsap["Animation engine"]
  node_runtime["Module runtime"]
end

subgraph group_visuals["Interactive visuals"]
  node_frame["Frame sequences"]
  node_flights["Flight visualization"]
  node_ocean["Ocean scene"]
  node_wake["Wake simulation"]
  node_three["3D engine"]
end

node_visitor(("Visitor"))

node_visitor -->|"opens site"| node_main
node_main -->|"loads page"| node_home
node_main -->|"loads page"| node_company
node_main -->|"loads page"| node_careers
node_main -->|"loads page"| node_contact
node_main -->|"loads page"| node_insights
node_main -->|"loads page"| node_articles
node_main -->|"loads page"| node_services
node_main -->|"loads page"| node_industries
node_main -->|"loads page"| node_community
node_main -->|"loads page"| node_terms
node_main -->|"loads page"| node_shop
node_main -->|"loads page"| node_product
node_main -->|"loads page"| node_checkout
node_main -->|"loads page"| node_payment
node_home -.->|"offers products"| node_storefront
node_visitor -->|"browses products"| node_storefront
node_visitor -->|"opens cart"| node_cart
node_visitor -->|"starts checkout"| node_checkoutroute
node_storefront -.->|"renders listings"| node_shop
node_shop -.->|"opens item"| node_product
node_product -.->|"adds item"| node_cart
node_checkoutroute -.->|"renders checkout"| node_checkout
node_checkout -.->|"continues payment"| node_payment
node_home -->|"uses sequence"| node_frame
node_home -->|"uses visuals"| node_flights
node_main -->|"loads scene"| node_ocean
node_ocean -->|"uses simulation"| node_wake
node_ocean -->|"renders with"| node_three
node_wake -->|"uses engine"| node_three
node_main -->|"uses layout"| node_layout
node_main -->|"uses helpers"| node_helpers
node_main -->|"initializes scrolling"| node_scroll
node_main -->|"imports runtime"| node_runtime
node_home -->|"uses layout"| node_layout
node_home -->|"animates with"| node_gsap
node_home -->|"uses helpers"| node_helpers
node_home -->|"uses scrolling"| node_scroll
node_services -->|"creates carousel"| node_swiper
node_careers -->|"uses popups"| node_popup
node_careers -->|"uses carousel"| node_swiper
node_articles -->|"uses carousel"| node_swiper
node_careers -->|"uses controls"| node_navigation
node_articles -->|"uses controls"| node_navigation
node_navigation -->|"controls slides"| node_swiper
node_careers -->|"uses transitions"| node_fade
node_articles -->|"uses transitions"| node_fade
node_fade -->|"extends carousel"| node_swiper

click node_home "https://github.com/kalapak-team/unitedcarriers/blob/main/js/chunks/Home-CZ3JhV-m.js"
click node_company "https://github.com/kalapak-team/unitedcarriers/blob/main/js/chunks/About-rbCNMuM8.js"
click node_careers "https://github.com/kalapak-team/unitedcarriers/blob/main/js/chunks/Career-DO6rJGI2.js"
click node_contact "https://github.com/kalapak-team/unitedcarriers/blob/main/js/chunks/Contact-Dw-PN1Bj.js"
click node_insights "https://github.com/kalapak-team/unitedcarriers/blob/main/js/chunks/TpInsight-DL4pRSqI.js"
click node_articles "https://github.com/kalapak-team/unitedcarriers/blob/main/js/chunks/Article-BESLhUg7.js"
click node_services "https://github.com/kalapak-team/unitedcarriers/blob/main/js/chunks/Service-DpLSSTI4.js"
click node_industries "https://github.com/kalapak-team/unitedcarriers/blob/main/js/chunks/Industry-mhHpQXU8.js"
click node_community "https://github.com/kalapak-team/unitedcarriers/blob/main/js/chunks/Community-Cv_qZO9U.js"
click node_terms "https://github.com/kalapak-team/unitedcarriers/blob/main/js/chunks/Terms-Dog3_GVZ.js"
click node_shop "https://github.com/kalapak-team/unitedcarriers/blob/main/js/chunks/Merchandise-DluADUMo.js"
click node_product "https://github.com/kalapak-team/unitedcarriers/blob/main/js/chunks/TpProduct-NFgUTXJi.js"
click node_checkout "https://github.com/kalapak-team/unitedcarriers/blob/main/js/chunks/Checkout-_wftSllu.js"
click node_payment "https://github.com/kalapak-team/unitedcarriers/blob/main/js/chunks/Payment-CG8uYUiM.js"
click node_storefront "https://github.com/kalapak-team/unitedcarriers/tree/main/product"
click node_cart "https://github.com/kalapak-team/unitedcarriers/tree/main/cart"
click node_checkoutroute "https://github.com/kalapak-team/unitedcarriers/tree/main/checkout"
click node_main "https://github.com/kalapak-team/unitedcarriers/blob/main/js/main.js"
click node_layout "https://github.com/kalapak-team/unitedcarriers/blob/main/js/chunks/layout-BqW6AIsF.js"
click node_helpers "https://github.com/kalapak-team/unitedcarriers/blob/main/js/chunks/helpers-1Wl9fi6w.js"
click node_scroll "https://github.com/kalapak-team/unitedcarriers/blob/main/js/chunks/lenis-_dxIi_hK.js"
click node_popup "https://github.com/kalapak-team/unitedcarriers/blob/main/js/chunks/popup-Dhfh37qb.js"
click node_swiper "https://github.com/kalapak-team/unitedcarriers/blob/main/js/chunks/swiper-DZz_V6sl.js"
click node_navigation "https://github.com/kalapak-team/unitedcarriers/blob/main/js/chunks/navigation-8qWIWClt.js"
click node_fade "https://github.com/kalapak-team/unitedcarriers/blob/main/js/chunks/effect-fade-BSnVFCXA.js"
click node_gsap "https://github.com/kalapak-team/unitedcarriers/blob/main/js/chunks/vendor-gsap-GRoENYFU.js"
click node_runtime "https://github.com/kalapak-team/unitedcarriers/blob/main/js/chunks/rolldown-runtime-DdACKOZr.js"
click node_frame "https://github.com/kalapak-team/unitedcarriers/blob/main/js/chunks/frame-sequence-DVzLzLQ6.js"
click node_flights "https://github.com/kalapak-team/unitedcarriers/blob/main/js/chunks/my-flights-DRrlP7HY.js"
click node_ocean "https://github.com/kalapak-team/unitedcarriers/blob/main/js/chunks/OceanScene-CggVSafL.js"
click node_wake "https://github.com/kalapak-team/unitedcarriers/blob/main/js/chunks/WakeSimulation-BBrDm1Iz.js"
click node_three "https://github.com/kalapak-team/unitedcarriers/blob/main/js/chunks/vendor-three-DebrQqf4.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_home,node_company,node_careers,node_contact,node_insights,node_articles,node_services,node_industries,node_community,node_terms toneBlue
class node_shop,node_product,node_checkout,node_payment,node_storefront,node_cart,node_checkoutroute toneAmber
class node_main,node_layout,node_helpers,node_scroll,node_popup,node_swiper,node_navigation,node_fade,node_gsap,node_runtime toneMint
class node_frame,node_flights,node_ocean,node_wake,node_three toneRose
class node_visitor toneIndigo
```

## Components

### Site experience

- [Home](https://github.com/kalapak-team/unitedcarriers/blob/main/js/chunks/Home-CZ3JhV-m.js): `js/chunks/Home-CZ3JhV-m.js`
- [Company pages](https://github.com/kalapak-team/unitedcarriers/blob/main/js/chunks/About-rbCNMuM8.js): `js/chunks/About-rbCNMuM8.js`
- [Careers](https://github.com/kalapak-team/unitedcarriers/blob/main/js/chunks/Career-DO6rJGI2.js): `js/chunks/Career-DO6rJGI2.js`
- [Contact](https://github.com/kalapak-team/unitedcarriers/blob/main/js/chunks/Contact-Dw-PN1Bj.js): `js/chunks/Contact-Dw-PN1Bj.js`
- [Insights](https://github.com/kalapak-team/unitedcarriers/blob/main/js/chunks/TpInsight-DL4pRSqI.js): `js/chunks/TpInsight-DL4pRSqI.js`
- [Articles](https://github.com/kalapak-team/unitedcarriers/blob/main/js/chunks/Article-BESLhUg7.js): `js/chunks/Article-BESLhUg7.js`
- [Services](https://github.com/kalapak-team/unitedcarriers/blob/main/js/chunks/Service-DpLSSTI4.js): `js/chunks/Service-DpLSSTI4.js`
- [Industries](https://github.com/kalapak-team/unitedcarriers/blob/main/js/chunks/Industry-mhHpQXU8.js): `js/chunks/Industry-mhHpQXU8.js`
- [Community](https://github.com/kalapak-team/unitedcarriers/blob/main/js/chunks/Community-Cv_qZO9U.js): `js/chunks/Community-Cv_qZO9U.js`
- [Policies](https://github.com/kalapak-team/unitedcarriers/blob/main/js/chunks/Terms-Dog3_GVZ.js): `js/chunks/Terms-Dog3_GVZ.js`

### Merchandise commerce

- [Merchandise](https://github.com/kalapak-team/unitedcarriers/blob/main/js/chunks/Merchandise-DluADUMo.js): `js/chunks/Merchandise-DluADUMo.js`
- [Product details](https://github.com/kalapak-team/unitedcarriers/blob/main/js/chunks/TpProduct-NFgUTXJi.js): `js/chunks/TpProduct-NFgUTXJi.js`
- [Checkout](https://github.com/kalapak-team/unitedcarriers/blob/main/js/chunks/Checkout-_wftSllu.js): `js/chunks/Checkout-_wftSllu.js`
- [Payment](https://github.com/kalapak-team/unitedcarriers/blob/main/js/chunks/Payment-CG8uYUiM.js): `js/chunks/Payment-CG8uYUiM.js`
- [Storefront routes](https://github.com/kalapak-team/unitedcarriers/tree/main/product): `product`
- [Cart route](https://github.com/kalapak-team/unitedcarriers/tree/main/cart): `cart`
- [Checkout routes](https://github.com/kalapak-team/unitedcarriers/tree/main/checkout): `checkout`

### Shared runtime

- [Site coordinator](https://github.com/kalapak-team/unitedcarriers/blob/main/js/main.js): `js/main.js`
- [Layout and animation](https://github.com/kalapak-team/unitedcarriers/blob/main/js/chunks/layout-BqW6AIsF.js): `js/chunks/layout-BqW6AIsF.js`
- [Browser helpers](https://github.com/kalapak-team/unitedcarriers/blob/main/js/chunks/helpers-1Wl9fi6w.js): `js/chunks/helpers-1Wl9fi6w.js`
- [Smooth scrolling](https://github.com/kalapak-team/unitedcarriers/blob/main/js/chunks/lenis-_dxIi_hK.js): `js/chunks/lenis-_dxIi_hK.js`
- [Popup behavior](https://github.com/kalapak-team/unitedcarriers/blob/main/js/chunks/popup-Dhfh37qb.js): `js/chunks/popup-Dhfh37qb.js`
- [Carousel engine](https://github.com/kalapak-team/unitedcarriers/blob/main/js/chunks/swiper-DZz_V6sl.js): `js/chunks/swiper-DZz_V6sl.js`
- [Carousel controls](https://github.com/kalapak-team/unitedcarriers/blob/main/js/chunks/navigation-8qWIWClt.js): `js/chunks/navigation-8qWIWClt.js`
- [Carousel transitions](https://github.com/kalapak-team/unitedcarriers/blob/main/js/chunks/effect-fade-BSnVFCXA.js): `js/chunks/effect-fade-BSnVFCXA.js`
- [Animation engine](https://github.com/kalapak-team/unitedcarriers/blob/main/js/chunks/vendor-gsap-GRoENYFU.js): `js/chunks/vendor-gsap-GRoENYFU.js`
- [Module runtime](https://github.com/kalapak-team/unitedcarriers/blob/main/js/chunks/rolldown-runtime-DdACKOZr.js): `js/chunks/rolldown-runtime-DdACKOZr.js`

### Interactive visuals

- [Frame sequences](https://github.com/kalapak-team/unitedcarriers/blob/main/js/chunks/frame-sequence-DVzLzLQ6.js): `js/chunks/frame-sequence-DVzLzLQ6.js`
- [Flight visualization](https://github.com/kalapak-team/unitedcarriers/blob/main/js/chunks/my-flights-DRrlP7HY.js): `js/chunks/my-flights-DRrlP7HY.js`
- [Ocean scene](https://github.com/kalapak-team/unitedcarriers/blob/main/js/chunks/OceanScene-CggVSafL.js): `js/chunks/OceanScene-CggVSafL.js`
- [Wake simulation](https://github.com/kalapak-team/unitedcarriers/blob/main/js/chunks/WakeSimulation-BBrDm1Iz.js): `js/chunks/WakeSimulation-BBrDm1Iz.js`
- [3D engine](https://github.com/kalapak-team/unitedcarriers/blob/main/js/chunks/vendor-three-DebrQqf4.js): `js/chunks/vendor-three-DebrQqf4.js`

### Other components

- **Visitor**

## Connections

- Visitor → Site coordinator: opens site (evidence: `js/main.js`)
- Site coordinator → Home: loads page (evidence: `js/main.js`)
- Site coordinator → Company pages: loads page (evidence: `js/main.js`)
- Site coordinator → Careers: loads page (evidence: `js/main.js`)
- Site coordinator → Contact: loads page (evidence: `js/main.js`)
- Site coordinator → Insights: loads page (evidence: `js/main.js`)
- Site coordinator → Articles: loads page (evidence: `js/main.js`)
- Site coordinator → Services: loads page (evidence: `js/main.js`)
- Site coordinator → Industries: loads page (evidence: `js/main.js`)
- Site coordinator → Community: loads page (evidence: `js/main.js`)
- Site coordinator → Policies: loads page (evidence: `js/main.js`)
- Site coordinator → Merchandise: loads page (evidence: `js/main.js`)
- Site coordinator → Product details: loads page (evidence: `js/main.js`)
- Site coordinator → Checkout: loads page (evidence: `js/main.js`)
- Site coordinator → Payment: loads page (evidence: `js/main.js`)
- Home → Storefront routes: offers products
- Visitor → Storefront routes: browses products
- Visitor → Cart route: opens cart
- Visitor → Checkout routes: starts checkout
- Storefront routes → Merchandise: renders listings
- Merchandise → Product details: opens item
- Product details → Cart route: adds item
- Checkout routes → Checkout: renders checkout
- Checkout → Payment: continues payment
- Home → Frame sequences: uses sequence (evidence: `js/chunks/Home-CZ3JhV-m.js`)
- Home → Flight visualization: uses visuals (evidence: `js/chunks/Home-CZ3JhV-m.js`)
- Site coordinator → Ocean scene: loads scene (evidence: `js/main.js`)
- Ocean scene → Wake simulation: uses simulation (evidence: `js/chunks/OceanScene-CggVSafL.js`)
- Ocean scene → 3D engine: renders with (evidence: `js/chunks/OceanScene-CggVSafL.js`)
- Wake simulation → 3D engine: uses engine (evidence: `js/chunks/WakeSimulation-BBrDm1Iz.js`)
- Site coordinator → Layout and animation: uses layout (evidence: `js/main.js`)
- Site coordinator → Browser helpers: uses helpers (evidence: `js/main.js`)
- Site coordinator → Smooth scrolling: initializes scrolling (evidence: `js/main.js`)
- Site coordinator → Module runtime: imports runtime (evidence: `js/main.js`)
- Home → Layout and animation: uses layout (evidence: `js/chunks/Home-CZ3JhV-m.js`)
- Home → Animation engine: animates with (evidence: `js/chunks/Home-CZ3JhV-m.js`)
- Home → Browser helpers: uses helpers (evidence: `js/chunks/Home-CZ3JhV-m.js`)
- Home → Smooth scrolling: uses scrolling (evidence: `js/chunks/Home-CZ3JhV-m.js`)
- Services → Carousel engine: creates carousel (evidence: `js/chunks/Service-DpLSSTI4.js`)
- Careers → Popup behavior: uses popups (evidence: `js/chunks/Career-DO6rJGI2.js`)
- Careers → Carousel engine: uses carousel (evidence: `js/chunks/Career-DO6rJGI2.js`)
- Articles → Carousel engine: uses carousel (evidence: `js/chunks/Article-BESLhUg7.js`)
- Careers → Carousel controls: uses controls (evidence: `js/chunks/Career-DO6rJGI2.js`)
- Articles → Carousel controls: uses controls (evidence: `js/chunks/Article-BESLhUg7.js`)
- Carousel controls → Carousel engine: controls slides (evidence: `js/chunks/navigation-8qWIWClt.js`)
- Careers → Carousel transitions: uses transitions (evidence: `js/chunks/Career-DO6rJGI2.js`)
- Articles → Carousel transitions: uses transitions (evidence: `js/chunks/Article-BESLhUg7.js`)
- Carousel transitions → Carousel engine: extends carousel (evidence: `js/chunks/effect-fade-BSnVFCXA.js`)
