- 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
15 lines
431 B
TypeScript
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>
|
|
);
|
|
} |