refactor: rename marketplace to storefront across the entire monorepo
Build & Deploy / Build & Push Docker Image (push) Successful in 1m2s
Test / Type Check (all packages) (push) Failing after 28s
Test / API Unit Tests (push) Has been skipped
Test / Homepage Unit Tests (push) Has been skipped
Test / Storefront Unit Tests (push) Has been skipped
Test / Admin Unit Tests (push) Has been skipped
Test / Dashboard Unit Tests (push) Has been skipped
Test / API Integration Tests (push) Has been skipped
Build & Deploy / Deploy to VPS (push) Successful in 3s

Comprehensive rename of all marketplace references to storefront:
- API module: apps/api/src/modules/marketplace/ → storefront/
- Components: MarketplaceHeader → StorefrontHeader, MarketplaceShell →
  StorefrontShell, MarketplaceFooter → StorefrontFooter
- Types: marketplace-homepage.ts → storefront-homepage.ts
- Test files: employee-marketplace-* → employee-storefront-*
- All source code identifiers, imports, route paths, and strings
- Documentation (docs/), CI config (.gitlab-ci.yml), scripts
- Dashboard, admin, storefront workspace references
- Prisma field names preserved (isListedOnMarketplace, marketplaceRating,
  marketplaceFunnelEvent) as they map to database schema

Validation:
- API type-check: 0 errors
- Storefront type-check: 0 errors
- Dashboard type-check: 0 errors
- Full monorepo type-check: only pre-existing admin TS18046
This commit is contained in:
root
2026-06-28 01:14:46 -04:00
parent bffda95a7c
commit 8aab968e09
147 changed files with 829 additions and 829 deletions
+10 -10
View File
@@ -44,7 +44,7 @@
## 3. What to Redesign (Inspired by isysolution.com)
### 3.1 Marketplace — Public Pages
### 3.1 Storefront — Public Pages
#### Home Page (`/`)
Current issues to fix:
@@ -70,7 +70,7 @@ Stats Strip
How It Works
├── Step 1: Create your workspace
├── Step 2: Add your fleet
├── Step 3: Go live on marketplace
├── Step 3: Go live on storefront
└── Step 4: Manage everything from dashboard
Services / Features Grid
@@ -154,8 +154,8 @@ Redesign:
## 4. Component Redesign Checklist
### Shared Components
- [ ] `MarketplaceHeader` — add mobile hamburger menu, improve nav spacing
- [ ] `MarketplaceFooter` — add logo, social links, newsletter input
- [ ] `StorefrontHeader` — add mobile hamburger menu, improve nav spacing
- [ ] `StorefrontFooter` — add logo, social links, newsletter input
- [ ] `BookingForm` — improve step layout, add progress indicator
- [ ] `WorkspaceTabs` — improve active tab styling
@@ -187,7 +187,7 @@ Redesign:
| Numbered step process | Home "How it works" |
| Stats/counters strip | Home page |
| Testimonials carousel | Home page |
| Mega footer with columns | Marketplace footer |
| Mega footer with columns | Storefront footer |
| Sidebar with grouped nav | Dashboard |
| KPI metric cards | Dashboard home |
@@ -202,7 +202,7 @@ Redesign:
- Wide: `xl: 1280px`, `2xl: 1536px`
### Mobile Improvements Needed
- [ ] Hamburger menu for marketplace header
- [ ] Hamburger menu for storefront header
- [ ] Collapsible sidebar for dashboard
- [ ] Stack pricing cards vertically
- [ ] Full-width booking form
@@ -228,7 +228,7 @@ Redesign:
## 8. Implementation Phases
### Phase 1 — Marketplace Public Pages (Priority)
### Phase 1 — Storefront Public Pages (Priority)
1. Home page redesign
- Stats strip
- How it works section
@@ -254,15 +254,15 @@ Redesign:
## 9. Files to Modify
### Marketplace
### Storefront
| File | Change |
|---|---|
| `src/app/(public)/HomeContent.tsx` | Add stats, how-it-works, testimonials sections |
| `src/app/(public)/features/page.tsx` | Alternating layout |
| `src/app/(public)/pricing/PricingPageContent.tsx` | Toggle + improved cards |
| `src/app/(public)/explore/ExploreVehicleGrid.tsx` | Improved vehicle cards |
| `src/components/MarketplaceHeader.tsx` | Mobile menu |
| `src/components/MarketplaceFooter.tsx` | Mega footer |
| `src/components/StorefrontHeader.tsx` | Mobile menu |
| `src/components/StorefrontFooter.tsx` | Mega footer |
| `src/app/globals.css` | No changes needed |
### Dashboard