feat(portal): landing pages list, editor, preview and public page

Pages list and Tiptap editor (ported from babyboo) with image upload on
save, the FORM event picker, field errors at their fields, delete
confirmation, unsaved-edits guard and a draft preview. The public page
/p/<company>/<slug> renders on the server with metadata, sanitize-html,
the company's logo and accent, and the sign-up form with UTM tags.
Companies get branding; the event lead detail shows the web page and
campaign. Labels in English and Chinese.

Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
Claude-Session: https://claude.ai/code/session_01EFUzfiCVCgCVJZq4NDEqZs
This commit is contained in:
ngqileandClaude Opus 5.5 committed 2026-12-02 16:30:54 +08:00
1 parent ab9d3f4942
commit bb2c5c5db7
52 files changed
+3527 -22

No files matched your search

+6
View File
@@ -16,6 +16,10 @@
},
"dependencies": {
"@tanstack/react-table": "^8.21.3",
"@tiptap/extension-text-align": "^3.35.1",
"@tiptap/pm": "^3.35.1",
"@tiptap/react": "^3.35.1",
"@tiptap/starter-kit": "^3.35.1",
"class-variance-authority": "^0.7.1",
"clsx": "^2.1.1",
"lucide-react": "^1.28.0",
@@ -26,6 +30,7 @@
"react-day-picker": "10.0.1",
"react-dom": "^19.2.8",
"recharts": "3.10.1",
"sanitize-html": "^2.18.2",
"tailwind-merge": "^3.6.0"
},
"devDependencies": {
@@ -35,6 +40,7 @@
"@types/node": "^22.0.0",
"@types/react": "^19.2.17",
"@types/react-dom": "^19.2.3",
"@types/sanitize-html": "^2.16.2",
"@vitejs/plugin-react": "^6.0.4",
"autoprefixer": "^10.4.19",
"eslint": "^9.39.4",