Deploy MVP

This commit is contained in:
2026-01-02 23:35:40 +01:00
parent f9bbfc7f0a
commit 555b94b9b2
5 changed files with 220 additions and 28 deletions
+7 -4
View File
@@ -17,6 +17,7 @@ import { Application, Deployment } from "@/lib/types";
import { getDeployments } from "@/lib/dockship/deploy";
import { getApplications } from "@/lib/dockship/application";
import { cn } from "@/lib/utils";
import DeployAppDialog from "@/components/dialogs/DeployApp";
export default function DeploymentsPage() {
const [applications, setApplications] = useState<Application[]>([]);
@@ -39,10 +40,12 @@ export default function DeploymentsPage() {
<div className="flex flex-row gap-3 items-center justify-between mb-6">
<Badge>{deployments.length} deployments</Badge>
<Button size="sm" className="gap-2 self-auto">
<Plus className="w-4 h-4" />
New Deployment
</Button>
<DeployAppDialog>
<Button size="sm" className="gap-2 self-auto">
<Plus className="w-4 h-4" />
New Deployment
</Button>
</DeployAppDialog>
</div>
<div className="hidden md:visible space-y-3">