From 9eb28de59b3b3815fc0eb15b37efcb07d51b8e96 Mon Sep 17 00:00:00 2001 From: soryu Date: Mon, 9 Feb 2026 01:30:15 +0000 Subject: Move directive tab in navbar and change contract creation UI --- makima/frontend/src/routes/contracts.tsx | 86 +++++++++++++++----------------- 1 file changed, 40 insertions(+), 46 deletions(-) (limited to 'makima/frontend/src/routes') diff --git a/makima/frontend/src/routes/contracts.tsx b/makima/frontend/src/routes/contracts.tsx index dde78b1..acb6789 100644 --- a/makima/frontend/src/routes/contracts.tsx +++ b/makima/frontend/src/routes/contracts.tsx @@ -531,11 +531,25 @@ function ContractsPageContent() { )} - {/* Create contract modal */} - {isCreating && ( -
-
-

+
+ {/* Contract list */} + + + {/* Contract detail, creation form, or empty state */} + {isCreating ? ( +
+

Create Contract

@@ -548,7 +562,7 @@ function ContractsPageContent() {
{/* Contract name */}
-
{/* Description */}
-