# dalbert-joe/siddharth-vibe-events architecture

> Architecture diagram of the GitHub repository dalbert-joe/siddharth-vibe-events, 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/dalbert-joe/siddharth-vibe-events
- Repository: https://github.com/dalbert-joe/siddharth-vibe-events

## Overview

Siddharth Vibe Events is a public event-services website with gallery, product listings, booking contact options, feedback, and authenticated administration. Visitors enter through the routed React app, browse the home-page showcases or gallery and products, and can contact the business or submit feedback; administrators sign in before managing content and viewing analytics. The graph follows documented routes and sampled component references. Some page and API internals were not excerpted, so their uncertain interactions are omitted.

Main entry points: [`src/pages/Index.tsx`](https://github.com/dalbert-joe/siddharth-vibe-events/blob/main/src/pages/Index.tsx) (Home page), [`src/App.tsx`](https://github.com/dalbert-joe/siddharth-vibe-events/blob/main/src/App.tsx) (Routes and providers), [`src/lib/supabase.ts`](https://github.com/dalbert-joe/siddharth-vibe-events/blob/main/src/lib/supabase.ts) (Supabase client), [`src/components/EventCards.tsx`](https://github.com/dalbert-joe/siddharth-vibe-events/blob/main/src/components/EventCards.tsx) (Event services)

## Diagram (Mermaid)

```mermaid
flowchart TD

subgraph group_app["Application and navigation"]
  node_entry["App entry<br/>[main.tsx]"]
  node_router["Routes and providers<br/>[App.tsx]"]
  node_navigation["Navigation<br/>[Navigation.tsx]"]
end

subgraph group_showcase["Event and service showcase"]
  node_home["Home page<br/>[Index.tsx]"]
  node_eventcards["Event services<br/>[EventCards.tsx]"]
  node_eventmodal["Service details<br/>[Event3DModal.tsx]"]
  node_hero["Hero section<br/>[HeroSection.tsx]"]
  node_gallerysection["Home gallery<br/>[GallerySection.tsx]"]
  node_gallerypage["Gallery page<br/>[Gallery.tsx]"]
  node_productshome["Home products"]
  node_productspopup["Product promotion<br/>[ProductPopupAd.tsx]"]
  node_productspage["Products page<br/>[Products.tsx]"]
  node_area["Area restrictions"]
  node_footer["Contact and footer<br/>[Footer.tsx]"]
  node_confetti["Scroll animation<br/>[ScrollConfetti.tsx]"]
end

subgraph group_accounts["Accounts and administration"]
  node_login["Login<br/>[Login.tsx]"]
  node_signup["Signup<br/>[Signup.tsx]"]
  node_otp["OTP verification<br/>[VerifyOtp.tsx]"]
  node_auth["Auth state<br/>[AuthContext.tsx]"]
  node_adminpage["Admin console<br/>[AdminPage.tsx]"]
end

subgraph group_platform["Data and feedback"]
  node_supabase["Supabase client<br/>[supabase.ts]"]
  node_supabaseservice[("Supabase service")]
  node_feedbackapi["Feedback endpoint<br/>[feedback.ts]"]
end

node_visitor(("Visitor"))
node_admin(("Administrator"))
node_whatsapp(("WhatsApp"))
node_email(("Email"))
node_instagram(("Instagram"))

node_entry -->|"renders"| node_router
node_router -->|"routes to"| node_home
node_router -->|"routes to"| node_gallerypage
node_router -->|"routes to"| node_productspage
node_router -->|"routes to"| node_login
node_router -->|"routes to"| node_signup
node_router -->|"routes to"| node_otp
node_router -->|"guards route"| node_adminpage
node_router -->|"provides auth"| node_auth
node_home -->|"renders"| node_navigation
node_home -->|"renders"| node_hero
node_home -->|"renders"| node_eventcards
node_eventcards -->|"opens details"| node_eventmodal
node_home -->|"renders"| node_area
node_home -->|"renders"| node_gallerysection
node_home -->|"renders"| node_productshome
node_home -->|"renders"| node_productspopup
node_home -->|"renders"| node_footer
node_home -->|"renders"| node_confetti
node_home -->|"reads feedback"| node_supabase
node_home -->|"posts feedback"| node_feedbackapi
node_gallerysection -->|"loads gallery"| node_supabase
node_gallerypage -->|"accesses data"| node_supabase
node_productspopup -->|"loads products"| node_supabase
node_productspage -->|"accesses data"| node_supabase
node_auth -->|"uses client"| node_supabase
node_supabase -.->|"connects to"| node_supabaseservice
node_login -->|"authenticates"| node_supabase
node_signup -->|"registers user"| node_supabase
node_otp -->|"verifies code"| node_supabase
node_adminpage -->|"manages content"| node_supabase
node_visitor -.->|"browses"| node_home
node_visitor -.->|"contacts via"| node_whatsapp
node_visitor -.->|"contacts via"| node_email
node_visitor -.->|"visits"| node_instagram
node_admin -.->|"opens console"| node_router

click node_entry "https://github.com/dalbert-joe/siddharth-vibe-events/blob/main/src/main.tsx"
click node_router "https://github.com/dalbert-joe/siddharth-vibe-events/blob/main/src/App.tsx"
click node_home "https://github.com/dalbert-joe/siddharth-vibe-events/blob/main/src/pages/Index.tsx"
click node_eventcards "https://github.com/dalbert-joe/siddharth-vibe-events/blob/main/src/components/EventCards.tsx"
click node_eventmodal "https://github.com/dalbert-joe/siddharth-vibe-events/blob/main/src/components/Event3DModal.tsx"
click node_hero "https://github.com/dalbert-joe/siddharth-vibe-events/blob/main/src/components/HeroSection.tsx"
click node_navigation "https://github.com/dalbert-joe/siddharth-vibe-events/blob/main/src/components/Navigation.tsx"
click node_gallerysection "https://github.com/dalbert-joe/siddharth-vibe-events/blob/main/src/components/GallerySection.tsx"
click node_gallerypage "https://github.com/dalbert-joe/siddharth-vibe-events/blob/main/src/pages/Gallery.tsx"
click node_productshome "https://github.com/dalbert-joe/siddharth-vibe-events/blob/main/src/components/ProductsHomeSection.tsx"
click node_productspopup "https://github.com/dalbert-joe/siddharth-vibe-events/blob/main/src/components/ProductPopupAd.tsx"
click node_productspage "https://github.com/dalbert-joe/siddharth-vibe-events/blob/main/src/pages/Products.tsx"
click node_area "https://github.com/dalbert-joe/siddharth-vibe-events/blob/main/src/components/AreaRestrictions.tsx"
click node_footer "https://github.com/dalbert-joe/siddharth-vibe-events/blob/main/src/components/Footer.tsx"
click node_confetti "https://github.com/dalbert-joe/siddharth-vibe-events/blob/main/src/components/ScrollConfetti.tsx"
click node_login "https://github.com/dalbert-joe/siddharth-vibe-events/blob/main/src/pages/Login.tsx"
click node_signup "https://github.com/dalbert-joe/siddharth-vibe-events/blob/main/src/pages/Signup.tsx"
click node_otp "https://github.com/dalbert-joe/siddharth-vibe-events/blob/main/src/pages/VerifyOtp.tsx"
click node_auth "https://github.com/dalbert-joe/siddharth-vibe-events/blob/main/src/contexts/AuthContext.tsx"
click node_adminpage "https://github.com/dalbert-joe/siddharth-vibe-events/blob/main/src/pages/AdminPage.tsx"
click node_supabase "https://github.com/dalbert-joe/siddharth-vibe-events/blob/main/src/lib/supabase.ts"
click node_feedbackapi "https://github.com/dalbert-joe/siddharth-vibe-events/blob/main/api/feedback.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_entry,node_router,node_navigation toneBlue
class node_home,node_eventcards,node_eventmodal,node_hero,node_gallerysection,node_gallerypage,node_productshome,node_productspopup,node_productspage,node_area,node_footer,node_confetti toneAmber
class node_login,node_signup,node_otp,node_auth,node_adminpage toneMint
class node_supabase,node_supabaseservice,node_feedbackapi toneRose
class node_visitor,node_admin,node_whatsapp,node_email,node_instagram toneIndigo
```

## Components

### Application and navigation

- [App entry](https://github.com/dalbert-joe/siddharth-vibe-events/blob/main/src/main.tsx): `src/main.tsx`
- [Routes and providers](https://github.com/dalbert-joe/siddharth-vibe-events/blob/main/src/App.tsx): `src/App.tsx`
- [Navigation](https://github.com/dalbert-joe/siddharth-vibe-events/blob/main/src/components/Navigation.tsx): `src/components/Navigation.tsx`

### Event and service showcase

- [Home page](https://github.com/dalbert-joe/siddharth-vibe-events/blob/main/src/pages/Index.tsx): `src/pages/Index.tsx`
- [Event services](https://github.com/dalbert-joe/siddharth-vibe-events/blob/main/src/components/EventCards.tsx): `src/components/EventCards.tsx`
- [Service details](https://github.com/dalbert-joe/siddharth-vibe-events/blob/main/src/components/Event3DModal.tsx): `src/components/Event3DModal.tsx`
- [Hero section](https://github.com/dalbert-joe/siddharth-vibe-events/blob/main/src/components/HeroSection.tsx): `src/components/HeroSection.tsx`
- [Home gallery](https://github.com/dalbert-joe/siddharth-vibe-events/blob/main/src/components/GallerySection.tsx): `src/components/GallerySection.tsx`
- [Gallery page](https://github.com/dalbert-joe/siddharth-vibe-events/blob/main/src/pages/Gallery.tsx): `src/pages/Gallery.tsx`
- [Home products](https://github.com/dalbert-joe/siddharth-vibe-events/blob/main/src/components/ProductsHomeSection.tsx): `src/components/ProductsHomeSection.tsx`
- [Product promotion](https://github.com/dalbert-joe/siddharth-vibe-events/blob/main/src/components/ProductPopupAd.tsx): `src/components/ProductPopupAd.tsx`
- [Products page](https://github.com/dalbert-joe/siddharth-vibe-events/blob/main/src/pages/Products.tsx): `src/pages/Products.tsx`
- [Area restrictions](https://github.com/dalbert-joe/siddharth-vibe-events/blob/main/src/components/AreaRestrictions.tsx): `src/components/AreaRestrictions.tsx`
- [Contact and footer](https://github.com/dalbert-joe/siddharth-vibe-events/blob/main/src/components/Footer.tsx): `src/components/Footer.tsx`
- [Scroll animation](https://github.com/dalbert-joe/siddharth-vibe-events/blob/main/src/components/ScrollConfetti.tsx): `src/components/ScrollConfetti.tsx`

### Accounts and administration

- [Login](https://github.com/dalbert-joe/siddharth-vibe-events/blob/main/src/pages/Login.tsx): `src/pages/Login.tsx`
- [Signup](https://github.com/dalbert-joe/siddharth-vibe-events/blob/main/src/pages/Signup.tsx): `src/pages/Signup.tsx`
- [OTP verification](https://github.com/dalbert-joe/siddharth-vibe-events/blob/main/src/pages/VerifyOtp.tsx): `src/pages/VerifyOtp.tsx`
- [Auth state](https://github.com/dalbert-joe/siddharth-vibe-events/blob/main/src/contexts/AuthContext.tsx): `src/contexts/AuthContext.tsx`
- [Admin console](https://github.com/dalbert-joe/siddharth-vibe-events/blob/main/src/pages/AdminPage.tsx): `src/pages/AdminPage.tsx`

### Data and feedback

- [Supabase client](https://github.com/dalbert-joe/siddharth-vibe-events/blob/main/src/lib/supabase.ts): `src/lib/supabase.ts`
- **Supabase service**
- [Feedback endpoint](https://github.com/dalbert-joe/siddharth-vibe-events/blob/main/api/feedback.ts): `api/feedback.ts`

### Other components

- **Visitor**
- **Administrator**
- **WhatsApp**
- **Email**
- **Instagram**

## Connections

- App entry → Routes and providers: renders (evidence: `src/main.tsx`)
- Routes and providers → Home page: routes to (evidence: `src/App.tsx`)
- Routes and providers → Gallery page: routes to (evidence: `src/App.tsx`)
- Routes and providers → Products page: routes to (evidence: `src/App.tsx`)
- Routes and providers → Login: routes to (evidence: `src/App.tsx`)
- Routes and providers → Signup: routes to (evidence: `src/App.tsx`)
- Routes and providers → OTP verification: routes to (evidence: `src/App.tsx`)
- Routes and providers → Admin console: guards route (evidence: `src/App.tsx`)
- Routes and providers → Auth state: provides auth (evidence: `src/App.tsx`)
- Home page → Navigation: renders (evidence: `src/pages/Index.tsx`)
- Home page → Hero section: renders (evidence: `src/pages/Index.tsx`)
- Home page → Event services: renders (evidence: `src/pages/Index.tsx`)
- Event services → Service details: opens details (evidence: `src/components/EventCards.tsx`)
- Home page → Area restrictions: renders (evidence: `src/pages/Index.tsx`)
- Home page → Home gallery: renders (evidence: `src/pages/Index.tsx`)
- Home page → Home products: renders (evidence: `src/pages/Index.tsx`)
- Home page → Product promotion: renders (evidence: `src/pages/Index.tsx`)
- Home page → Contact and footer: renders (evidence: `src/pages/Index.tsx`)
- Home page → Scroll animation: renders (evidence: `src/pages/Index.tsx`)
- Home page → Supabase client: reads feedback (evidence: `src/pages/Index.tsx`)
- Home page → Feedback endpoint: posts feedback (evidence: `src/pages/Index.tsx`)
- Home gallery → Supabase client: loads gallery (evidence: `src/components/GallerySection.tsx`)
- Gallery page → Supabase client: accesses data (evidence: `src/pages/Gallery.tsx`)
- Product promotion → Supabase client: loads products (evidence: `src/components/ProductPopupAd.tsx`)
- Products page → Supabase client: accesses data (evidence: `src/pages/Products.tsx`)
- Auth state → Supabase client: uses client (evidence: `src/contexts/AuthContext.tsx`)
- Supabase client → Supabase service: connects to
- Login → Supabase client: authenticates (evidence: `src/pages/Login.tsx`)
- Signup → Supabase client: registers user (evidence: `src/pages/Signup.tsx`)
- OTP verification → Supabase client: verifies code (evidence: `src/pages/VerifyOtp.tsx`)
- Admin console → Supabase client: manages content (evidence: `src/pages/AdminPage.tsx`)
- Visitor → Home page: browses
- Visitor → WhatsApp: contacts via (evidence: `README.md`)
- Visitor → Email: contacts via (evidence: `README.md`)
- Visitor → Instagram: visits (evidence: `README.md`)
- Administrator → Routes and providers: opens console
