docs/web-client-vite/src/pages/CreateProjectPage.tsx
markov 8a1aadf144 Complete BFF removal migration
- Updated Nginx config to serve static SPA from web-client-new/dist/
- All API requests now proxy directly to Tracker (port 8100)
- WebSocket connections go directly to Tracker with JWT auth
- Stopped and disabled team-board-bff and team-board-web services
- Fixed file permissions for nginx to serve static files
- Migration complete: Next.js+BFF → Vite+React+Direct-Tracker
2026-02-23 23:27:49 +01:00

15 lines
431 B
TypeScript

import { useNavigate } from "react-router-dom";
import CreateProjectModal from "@/components/CreateProjectModal";
export default function CreateProjectPage() {
const navigate = useNavigate();
return (
<div className="flex h-screen items-center justify-center">
<CreateProjectModal
onCreated={(project) => navigate(`/projects/${project.slug}`)}
onClose={() => navigate(-1)}
/>
</div>
);
}