From 0c83e765d9383d10b0d8d17e03437e3f71176f02 Mon Sep 17 00:00:00 2001 From: Benjamin Admin Date: Mon, 9 Mar 2026 15:24:17 +0100 Subject: [PATCH] fix(sdk): show Header + Sidebar on project list page too MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit The ProjectSelector page now renders inside the standard SDK layout with header, sidebar and navigation — consistent with all other pages. Co-Authored-By: Claude Opus 4.6 --- admin-compliance/app/sdk/layout.tsx | 18 ++++++++---------- 1 file changed, 8 insertions(+), 10 deletions(-) diff --git a/admin-compliance/app/sdk/layout.tsx b/admin-compliance/app/sdk/layout.tsx index 0188af2..e125162 100644 --- a/admin-compliance/app/sdk/layout.tsx +++ b/admin-compliance/app/sdk/layout.tsx @@ -189,18 +189,16 @@ function SDKInnerLayout({ children }: { children: React.ReactNode }) { return (
- {/* Sidebar — only show when a project is selected */} - {projectId && ( - - )} + {/* Sidebar — always visible */} + {/* Main Content - dynamic margin based on sidebar state */} -
- {/* Header — only show when a project is selected */} - {projectId && } +
+ {/* Header — always visible */} + {/* Page Content */}
{children}