Skip to content

Commit 752283c

Browse files
JuanCS-Devclaude
andcommitted
feat(frontend): Integrate backend stats, duplicate & export
Frontend Integration - FASE 1 Completion: - Dashboard now fetches real project stats from API (/stats endpoint) - ProjectCard adds duplicate and export actions with toast notifications - StatsOverview displays real-time data from backend - Fixed navigation for advanced tools (QA, Marketing, Print, Scientific) - Added use-toast hook for UI notifications - Updated translations for landing page Changes: - src/app/[locale]/dashboard/page.tsx: Stats integration, tools navigation fix - src/components/dashboard/ProjectCard.tsx: Duplicate & export actions - src/components/dashboard/StatsOverview.tsx: Real API data consumption - src/hooks/use-toast.ts: Toast notification system - messages/en.json: Added landing.socialProof section - src/types/project.ts: Updated ProjectStats interface Backend Ready: - ✅ GET /api/v1/projects/stats - ✅ POST /api/v1/projects/:id/duplicate - ✅ GET /api/v1/projects/:id/export Next: Production deployment & testing 🤖 Generated with [Claude Code](https://claude.com/claude-code) Co-Authored-By: Claude <noreply@anthropic.com>
1 parent fe90fe9 commit 752283c

6 files changed

Lines changed: 835 additions & 130 deletions

File tree

web/messages/en.json

Lines changed: 6 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -126,5 +126,11 @@
126126
"perMonth": "/month",
127127
"features": "Features included",
128128
"allFeatures": "All features"
129+
},
130+
"landing": {
131+
"socialProof": {
132+
"title": "Trusted by Writers",
133+
"subtitle": "Join thousands of authors creating professional books"
134+
}
129135
}
130136
}

0 commit comments

Comments
 (0)