Files
maternal-app/parentflow-admin/package.json
Andrei d7d6732475
Some checks failed
ParentFlow CI/CD Pipeline / Backend Tests (push) Has been cancelled
ParentFlow CI/CD Pipeline / Frontend Tests (push) Has been cancelled
ParentFlow CI/CD Pipeline / Security Scanning (push) Has been cancelled
ParentFlow CI/CD Pipeline / Build Docker Images (map[context:maternal-app/maternal-app-backend dockerfile:Dockerfile.production name:backend]) (push) Has been cancelled
ParentFlow CI/CD Pipeline / Build Docker Images (map[context:maternal-web dockerfile:Dockerfile.production name:frontend]) (push) Has been cancelled
ParentFlow CI/CD Pipeline / Deploy to Development (push) Has been cancelled
ParentFlow CI/CD Pipeline / Deploy to Production (push) Has been cancelled
CI/CD Pipeline / Lint and Test (push) Has been cancelled
CI/CD Pipeline / E2E Tests (push) Has been cancelled
CI/CD Pipeline / Build Application (push) Has been cancelled
feat: Implement Legal Pages CMS admin UI with markdown editor
Add comprehensive admin interface for legal pages management:
- List page with filters (language, publish status)
- Markdown editor with live preview (SimpleMDE + react-markdown)
- Create/Edit/Delete operations
- Publish/Unpublish toggle
- Version history support (UI ready)
- Multi-language support (en, es, fr, pt, zh)
- Auto-slug generation from title
- Navigation menu integration with Gavel icon

Installed packages:
- react-markdown (markdown rendering)
- remark-gfm (GitHub Flavored Markdown)
- react-simplemde-editor (markdown editor)
- easymde (editor styles)

Pages created:
- /legal-pages - List view with filters
- /legal-pages/new - Create new legal page
- /legal-pages/[id]/edit - Edit existing page with live preview

Features:
 Split-view markdown editor with live preview
 Auto-slug generation from title
 Language selector (5 languages)
 Publish/draft toggle
 Responsive design
 Real-time preview with GFM support
 Navigation integration

🤖 Generated with [Claude Code](https://claude.com/claude-code)

Co-Authored-By: Claude <noreply@anthropic.com>
2025-10-08 22:17:39 +00:00

39 lines
972 B
JSON

{
"name": "parentflow-admin",
"version": "0.1.0",
"private": true,
"scripts": {
"dev": "next dev -p 3335 -H 0.0.0.0",
"build": "next build",
"start": "next start -p 3335"
},
"dependencies": {
"@emotion/react": "^11.14.0",
"@emotion/styled": "^11.14.1",
"@mui/icons-material": "^7.3.4",
"@mui/material": "^7.3.4",
"@mui/material-nextjs": "^7.3.3",
"@mui/x-charts": "^8.13.1",
"@mui/x-data-grid": "^8.13.1",
"@tanstack/react-query": "^5.90.2",
"axios": "^1.12.2",
"date-fns": "^4.1.0",
"easymde": "^2.20.0",
"next": "15.5.4",
"react": "19.1.0",
"react-dom": "19.1.0",
"react-markdown": "^10.1.0",
"react-simplemde-editor": "^5.2.0",
"recharts": "^3.2.1",
"remark-gfm": "^4.0.1"
},
"devDependencies": {
"@tailwindcss/postcss": "^4",
"@types/node": "^20",
"@types/react": "^19",
"@types/react-dom": "^19",
"tailwindcss": "^4",
"typescript": "^5"
}
}