# jesusdavidrinconrivera/teseracto architecture

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

- Interactive diagram: https://gitdiagram.com/jesusdavidrinconrivera/teseracto
- Repository: https://github.com/jesusdavidrinconrivera/teseracto

## Overview

TESERACTO is a responsive company website for maintenance, infrastructure, and software services. The visitor-facing flow runs from the site and its service/hero content into a branching quote quiz, which composes and submits a contact request to the API and Resend. Other documented capabilities include the Three.js hero cube, motion/reveal effects, company carousel, WhatsApp contact, and responsive navigation. Edges reflect README statements or the shown app/quiz/API references; unsampled page wiring and API internals are not inferred.

Main entry points: [`js/app.js`](https://github.com/jesusdavidrinconrivera/teseracto/blob/main/js/app.js) (App initializer), [`js/cube/cube.js`](https://github.com/jesusdavidrinconrivera/teseracto/blob/main/js/cube/cube.js) (Animated 3D cube), [`index.html`](https://github.com/jesusdavidrinconrivera/teseracto/blob/main/index.html) (TESERACTO website), [`js/forms/quiz.js`](https://github.com/jesusdavidrinconrivera/teseracto/blob/main/js/forms/quiz.js) (Quote quiz)

## Diagram (Mermaid)

```mermaid
flowchart TD

subgraph group_site["Site experience"]
  node_website["TESERACTO website<br/>[index.html]"]
  node_service_content["Services content<br/>[servicios.html]"]
  node_responsive_design["Responsive design<br/>[responsive.css]"]
  node_palette_lab["Color palette lab<br/>[paleta.html]"]
  node_trust_lab["Trust cards lab<br/>[lab-confianza.html]"]
end

subgraph group_interactive["Interactive features"]
  node_main_app["App initializer<br/>[app.js]"]
  node_hero_cube["Animated 3D cube<br/>[cube.js]"]
  node_cube_geometry["Cube geometry<br/>[cubeGeometry.js]"]
  node_cube_animation["Cube animation<br/>[cubeAnimation.js]"]
  node_cube_renderer["Cube renderer<br/>[cubeRenderer.js]"]
  node_cube_resize["Cube resizing<br/>[cubeResize.js]"]
  node_hero_logo["Logo reveal<br/>[heroLogoReveal.js]"]
  node_hero_background["Hero background<br/>[heroBackground.js]"]
  node_scroll_reveal["Scroll reveal<br/>[revealOnScroll.js]"]
  node_intersection_observer["Intersection observer<br/>[observer.js]"]
  node_ui_animations["UI animations<br/>[animations.js]"]
  node_mobile_navigation["Mobile navigation<br/>[mobileNav.js]"]
  node_clients_carousel["Client carousel<br/>[clientsCarousel.js]"]
  node_whatsapp["WhatsApp widget<br/>[whatsappWidget.js]"]
end

subgraph group_lead["Lead capture"]
  node_quote_quiz["Quote quiz<br/>[quiz.js]"]
end

subgraph group_backend["Contact delivery"]
  node_contact_api["Contact API<br/>[contact.js]"]
  node_resend["Resend email service"]
end

node_visitor(("Visitor"))

node_visitor -->|"opens"| node_website
node_website -->|"offers services"| node_service_content
node_website -->|"adapts layout"| node_responsive_design
node_website -.->|"loads app"| node_main_app
node_main_app -->|"initializes"| node_hero_cube
node_hero_cube -->|"builds from"| node_cube_geometry
node_hero_cube -->|"animates with"| node_cube_animation
node_hero_cube -->|"renders with"| node_cube_renderer
node_hero_cube -->|"resizes with"| node_cube_resize
node_main_app -->|"initializes"| node_hero_logo
node_main_app -->|"initializes"| node_hero_background
node_main_app -->|"initializes"| node_quote_quiz
node_main_app -->|"initializes"| node_scroll_reveal
node_scroll_reveal -->|"uses"| node_intersection_observer
node_main_app -->|"initializes"| node_ui_animations
node_main_app -->|"initializes"| node_mobile_navigation
node_main_app -->|"initializes"| node_clients_carousel
node_main_app -->|"initializes"| node_whatsapp
node_visitor -->|"answers"| node_quote_quiz
node_quote_quiz -->|"posts request"| node_contact_api
node_contact_api -.->|"sends email"| node_resend
node_visitor -->|"opens"| node_palette_lab
node_visitor -->|"opens"| node_trust_lab

click node_website "https://github.com/jesusdavidrinconrivera/teseracto/blob/main/index.html"
click node_service_content "https://github.com/jesusdavidrinconrivera/teseracto/blob/main/servicios.html"
click node_responsive_design "https://github.com/jesusdavidrinconrivera/teseracto/blob/main/assets/css/layout/responsive.css"
click node_main_app "https://github.com/jesusdavidrinconrivera/teseracto/blob/main/js/app.js"
click node_hero_cube "https://github.com/jesusdavidrinconrivera/teseracto/blob/main/js/cube/cube.js"
click node_cube_geometry "https://github.com/jesusdavidrinconrivera/teseracto/blob/main/js/cube/cubeGeometry.js"
click node_cube_animation "https://github.com/jesusdavidrinconrivera/teseracto/blob/main/js/cube/cubeAnimation.js"
click node_cube_renderer "https://github.com/jesusdavidrinconrivera/teseracto/blob/main/js/cube/cubeRenderer.js"
click node_cube_resize "https://github.com/jesusdavidrinconrivera/teseracto/blob/main/js/cube/cubeResize.js"
click node_hero_logo "https://github.com/jesusdavidrinconrivera/teseracto/blob/main/js/brand/heroLogoReveal.js"
click node_hero_background "https://github.com/jesusdavidrinconrivera/teseracto/blob/main/js/hero/heroBackground.js"
click node_scroll_reveal "https://github.com/jesusdavidrinconrivera/teseracto/blob/main/js/ui/revealOnScroll.js"
click node_intersection_observer "https://github.com/jesusdavidrinconrivera/teseracto/blob/main/js/ui/observer.js"
click node_ui_animations "https://github.com/jesusdavidrinconrivera/teseracto/blob/main/js/ui/animations.js"
click node_mobile_navigation "https://github.com/jesusdavidrinconrivera/teseracto/blob/main/js/ui/mobileNav.js"
click node_clients_carousel "https://github.com/jesusdavidrinconrivera/teseracto/blob/main/js/ui/clientsCarousel.js"
click node_whatsapp "https://github.com/jesusdavidrinconrivera/teseracto/blob/main/js/ui/whatsappWidget.js"
click node_quote_quiz "https://github.com/jesusdavidrinconrivera/teseracto/blob/main/js/forms/quiz.js"
click node_contact_api "https://github.com/jesusdavidrinconrivera/teseracto/blob/main/functions/api/contact.js"
click node_palette_lab "https://github.com/jesusdavidrinconrivera/teseracto/blob/main/paleta.html"
click node_trust_lab "https://github.com/jesusdavidrinconrivera/teseracto/blob/main/lab-confianza.html"

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_website,node_service_content,node_responsive_design,node_palette_lab,node_trust_lab toneBlue
class node_main_app,node_hero_cube,node_cube_geometry,node_cube_animation,node_cube_renderer,node_cube_resize,node_hero_logo,node_hero_background,node_scroll_reveal,node_intersection_observer,node_ui_animations,node_mobile_navigation,node_clients_carousel,node_whatsapp toneAmber
class node_quote_quiz toneMint
class node_contact_api,node_resend toneRose
class node_visitor toneIndigo
```

## Components

### Site experience

- [TESERACTO website](https://github.com/jesusdavidrinconrivera/teseracto/blob/main/index.html): `index.html`
- [Services content](https://github.com/jesusdavidrinconrivera/teseracto/blob/main/servicios.html): `servicios.html`
- [Responsive design](https://github.com/jesusdavidrinconrivera/teseracto/blob/main/assets/css/layout/responsive.css): `assets/css/layout/responsive.css`
- [Color palette lab](https://github.com/jesusdavidrinconrivera/teseracto/blob/main/paleta.html): `paleta.html`
- [Trust cards lab](https://github.com/jesusdavidrinconrivera/teseracto/blob/main/lab-confianza.html): `lab-confianza.html`

### Interactive features

- [App initializer](https://github.com/jesusdavidrinconrivera/teseracto/blob/main/js/app.js): `js/app.js`
- [Animated 3D cube](https://github.com/jesusdavidrinconrivera/teseracto/blob/main/js/cube/cube.js): `js/cube/cube.js`
- [Cube geometry](https://github.com/jesusdavidrinconrivera/teseracto/blob/main/js/cube/cubeGeometry.js): `js/cube/cubeGeometry.js`
- [Cube animation](https://github.com/jesusdavidrinconrivera/teseracto/blob/main/js/cube/cubeAnimation.js): `js/cube/cubeAnimation.js`
- [Cube renderer](https://github.com/jesusdavidrinconrivera/teseracto/blob/main/js/cube/cubeRenderer.js): `js/cube/cubeRenderer.js`
- [Cube resizing](https://github.com/jesusdavidrinconrivera/teseracto/blob/main/js/cube/cubeResize.js): `js/cube/cubeResize.js`
- [Logo reveal](https://github.com/jesusdavidrinconrivera/teseracto/blob/main/js/brand/heroLogoReveal.js): `js/brand/heroLogoReveal.js`
- [Hero background](https://github.com/jesusdavidrinconrivera/teseracto/blob/main/js/hero/heroBackground.js): `js/hero/heroBackground.js`
- [Scroll reveal](https://github.com/jesusdavidrinconrivera/teseracto/blob/main/js/ui/revealOnScroll.js): `js/ui/revealOnScroll.js`
- [Intersection observer](https://github.com/jesusdavidrinconrivera/teseracto/blob/main/js/ui/observer.js): `js/ui/observer.js`
- [UI animations](https://github.com/jesusdavidrinconrivera/teseracto/blob/main/js/ui/animations.js): `js/ui/animations.js`
- [Mobile navigation](https://github.com/jesusdavidrinconrivera/teseracto/blob/main/js/ui/mobileNav.js): `js/ui/mobileNav.js`
- [Client carousel](https://github.com/jesusdavidrinconrivera/teseracto/blob/main/js/ui/clientsCarousel.js): `js/ui/clientsCarousel.js`
- [WhatsApp widget](https://github.com/jesusdavidrinconrivera/teseracto/blob/main/js/ui/whatsappWidget.js): `js/ui/whatsappWidget.js`

### Lead capture

- [Quote quiz](https://github.com/jesusdavidrinconrivera/teseracto/blob/main/js/forms/quiz.js): `js/forms/quiz.js`

### Contact delivery

- [Contact API](https://github.com/jesusdavidrinconrivera/teseracto/blob/main/functions/api/contact.js): `functions/api/contact.js`
- **Resend email service**

### Other components

- **Visitor**

## Connections

- Visitor → TESERACTO website: opens (evidence: `README.md`)
- TESERACTO website → Services content: offers services (evidence: `README.md`)
- TESERACTO website → Responsive design: adapts layout (evidence: `README.md`)
- TESERACTO website → App initializer: loads app
- App initializer → Animated 3D cube: initializes (evidence: `js/app.js`)
- Animated 3D cube → Cube geometry: builds from (evidence: `js/cube/cube.js`)
- Animated 3D cube → Cube animation: animates with (evidence: `js/cube/cube.js`)
- Animated 3D cube → Cube renderer: renders with (evidence: `js/cube/cube.js`)
- Animated 3D cube → Cube resizing: resizes with (evidence: `js/cube/cube.js`)
- App initializer → Logo reveal: initializes (evidence: `js/app.js`)
- App initializer → Hero background: initializes (evidence: `js/app.js`)
- App initializer → Quote quiz: initializes (evidence: `js/app.js`)
- App initializer → Scroll reveal: initializes (evidence: `js/app.js`)
- Scroll reveal → Intersection observer: uses (evidence: `js/ui/revealOnScroll.js`)
- App initializer → UI animations: initializes (evidence: `js/app.js`)
- App initializer → Mobile navigation: initializes (evidence: `js/app.js`)
- App initializer → Client carousel: initializes (evidence: `js/app.js`)
- App initializer → WhatsApp widget: initializes (evidence: `js/app.js`)
- Visitor → Quote quiz: answers (evidence: `README.md`)
- Quote quiz → Contact API: posts request (evidence: `js/forms/quiz.js`)
- Contact API → Resend email service: sends email
- Visitor → Color palette lab: opens (evidence: `README.md`)
- Visitor → Trust cards lab: opens (evidence: `README.md`)
