feat: add Loyalty+ platform with pages (Phase 6)
- Add alembic migration for Loyalty platform (z5f6g7h8i9j0) - Insert platform: code='loyalty', domain='loyalty.lu', path_prefix='loyalty' - Create platform marketing pages: home, pricing, features, how-it-works - Create vendor default pages: about, rewards-catalog, terms, privacy - Update implementation plan to mark Phase 6 complete Platform routing handled automatically by PlatformContextMiddleware via path_prefix detection for /loyalty/* URLs. Co-Authored-By: Claude Opus 4.5 <noreply@anthropic.com>
This commit is contained in:
@@ -1,10 +1,11 @@
|
||||
# Multi-Platform CMS Architecture - Implementation Plan
|
||||
|
||||
> **Status:** Phases 1-5 Complete | Phase 6 Pending
|
||||
> **Status:** All Phases Complete (1-6)
|
||||
> **Last Updated:** 2026-01-19
|
||||
> **Commits:**
|
||||
> - `408019d` (Phase 1: Database & Models)
|
||||
> - `9680026` (Phases 2-5: Migration, Admin, Docs, Vendor Dashboard)
|
||||
> - Phase 6: Loyalty Platform Setup (pending commit)
|
||||
|
||||
---
|
||||
|
||||
@@ -193,29 +194,36 @@ Development:
|
||||
|
||||
---
|
||||
|
||||
## Phase 6: Loyalty Platform Setup
|
||||
## Phase 6: Loyalty Platform Setup ✅ COMPLETE
|
||||
|
||||
### 6.1 Database Setup
|
||||
### 6.1 Database Setup ✅
|
||||
|
||||
```sql
|
||||
-- Insert loyalty platform
|
||||
INSERT INTO platforms (code, name, description, domain, path_prefix, ...)
|
||||
VALUES ('loyalty', 'Loyalty+', 'Customer loyalty program', 'loyalty.lu', 'loyalty', ...);
|
||||
```
|
||||
Migration: `alembic/versions/z5f6g7h8i9j0_add_loyalty_platform.py`
|
||||
|
||||
### 6.2 Create Platform Pages
|
||||
Inserts Loyalty platform with:
|
||||
- code: `loyalty`
|
||||
- name: `Loyalty+`
|
||||
- domain: `loyalty.lu`
|
||||
- path_prefix: `loyalty`
|
||||
- theme_config: purple color scheme
|
||||
|
||||
- [ ] Loyalty homepage
|
||||
- [ ] Loyalty pricing
|
||||
- [ ] Loyalty features
|
||||
- [ ] How it works
|
||||
### 6.2 Platform Marketing Pages ✅
|
||||
|
||||
### 6.3 Create Vendor Defaults
|
||||
| Page | Slug | Status |
|
||||
|------|------|--------|
|
||||
| Homepage | `home` | ✅ |
|
||||
| Pricing | `pricing` | ✅ |
|
||||
| Features | `features` | ✅ |
|
||||
| How It Works | `how-it-works` | ✅ |
|
||||
|
||||
- [ ] About (loyalty-specific)
|
||||
- [ ] Rewards catalog
|
||||
- [ ] Terms of service
|
||||
- [ ] Privacy policy
|
||||
### 6.3 Vendor Default Pages ✅
|
||||
|
||||
| Page | Slug | Status |
|
||||
|------|------|--------|
|
||||
| About | `about` | ✅ |
|
||||
| Rewards Catalog | `rewards-catalog` | ✅ |
|
||||
| Terms | `terms` | ✅ |
|
||||
| Privacy | `privacy` | ✅ |
|
||||
|
||||
---
|
||||
|
||||
|
||||
Reference in New Issue
Block a user