# ippilichinmayi/vibehack architecture

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

- Interactive diagram: https://gitdiagram.com/ippilichinmayi/vibehack
- Repository: https://github.com/ippilichinmayi/vibehack

## Overview

Laal Harpic is a playful, browser-based storefront: visitors can view a product homepage, pass a deliberately comic CAPTCHA/terms gate, and inspect a cart. A separate loading interstitial routes toward the gate. The implementation is a small React client with path-based page selection and reusable collage/loading visuals; no backend or persistent commerce service is evidenced. Edges reflect shown imports, renders, and routing. The README gives no capability details, and unsampled page logic limits claims about cart updates or checkout.

Main entry points: [`client/src/App.tsx`](https://github.com/ippilichinmayi/vibehack/blob/main/client/src/App.tsx) (Page selection), [`client/src/pages/loading/CollageBackground.tsx`](https://github.com/ippilichinmayi/vibehack/blob/main/client/src/pages/loading/CollageBackground.tsx) (Collage background), [`client/src/pages/CartPage.tsx`](https://github.com/ippilichinmayi/vibehack/blob/main/client/src/pages/CartPage.tsx) (Cart view), [`client/src/pages/LoadingPage.tsx`](https://github.com/ippilichinmayi/vibehack/blob/main/client/src/pages/LoadingPage.tsx) (Loading interstitial)

## Diagram (Mermaid)

```mermaid
flowchart TD

subgraph group_app["Client routing"]
  node_bootstrap["React bootstrap<br/>[main.tsx]"]
  node_router["Page selection<br/>[App.tsx]"]
end

subgraph group_store["Storefront"]
  node_home["Product homepage<br/>[HomePage.tsx]"]
  node_cart["Cart view<br/>[CartPage.tsx]"]
end

subgraph group_entry["Entry experience"]
  node_loading["Loading interstitial<br/>[LoadingPage.tsx]"]
  node_captcha["CAPTCHA and terms<br/>[Captcha.tsx]"]
end

subgraph group_visuals["Visual components"]
  node_collage["Collage background"]
  node_loadingbar["Isometric progress bar<br/>[IsoLoadingBar.tsx]"]
  node_art["SVG art assets<br/>[art.tsx]"]
  node_placards["Placard artwork<br/>[placards.tsx]"]
end

node_visitor(("Visitor"))

node_visitor -->|"opens app"| node_bootstrap
node_bootstrap -->|"renders"| node_router
node_router -->|"routes homepage"| node_home
node_router -->|"routes loading"| node_loading
node_router -->|"routes CAPTCHA"| node_captcha
node_router -->|"routes cart"| node_cart
node_home -->|"renders"| node_collage
node_cart -->|"reads products"| node_home
node_cart -->|"renders"| node_collage
node_loading -->|"renders"| node_collage
node_loading -->|"renders progress"| node_loadingbar
node_collage -->|"uses shapes"| node_art
node_collage -->|"renders placards"| node_placards
node_placards -->|"uses colors"| node_art

click node_bootstrap "https://github.com/ippilichinmayi/vibehack/blob/main/client/src/main.tsx"
click node_router "https://github.com/ippilichinmayi/vibehack/blob/main/client/src/App.tsx"
click node_home "https://github.com/ippilichinmayi/vibehack/blob/main/client/src/pages/HomePage.tsx"
click node_cart "https://github.com/ippilichinmayi/vibehack/blob/main/client/src/pages/CartPage.tsx"
click node_loading "https://github.com/ippilichinmayi/vibehack/blob/main/client/src/pages/LoadingPage.tsx"
click node_captcha "https://github.com/ippilichinmayi/vibehack/blob/main/client/src/pages/Captcha.tsx"
click node_collage "https://github.com/ippilichinmayi/vibehack/blob/main/client/src/pages/loading/CollageBackground.tsx"
click node_loadingbar "https://github.com/ippilichinmayi/vibehack/blob/main/client/src/pages/loading/IsoLoadingBar.tsx"
click node_art "https://github.com/ippilichinmayi/vibehack/blob/main/client/src/pages/loading/art.tsx"
click node_placards "https://github.com/ippilichinmayi/vibehack/blob/main/client/src/pages/loading/placards.tsx"

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_bootstrap,node_router toneBlue
class node_home,node_cart toneAmber
class node_loading,node_captcha toneMint
class node_collage,node_loadingbar,node_art,node_placards toneRose
class node_visitor toneIndigo
```

## Components

### Client routing

- [React bootstrap](https://github.com/ippilichinmayi/vibehack/blob/main/client/src/main.tsx): `client/src/main.tsx`
- [Page selection](https://github.com/ippilichinmayi/vibehack/blob/main/client/src/App.tsx): `client/src/App.tsx`

### Storefront

- [Product homepage](https://github.com/ippilichinmayi/vibehack/blob/main/client/src/pages/HomePage.tsx): `client/src/pages/HomePage.tsx`
- [Cart view](https://github.com/ippilichinmayi/vibehack/blob/main/client/src/pages/CartPage.tsx): `client/src/pages/CartPage.tsx`

### Entry experience

- [Loading interstitial](https://github.com/ippilichinmayi/vibehack/blob/main/client/src/pages/LoadingPage.tsx): `client/src/pages/LoadingPage.tsx`
- [CAPTCHA and terms](https://github.com/ippilichinmayi/vibehack/blob/main/client/src/pages/Captcha.tsx): `client/src/pages/Captcha.tsx`

### Visual components

- [Collage background](https://github.com/ippilichinmayi/vibehack/blob/main/client/src/pages/loading/CollageBackground.tsx): `client/src/pages/loading/CollageBackground.tsx`
- [Isometric progress bar](https://github.com/ippilichinmayi/vibehack/blob/main/client/src/pages/loading/IsoLoadingBar.tsx): `client/src/pages/loading/IsoLoadingBar.tsx`
- [SVG art assets](https://github.com/ippilichinmayi/vibehack/blob/main/client/src/pages/loading/art.tsx): `client/src/pages/loading/art.tsx`
- [Placard artwork](https://github.com/ippilichinmayi/vibehack/blob/main/client/src/pages/loading/placards.tsx): `client/src/pages/loading/placards.tsx`

### Other components

- **Visitor**

## Connections

- Visitor → React bootstrap: opens app (evidence: `client/src/main.tsx`)
- React bootstrap → Page selection: renders (evidence: `client/src/main.tsx`)
- Page selection → Product homepage: routes homepage (evidence: `client/src/App.tsx`)
- Page selection → Loading interstitial: routes loading (evidence: `client/src/App.tsx`)
- Page selection → CAPTCHA and terms: routes CAPTCHA (evidence: `client/src/App.tsx`)
- Page selection → Cart view: routes cart (evidence: `client/src/App.tsx`)
- Product homepage → Collage background: renders (evidence: `client/src/pages/HomePage.tsx`)
- Cart view → Product homepage: reads products (evidence: `client/src/pages/CartPage.tsx`)
- Cart view → Collage background: renders (evidence: `client/src/pages/CartPage.tsx`)
- Loading interstitial → Collage background: renders (evidence: `client/src/pages/LoadingPage.tsx`)
- Loading interstitial → Isometric progress bar: renders progress (evidence: `client/src/pages/LoadingPage.tsx`)
- Collage background → SVG art assets: uses shapes (evidence: `client/src/pages/loading/CollageBackground.tsx`)
- Collage background → Placard artwork: renders placards (evidence: `client/src/pages/loading/CollageBackground.tsx`)
- Placard artwork → SVG art assets: uses colors (evidence: `client/src/pages/loading/placards.tsx`)
