From 4bc7c5cf6891f734c6f369419790a63e60e0fa62 Mon Sep 17 00:00:00 2001 From: Maurice Date: Thu, 1 Oct 2026 15:27:43 +0200 Subject: [PATCH] feat(settings): a settings kit in the planner's language; cards, navigation and header --- client/src/components/Layout/PageSidebar.tsx | 48 ++--- client/src/components/Settings/Section.tsx | 21 ++- .../src/components/Settings/settingsKit.tsx | 169 ++++++++++++++++++ client/src/pages/SettingsPage.tsx | 13 +- 4 files changed, 200 insertions(+), 51 deletions(-) create mode 100644 client/src/components/Settings/settingsKit.tsx diff --git a/client/src/components/Layout/PageSidebar.tsx b/client/src/components/Layout/PageSidebar.tsx index a81203678..7a27577b1 100644 --- a/client/src/components/Layout/PageSidebar.tsx +++ b/client/src/components/Layout/PageSidebar.tsx @@ -49,15 +49,12 @@ export default function PageSidebar({ }, [mobileOpen]) return ( -
+ // The planner's layout (#2541): a navigation card on the left, the panel's + // own cards on the page beside it, no frame around the two. +
{/* Mobile top bar with hamburger */}
@@ -157,13 +151,11 @@ function SidebarInner({ return ( <> {sidebarLabel && ( -
+
{sidebarLabel}
)} -