+ {/* Basic panel with just content */}
+
+
+ This is a basic Island panel with just content. It automatically adapts to light/dark mode.
+
+
+
+ {/* Panel with title */}
+
+
+ This panel has a title in the header. The header has a subtle background to separate it from the content.
+
+
+
+ {/* Panel with title and subtitle */}
+
+
+
+ This panel demonstrates all features: title, subtitle, and content.
+
+
+ The colors automatically adjust based on your system's light/dark mode preference.
+
+
+
+
+ {/* Panel with actions */}
+
+
+
+ >
+ }
+ >
+
+ Actions in the header provide quick access to common operations.
+
+
+
+ {/* Nested content example */}
+
+
+
+
+ Nested Section
+
+
+ You can nest other elements with system colors inside the panel.
+
+
+
+
+
+
+
+ {/* Info box about the component */}
+
+
+ About Island Panels
+
+
+ - • Rounded corners (16px) for modern aesthetic
+ - • Subtle shadow for depth and elevation
+ - • Automatic light/dark mode via prefers-color-scheme
+ - • Uses CSS variables for system colors
+ - • No hard-coded brand palette
+
+
+
+ );
+}
diff --git a/blendmate-app/src/components/layout/HUD.tsx b/blendmate-app/src/components/layout/HUD.tsx
index 9d36796..62d55c1 100644
--- a/blendmate-app/src/components/layout/HUD.tsx
+++ b/blendmate-app/src/components/layout/HUD.tsx
@@ -1,7 +1,7 @@
interface HUDProps {
status: string;
- activeTab: 'nodes' | 'stats' | 'chat';
- setActiveTab: (tab: 'nodes' | 'stats' | 'chat') => void;
+ activeTab: 'nodes' | 'stats' | 'chat' | 'demo';
+ setActiveTab: (tab: 'nodes' | 'stats' | 'chat' | 'demo') => void;
}
export default function HUD({ status, activeTab, setActiveTab }: HUDProps) {
@@ -21,7 +21,7 @@ export default function HUD({ status, activeTab, setActiveTab }: HUDProps) {
- {(['nodes', 'stats', 'chat'] as const).map((tab) => (
+ {(['demo', 'nodes', 'stats', 'chat'] as const).map((tab) => (