feat: initial PayloadCMS 3.64.0 setup for OGB Solutions
- PayloadCMS 3.64.0 + Next.js 15.4.7 + React 19.1.0 - PostgreSQL database configured - Plugins: form-builder, search, nested-docs, seo, redirects - Basic collections: Pages, Posts, Categories, Media, Users - Basic Header/Footer globals - Ready for Kit Digital grant enhancements
This commit is contained in:
@@ -0,0 +1,118 @@
|
||||
# 🚀 New Session Prompt for OGB Solutions
|
||||
|
||||
Copy and paste this into a new Claude Code session when working on OGB:
|
||||
|
||||
---
|
||||
|
||||
## Context
|
||||
|
||||
I'm Oscar Gimenez, building my **personal branding website** (OGB Solutions) using PayloadCMS 3.64.0.
|
||||
|
||||
**Current working directory:** `/home/oscar/daemez.io/x/ogb-solutions`
|
||||
|
||||
**Goal:** Launch minimal website in 2 days to meet **Kit Digital grant requirements** for professional web presence.
|
||||
|
||||
**Reference project:** I just finished building `/home/oscar/daemez.io/x/daemez.solutions` (B2B corporate site) with comprehensive collections, enhanced Header/Footer, and professional features. I want to copy relevant parts to OGB (personal site).
|
||||
|
||||
---
|
||||
|
||||
## What I Need Help With
|
||||
|
||||
Please read **`OGB_SETUP_GUIDE.md`** in the current directory for full context, then help me:
|
||||
|
||||
1. **Copy enhanced Header/Footer** from Daemez (adapt for personal brand)
|
||||
2. **Copy enhanced Categories** from Daemez
|
||||
3. **Create Projects collection** (portfolio items)
|
||||
4. **Add localization** (optional, for grant compliance)
|
||||
5. **Help with grant compliance** (WCAG 2.1 AA, accessibility, SEO)
|
||||
|
||||
---
|
||||
|
||||
## Key Files to Reference
|
||||
|
||||
**In this project (OGB):**
|
||||
- `OGB_SETUP_GUIDE.md` - Full setup instructions
|
||||
- `src/payload.config.ts` - Current config
|
||||
- `src/Header/config.ts` - Basic header (needs enhancement)
|
||||
- `src/Footer/config.ts` - Basic footer (needs enhancement)
|
||||
- `src/collections/` - Current collections (Pages, Posts, Categories, Media, Users)
|
||||
- `src/plugins/index.ts` - Already has form-builder, search, nested-docs, seo
|
||||
|
||||
**In Daemez project (reference):**
|
||||
- `/home/oscar/daemez.io/x/daemez.solutions/src/Header/config.ts` - Enhanced header (CTA, announcement bar, top bar)
|
||||
- `/home/oscar/daemez.io/x/daemez.solutions/src/Footer/config.ts` - Enhanced footer (social, EU logos, company info, newsletter)
|
||||
- `/home/oscar/daemez.io/x/daemez.solutions/src/collections/Categories.ts` - Enhanced categories (description, color, order)
|
||||
- `/home/oscar/daemez.io/x/daemez.solutions/src/collections/Products.ts` - Use as template for Projects collection
|
||||
- `/home/oscar/daemez.io/x/daemez.solutions/PLAN_CONTINUOUS.md` - Strategic decisions and roadmap
|
||||
|
||||
---
|
||||
|
||||
## Grant Requirements (Kit Digital)
|
||||
|
||||
I need **minimum 3 pages** with:
|
||||
- ✅ Homepage (landing)
|
||||
- ✅ About/presentation
|
||||
- ✅ Contact form
|
||||
- ✅ Responsive design
|
||||
- ✅ WCAG 2.1 AA accessibility
|
||||
- ✅ Self-managed CMS (PayloadCMS)
|
||||
- ✅ Basic SEO (2+ pages)
|
||||
- ✅ Sitemap
|
||||
- ✅ Multilingual ready (optional)
|
||||
|
||||
**Deadline:** 2 days for initial launch, then iterate.
|
||||
|
||||
---
|
||||
|
||||
## My Preferences
|
||||
|
||||
- **Speed over perfection** - Launch minimal, improve later
|
||||
- **Copy smart, don't reinvent** - Reuse Daemez components where applicable
|
||||
- **Personal tone** - Less corporate than Daemez, more approachable
|
||||
- **Focus on portfolio** - Showcase projects, skills, experience
|
||||
- **Grant compliance first** - Meet requirements, polish later
|
||||
|
||||
---
|
||||
|
||||
## Current Status
|
||||
|
||||
- ✅ PayloadCMS 3.64.0 installed (newer than Daemez 3.63.0)
|
||||
- ✅ PostgreSQL configured
|
||||
- ✅ Plugins: form-builder, search, nested-docs, seo, redirects (MORE than Daemez)
|
||||
- ✅ Basic collections (Pages, Posts, Categories, Media, Users)
|
||||
- ❌ Header/Footer need enhancement (copy from Daemez)
|
||||
- ❌ Categories need enhancement (copy from Daemez)
|
||||
- ❌ No Projects collection (create new, inspired by Daemez Products)
|
||||
- ❌ No localization (optional, add if needed)
|
||||
|
||||
---
|
||||
|
||||
## First Tasks
|
||||
|
||||
Please help me:
|
||||
|
||||
1. **Read `OGB_SETUP_GUIDE.md`** to understand the full context
|
||||
2. **Copy enhanced Header** from Daemez (remove top bar, keep CTA + announcement)
|
||||
3. **Copy enhanced Footer** from Daemez (remove EU logos, keep social + newsletter)
|
||||
4. **Verify everything works** (run dev server, check admin)
|
||||
|
||||
Then we'll create the Projects collection and add content.
|
||||
|
||||
---
|
||||
|
||||
## Quick Commands
|
||||
|
||||
```bash
|
||||
# Start dev server
|
||||
pnpm dev
|
||||
|
||||
# Generate TypeScript types
|
||||
pnpm generate:types
|
||||
|
||||
# Access admin
|
||||
# http://localhost:3000/admin
|
||||
```
|
||||
|
||||
---
|
||||
|
||||
**Let's launch OGB in 2 days! 🚀**
|
||||
Reference in New Issue
Block a user