From 328aaa75baf0b18fa7dc720ab01f09c91b98ebfa Mon Sep 17 00:00:00 2001 From: armorbreak001 Date: Tue, 14 Apr 2026 19:21:02 +0800 Subject: [PATCH] feat(frontend): add Guild Settings Layout scaffold with sidebar navigation Fixes #275 - Create SettingsLayout with persistent left sidebar - Navigation links: General, Members, Treasury, Integrations - Active link highlighting via pathname matching - Mobile responsive: collapses to hamburger menu at md breakpoint - Central
content area for settings pages - Demo page with mock form showing General settings --- .../components/guild/SettingsLayout.demo.tsx | 73 ++++++++++ .../src/components/guild/SettingsLayout.tsx | 137 ++++++++++++++++++ frontend/src/components/guild/index.ts | 5 +- 3 files changed, 214 insertions(+), 1 deletion(-) create mode 100644 frontend/src/components/guild/SettingsLayout.demo.tsx create mode 100644 frontend/src/components/guild/SettingsLayout.tsx diff --git a/frontend/src/components/guild/SettingsLayout.demo.tsx b/frontend/src/components/guild/SettingsLayout.demo.tsx new file mode 100644 index 0000000..8217832 --- /dev/null +++ b/frontend/src/components/guild/SettingsLayout.demo.tsx @@ -0,0 +1,73 @@ +'use client'; + +import React from 'react'; +import { SettingsLayout } from './SettingsLayout'; + +/** + * Demo page showcasing the Guild Settings Layout. + * Uses dummy router hooks (no actual routing required). + */ +export default function SettingsLayoutDemo(): JSX.Element { + return ( + +
+ {/* Page header */} +
+

+ General Settings +

+

+ Manage your guild's basic information and configuration. +

+
+ + {/* Mock form */} +
+
+

+ Guild Profile +

+ +
+
+ + +
+ +
+ +