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
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:
@@ -15,7 +15,7 @@ Creating an account registers a new rental company on the platform. The flow has
|
||||
|
||||
## 1. Accessing the Sign-up Page
|
||||
|
||||
### From the marketplace homepage (port 3000)
|
||||
### From the storefront homepage (port 3000)
|
||||
|
||||
- Click **"Create Agency Space"** in the header navigation.
|
||||
- Click **"Get Started"** on any pricing plan card (`/pricing` page).
|
||||
@@ -26,7 +26,7 @@ Both actions navigate to:
|
||||
http://localhost:3000/dashboard/sign-up
|
||||
```
|
||||
|
||||
The marketplace proxies this request to the dashboard app (port 3001), which renders the multi-step form.
|
||||
The storefront proxies this request to the dashboard app (port 3001), which renders the multi-step form.
|
||||
|
||||
### URL parameters (optional)
|
||||
|
||||
@@ -111,7 +111,7 @@ Select one of three plans:
|
||||
| Plan | Description |
|
||||
|---|---|
|
||||
| **STARTER** | Core fleet, offers, and bookings |
|
||||
| **GROWTH** | Featured marketplace placement and more room to scale |
|
||||
| **GROWTH** | Featured storefront placement and more room to scale |
|
||||
| **PRO** | Full white-label and premium controls |
|
||||
|
||||
Additional options:
|
||||
@@ -213,7 +213,7 @@ Navigate to `/sign-in` (redirects to `/dashboard/sign-in`). Enter the owner emai
|
||||
After first sign-in, the user is directed to the **onboarding** page (`/onboarding`) where they can:
|
||||
|
||||
1. **Step 1 — Company profile**: Set display name, tagline, brand color, and public location.
|
||||
2. **Step 2 — Payments**: Configure AmanPay merchant ID / PayPal email and marketplace listing preference.
|
||||
2. **Step 2 — Payments**: Configure AmanPay merchant ID / PayPal email and storefront listing preference.
|
||||
3. **Step 3 — Completion**: Redirect to the dashboard home.
|
||||
|
||||
### Subscription
|
||||
@@ -228,7 +228,7 @@ New accounts start on a **90-day free trial** with the selected plan. The subscr
|
||||
|
||||
| File | Purpose |
|
||||
|---|---|
|
||||
| `apps/marketplace/src/app/renter/sign-up/page.tsx` | Marketplace redirect page to dashboard sign-up |
|
||||
| `apps/storefront/src/app/renter/sign-up/page.tsx` | Storefront redirect page to dashboard sign-up |
|
||||
| `apps/dashboard/src/app/sign-up/[[...sign-up]]/page.tsx` | Main multi-step sign-up form (4 steps, 937 lines) |
|
||||
| `apps/dashboard/src/components/ui/BilingualInput.tsx` | Bilingual (FR/AR) input component |
|
||||
| `apps/dashboard/src/components/layout/PublicShell.tsx` | Public layout wrapper for the sign-up page |
|
||||
@@ -241,10 +241,10 @@ New accounts start on a **90-day free trial** with the selected plan. The subscr
|
||||
|
||||
| File | Location |
|
||||
|---|---|
|
||||
| `apps/marketplace/src/components/MarketplaceHeader.tsx` | "Create Agency Space" button |
|
||||
| `apps/marketplace/src/components/WorkspaceTabs.tsx` | "Owner sign in" link |
|
||||
| `apps/marketplace/src/app/(public)/pricing/PricingClient.tsx` | "Get Started" pricing CTA |
|
||||
| `apps/marketplace/src/app/(public)/HomeContent.tsx` | Homepage CTA |
|
||||
| `apps/storefront/src/components/StorefrontHeader.tsx` | "Create Agency Space" button |
|
||||
| `apps/storefront/src/components/WorkspaceTabs.tsx` | "Owner sign in" link |
|
||||
| `apps/storefront/src/app/(public)/pricing/PricingClient.tsx` | "Get Started" pricing CTA |
|
||||
| `apps/storefront/src/app/(public)/HomeContent.tsx` | Homepage CTA |
|
||||
|
||||
### Backend
|
||||
|
||||
|
||||
Reference in New Issue
Block a user