Explore
Discovery page for clients to find trainers, programs, and challenges. Features search, category filters, horizontal carousels, and trainer cards. Client-only route.
Route Information
Route: /explore
File: src/routes/_authed/_onboarded/_client/explore.tsx
Layout: _authed/_onboarded/_client (client-only)
Max Width: max-w-6xl
Breadcrumb: Explore
Explore Page
Explore
Discover trainers, programs, and challenges.
Featured Programs
Shred 90
Sarah Chen
Strength Foundations
Marcus Johnson
Yoga Flow 30
Priya Patel
Top Trainers
Sarah Chen
Marcus Johnson
Priya Patel
Component Inventory
| Component | Source | Usage |
|---|---|---|
| Input | @/components/ui/input | Search bar with icon |
| Button | @/components/ui/button | Category filter pills, View Profile |
| Card | @/components/ui/card | Program cards, trainer cards |
| Avatar | @/components/ui/avatar | Trainer avatars with fallback initials |
| Badge | @/components/ui/badge | Duration, difficulty, specialty badges |
| ScrollArea + ScrollBar | @/components/ui/scroll-area | Horizontal carousel for featured programs |
Data Requirements
Currently using mock data from src/mocks/programs.ts and src/mocks/trainers.ts. Will be replaced with real queries.
State Management
selectedCategory— local state for category filter (default: "All")searchQuery— local state for search input- Filtering done client-side on mock data
Responsive Behavior
Desktop
3-column trainer grid. Horizontal scroll carousel for programs. Category pills wrap naturally.
Tablet
2-column trainer grid. Program carousel same behavior. Categories may wrap to second row.
Mobile
Single column trainers. Program cards 280px wide in carousel. Categories wrap to multiple rows.