# wayzyy-project/wayzyy-site architecture

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

- Interactive diagram: https://gitdiagram.com/wayzyy-project/wayzyy-site
- Repository: https://github.com/wayzyy-project/wayzyy-site

## Overview

Wayzyy is documented as a teaser and waitlist site for a planned stay platform, though the repository tree also contains marketplace, host, admin, messaging, and booking modules. The main visitor journey is the routed home page, which presents the product’s host/traveler proposition and ends in a dual-audience waitlist. The graph preserves the broader product areas visible in the tree; edges are limited to relationships shown in README or excerpts, so several unsampled feature connections are omitted.

Main entry points: [`src/pages/Index.tsx`](https://github.com/wayzyy-project/wayzyy-site/blob/main/src/pages/Index.tsx) (Landing page), [`src/App.tsx`](https://github.com/wayzyy-project/wayzyy-site/blob/main/src/App.tsx) (Route app), [`src/pages/HostPortal.tsx`](https://github.com/wayzyy-project/wayzyy-site/blob/main/src/pages/HostPortal.tsx) (Host portal), [`src/hooks/useAuth.ts`](https://github.com/wayzyy-project/wayzyy-site/blob/main/src/hooks/useAuth.ts) (Authentication)

## Diagram (Mermaid)

```mermaid
flowchart TD

subgraph group_entry["Site entry"]
  node_app["Route app<br/>[App.tsx]"]
end

subgraph group_public["Public experience"]
  node_home["Landing page<br/>[Index.tsx]"]
  node_hero["Hero and nav<br/>[HeroTriptych.tsx]"]
  node_value["Value sections<br/>[TwoSides.tsx]"]
  node_economics["Host economics"]
  node_parties["Party feature"]
  node_waitlist["Waitlist capture<br/>[Waitlist.tsx]"]
  node_blog["Travel blog<br/>[BlogIndex.tsx]"]
  node_blogdata["Blog metadata<br/>[blogPosts.ts]"]
end

subgraph group_stay["Stays and hosting"]
  node_market["Stay browsing<br/>[ExploreStays.tsx]"]
  node_property["Property details<br/>[PropertyDetail.tsx]"]
  node_booking["Booking dialog<br/>[BookingModal.tsx]"]
  node_host["Host portal<br/>[HostPortal.tsx]"]
  node_onboarding["Host onboarding"]
  node_admin["Listing review"]
end

subgraph group_platform["Platform services"]
  node_auth["Authentication<br/>[useAuth.ts]"]
  node_supabase["Supabase client<br/>[supabase.ts]"]
  node_messaging["Messaging<br/>[messaging.ts]"]
  node_inbox["Inbox<br/>[Inbox.tsx]"]
  node_seo["SEO metadata<br/>[SEO.tsx]"]
end

node_visitor(("Visitor"))

node_visitor -->|"opens site"| node_app
node_app -->|"routes to"| node_home
node_app -->|"routes to"| node_market
node_app -->|"routes to"| node_host
node_app -.->|"routes to"| node_admin
node_app -.->|"routes to"| node_inbox
node_home -->|"renders"| node_hero
node_home -->|"renders"| node_value
node_home -->|"renders"| node_economics
node_home -->|"renders"| node_parties
node_home -->|"renders"| node_waitlist
node_home -->|"renders"| node_blog
node_blog -->|"uses metadata"| node_blogdata
node_host -.->|"uses auth"| node_auth
node_auth -->|"calls auth"| node_supabase
node_admin -->|"checks session"| node_auth
node_market -.->|"opens listing"| node_property
node_property -.->|"opens booking"| node_booking
node_host -.->|"uses onboarding"| node_onboarding
node_inbox -.->|"uses messaging"| node_messaging
node_home -.->|"sets metadata"| node_seo

click node_app "https://github.com/wayzyy-project/wayzyy-site/blob/main/src/App.tsx"
click node_home "https://github.com/wayzyy-project/wayzyy-site/blob/main/src/pages/Index.tsx"
click node_hero "https://github.com/wayzyy-project/wayzyy-site/blob/main/src/components/HeroTriptych.tsx"
click node_value "https://github.com/wayzyy-project/wayzyy-site/blob/main/src/components/TwoSides.tsx"
click node_economics "https://github.com/wayzyy-project/wayzyy-site/blob/main/src/components/EconomicsSection.tsx"
click node_parties "https://github.com/wayzyy-project/wayzyy-site/blob/main/src/components/HousePartiesSection.tsx"
click node_waitlist "https://github.com/wayzyy-project/wayzyy-site/blob/main/src/components/Waitlist.tsx"
click node_blog "https://github.com/wayzyy-project/wayzyy-site/blob/main/src/pages/blog/BlogIndex.tsx"
click node_blogdata "https://github.com/wayzyy-project/wayzyy-site/blob/main/src/lib/blogPosts.ts"
click node_market "https://github.com/wayzyy-project/wayzyy-site/blob/main/src/pages/ExploreStays.tsx"
click node_property "https://github.com/wayzyy-project/wayzyy-site/blob/main/src/pages/PropertyDetail.tsx"
click node_booking "https://github.com/wayzyy-project/wayzyy-site/blob/main/src/components/booking/BookingModal.tsx"
click node_host "https://github.com/wayzyy-project/wayzyy-site/blob/main/src/pages/HostPortal.tsx"
click node_admin "https://github.com/wayzyy-project/wayzyy-site/blob/main/src/pages/AdminReviewListing.tsx"
click node_auth "https://github.com/wayzyy-project/wayzyy-site/blob/main/src/hooks/useAuth.ts"
click node_supabase "https://github.com/wayzyy-project/wayzyy-site/blob/main/src/lib/supabase.ts"
click node_messaging "https://github.com/wayzyy-project/wayzyy-site/blob/main/src/lib/messaging.ts"
click node_inbox "https://github.com/wayzyy-project/wayzyy-site/blob/main/src/pages/Inbox.tsx"
click node_seo "https://github.com/wayzyy-project/wayzyy-site/blob/main/src/components/SEO.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_app toneBlue
class node_home,node_hero,node_value,node_economics,node_parties,node_waitlist,node_blog,node_blogdata toneAmber
class node_market,node_property,node_booking,node_host,node_onboarding,node_admin toneMint
class node_auth,node_supabase,node_messaging,node_inbox,node_seo toneRose
class node_visitor toneIndigo
```

## Components

### Site entry

- [Route app](https://github.com/wayzyy-project/wayzyy-site/blob/main/src/App.tsx): `src/App.tsx`

### Public experience

- [Landing page](https://github.com/wayzyy-project/wayzyy-site/blob/main/src/pages/Index.tsx): `src/pages/Index.tsx`
- [Hero and nav](https://github.com/wayzyy-project/wayzyy-site/blob/main/src/components/HeroTriptych.tsx): `src/components/HeroTriptych.tsx`
- [Value sections](https://github.com/wayzyy-project/wayzyy-site/blob/main/src/components/TwoSides.tsx): `src/components/TwoSides.tsx`
- [Host economics](https://github.com/wayzyy-project/wayzyy-site/blob/main/src/components/EconomicsSection.tsx): `src/components/EconomicsSection.tsx`
- [Party feature](https://github.com/wayzyy-project/wayzyy-site/blob/main/src/components/HousePartiesSection.tsx): `src/components/HousePartiesSection.tsx`
- [Waitlist capture](https://github.com/wayzyy-project/wayzyy-site/blob/main/src/components/Waitlist.tsx): `src/components/Waitlist.tsx`
- [Travel blog](https://github.com/wayzyy-project/wayzyy-site/blob/main/src/pages/blog/BlogIndex.tsx): `src/pages/blog/BlogIndex.tsx`
- [Blog metadata](https://github.com/wayzyy-project/wayzyy-site/blob/main/src/lib/blogPosts.ts): `src/lib/blogPosts.ts`

### Stays and hosting

- [Stay browsing](https://github.com/wayzyy-project/wayzyy-site/blob/main/src/pages/ExploreStays.tsx): `src/pages/ExploreStays.tsx`
- [Property details](https://github.com/wayzyy-project/wayzyy-site/blob/main/src/pages/PropertyDetail.tsx): `src/pages/PropertyDetail.tsx`
- [Booking dialog](https://github.com/wayzyy-project/wayzyy-site/blob/main/src/components/booking/BookingModal.tsx): `src/components/booking/BookingModal.tsx`
- [Host portal](https://github.com/wayzyy-project/wayzyy-site/blob/main/src/pages/HostPortal.tsx): `src/pages/HostPortal.tsx`
- **Host onboarding**
- [Listing review](https://github.com/wayzyy-project/wayzyy-site/blob/main/src/pages/AdminReviewListing.tsx): `src/pages/AdminReviewListing.tsx`

### Platform services

- [Authentication](https://github.com/wayzyy-project/wayzyy-site/blob/main/src/hooks/useAuth.ts): `src/hooks/useAuth.ts`
- [Supabase client](https://github.com/wayzyy-project/wayzyy-site/blob/main/src/lib/supabase.ts): `src/lib/supabase.ts`
- [Messaging](https://github.com/wayzyy-project/wayzyy-site/blob/main/src/lib/messaging.ts): `src/lib/messaging.ts`
- [Inbox](https://github.com/wayzyy-project/wayzyy-site/blob/main/src/pages/Inbox.tsx): `src/pages/Inbox.tsx`
- [SEO metadata](https://github.com/wayzyy-project/wayzyy-site/blob/main/src/components/SEO.tsx): `src/components/SEO.tsx`

### Other components

- **Visitor**

## Connections

- Visitor → Route app: opens site
- Route app → Landing page: routes to (evidence: `src/App.tsx`)
- Route app → Stay browsing: routes to (evidence: `src/App.tsx`)
- Route app → Host portal: routes to (evidence: `src/App.tsx`)
- Route app → Listing review: routes to (evidence: `src/App.tsx`)
- Route app → Inbox: routes to
- Landing page → Hero and nav: renders (evidence: `src/pages/Index.tsx`)
- Landing page → Value sections: renders (evidence: `src/pages/Index.tsx`)
- Landing page → Host economics: renders (evidence: `src/pages/Index.tsx`)
- Landing page → Party feature: renders (evidence: `src/pages/Index.tsx`)
- Landing page → Waitlist capture: renders (evidence: `src/pages/Index.tsx`)
- Landing page → Travel blog: renders (evidence: `src/pages/Index.tsx`)
- Travel blog → Blog metadata: uses metadata
- Host portal → Authentication: uses auth
- Authentication → Supabase client: calls auth (evidence: `src/hooks/useAuth.ts`)
- Listing review → Authentication: checks session (evidence: `src/pages/AdminReviewListing.tsx`)
- Stay browsing → Property details: opens listing
- Property details → Booking dialog: opens booking
- Host portal → Host onboarding: uses onboarding
- Inbox → Messaging: uses messaging
- Landing page → SEO metadata: sets metadata (evidence: `src/pages/Index.tsx`)
