# vinoth-vrishaba-llp/woobot-landingpage architecture

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

- Interactive diagram: https://gitdiagram.com/vinoth-vrishaba-llp/woobot-landingpage
- Repository: https://github.com/vinoth-vrishaba-llp/woobot-landingpage

## Overview

WooBot Landing Page is a static React SPA that presents WooBot to WooCommerce store owners and directs interested visitors to the store-app site. The evidenced visitor journey is the landing page’s promotional sections and CTA links, rendered through the app entry point; GSAP adds scroll-based animation. Shared UI components and toast state provide supporting presentation behavior. The README documents the page’s section themes and animation capabilities; source excerpts do not establish further product-data or backend workflows.

Main entry points: [`src/components/LandingPage.tsx`](https://github.com/vinoth-vrishaba-llp/woobot-landingpage/blob/main/src/components/LandingPage.tsx) (Marketing sections), [`src/App.tsx`](https://github.com/vinoth-vrishaba-llp/woobot-landingpage/blob/main/src/App.tsx) (App composition), [`src/components/ui/toaster.tsx`](https://github.com/vinoth-vrishaba-llp/woobot-landingpage/blob/main/src/components/ui/toaster.tsx) (Toast renderer), [`src/components/ui/toast.tsx`](https://github.com/vinoth-vrishaba-llp/woobot-landingpage/blob/main/src/components/ui/toast.tsx) (Toast presentation)

## Diagram (Mermaid)

```mermaid
flowchart TD

subgraph group_entry["App Entry"]
  node_main["React bootstrap<br/>[main.tsx]"]
  node_app["App composition<br/>[App.tsx]"]
end

subgraph group_marketing["Landing Experience"]
  node_page["Marketing sections<br/>[LandingPage.tsx]"]
  node_gsap["Scroll animations<br/>[LandingPage.tsx]"]
end

subgraph group_presentation["Shared UI"]
  node_buttons["CTA buttons<br/>[button.tsx]"]
  node_ui["UI component library"]
  node_sidebar["Responsive sidebar<br/>[sidebar.tsx]"]
  node_toastview["Toast presentation<br/>[toast.tsx]"]
  node_toaster["Toast renderer<br/>[toaster.tsx]"]
end

subgraph group_state["UI State"]
  node_mobile["Mobile breakpoint hook<br/>[use-mobile.ts]"]
  node_toaststate["Toast state manager<br/>[use-toast.ts]"]
  node_utils["Class utilities<br/>[utils.ts]"]
end

node_visitor(("Store visitor"))
node_product["WooBot app site"]

node_visitor -->|"opens SPA"| node_main
node_main -->|"renders"| node_app
node_app -->|"renders"| node_page
node_app -->|"renders"| node_toaster
node_page -->|"runs animations"| node_gsap
node_page -->|"renders CTAs"| node_buttons
node_visitor -->|"views sections"| node_page
node_visitor -->|"follows CTA"| node_product
node_sidebar -->|"checks breakpoint"| node_mobile
node_sidebar -->|"uses shared controls"| node_ui
node_toaster -->|"reads toast state"| node_toaststate
node_toaster -->|"renders toasts"| node_toastview
node_toaststate -->|"types toast data"| node_toastview
node_buttons -->|"merges classes"| node_utils
node_toastview -->|"merges classes"| node_utils
node_ui -.->|"shared styling"| node_utils

click node_main "https://github.com/vinoth-vrishaba-llp/woobot-landingpage/blob/main/src/main.tsx"
click node_app "https://github.com/vinoth-vrishaba-llp/woobot-landingpage/blob/main/src/App.tsx"
click node_page "https://github.com/vinoth-vrishaba-llp/woobot-landingpage/blob/main/src/components/LandingPage.tsx"
click node_gsap "https://github.com/vinoth-vrishaba-llp/woobot-landingpage/blob/main/src/components/LandingPage.tsx"
click node_buttons "https://github.com/vinoth-vrishaba-llp/woobot-landingpage/blob/main/src/components/ui/button.tsx"
click node_ui "https://github.com/vinoth-vrishaba-llp/woobot-landingpage/tree/main/src/components/ui"
click node_mobile "https://github.com/vinoth-vrishaba-llp/woobot-landingpage/blob/main/src/hooks/use-mobile.ts"
click node_sidebar "https://github.com/vinoth-vrishaba-llp/woobot-landingpage/blob/main/src/components/ui/sidebar.tsx"
click node_toaststate "https://github.com/vinoth-vrishaba-llp/woobot-landingpage/blob/main/src/hooks/use-toast.ts"
click node_toastview "https://github.com/vinoth-vrishaba-llp/woobot-landingpage/blob/main/src/components/ui/toast.tsx"
click node_toaster "https://github.com/vinoth-vrishaba-llp/woobot-landingpage/blob/main/src/components/ui/toaster.tsx"
click node_utils "https://github.com/vinoth-vrishaba-llp/woobot-landingpage/blob/main/src/lib/utils.ts"

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_main,node_app toneBlue
class node_page,node_gsap toneAmber
class node_buttons,node_ui,node_sidebar,node_toastview,node_toaster toneMint
class node_mobile,node_toaststate,node_utils toneRose
class node_visitor,node_product toneIndigo
```

## Components

### App Entry

- [React bootstrap](https://github.com/vinoth-vrishaba-llp/woobot-landingpage/blob/main/src/main.tsx): `src/main.tsx`
- [App composition](https://github.com/vinoth-vrishaba-llp/woobot-landingpage/blob/main/src/App.tsx): `src/App.tsx`

### Landing Experience

- [Marketing sections](https://github.com/vinoth-vrishaba-llp/woobot-landingpage/blob/main/src/components/LandingPage.tsx): `src/components/LandingPage.tsx`
- [Scroll animations](https://github.com/vinoth-vrishaba-llp/woobot-landingpage/blob/main/src/components/LandingPage.tsx): `src/components/LandingPage.tsx`

### Shared UI

- [CTA buttons](https://github.com/vinoth-vrishaba-llp/woobot-landingpage/blob/main/src/components/ui/button.tsx): `src/components/ui/button.tsx`
- [UI component library](https://github.com/vinoth-vrishaba-llp/woobot-landingpage/tree/main/src/components/ui): `src/components/ui`
- [Responsive sidebar](https://github.com/vinoth-vrishaba-llp/woobot-landingpage/blob/main/src/components/ui/sidebar.tsx): `src/components/ui/sidebar.tsx`
- [Toast presentation](https://github.com/vinoth-vrishaba-llp/woobot-landingpage/blob/main/src/components/ui/toast.tsx): `src/components/ui/toast.tsx`
- [Toast renderer](https://github.com/vinoth-vrishaba-llp/woobot-landingpage/blob/main/src/components/ui/toaster.tsx): `src/components/ui/toaster.tsx`

### UI State

- [Mobile breakpoint hook](https://github.com/vinoth-vrishaba-llp/woobot-landingpage/blob/main/src/hooks/use-mobile.ts): `src/hooks/use-mobile.ts`
- [Toast state manager](https://github.com/vinoth-vrishaba-llp/woobot-landingpage/blob/main/src/hooks/use-toast.ts): `src/hooks/use-toast.ts`
- [Class utilities](https://github.com/vinoth-vrishaba-llp/woobot-landingpage/blob/main/src/lib/utils.ts): `src/lib/utils.ts`

### Other components

- **Store visitor**
- **WooBot app site**

## Connections

- Store visitor → React bootstrap: opens SPA (evidence: `src/main.tsx`)
- React bootstrap → App composition: renders (evidence: `src/main.tsx`)
- App composition → Marketing sections: renders (evidence: `src/App.tsx`)
- App composition → Toast renderer: renders (evidence: `src/App.tsx`)
- Marketing sections → Scroll animations: runs animations (evidence: `src/components/LandingPage.tsx`)
- Marketing sections → CTA buttons: renders CTAs (evidence: `src/components/LandingPage.tsx`)
- Store visitor → Marketing sections: views sections
- Store visitor → WooBot app site: follows CTA
- Responsive sidebar → Mobile breakpoint hook: checks breakpoint (evidence: `src/components/ui/sidebar.tsx`)
- Responsive sidebar → UI component library: uses shared controls (evidence: `src/components/ui/sidebar.tsx`)
- Toast renderer → Toast state manager: reads toast state (evidence: `src/components/ui/toaster.tsx`)
- Toast renderer → Toast presentation: renders toasts (evidence: `src/components/ui/toaster.tsx`)
- Toast state manager → Toast presentation: types toast data (evidence: `src/hooks/use-toast.ts`)
- CTA buttons → Class utilities: merges classes (evidence: `src/components/ui/button.tsx`)
- Toast presentation → Class utilities: merges classes (evidence: `src/components/ui/toast.tsx`)
- UI component library → Class utilities: shared styling (evidence: `src/components/ui/context-menu.tsx`)
