Spaces:
Running
Running
Update components/Sidebar.tsx
Browse files- components/Sidebar.tsx +4 -3
components/Sidebar.tsx
CHANGED
|
@@ -1,4 +1,5 @@
|
|
| 1 |
|
|
|
|
| 2 |
import React from 'react';
|
| 3 |
import { LAYER_DEFINITIONS } from '../constants';
|
| 4 |
import { LayerType } from '../types';
|
|
@@ -23,7 +24,7 @@ const Sidebar: React.FC<SidebarProps> = ({ onOpenAIBuilder, onSelectTemplate, is
|
|
| 23 |
|
| 24 |
const categories = Array.from(new Set(Object.values(LAYER_DEFINITIONS).map(l => l.category)));
|
| 25 |
const categoryOrder = [
|
| 26 |
-
'Core', 'Convolution', 'Recurrent', 'Transformer', 'Normalization', 'GenAI',
|
| 27 |
'Video', 'Audio', '3D', 'Detection', 'OCR', 'Robotics',
|
| 28 |
'Graph', 'Physics', 'Spiking', 'RL', 'Advanced',
|
| 29 |
'Utility', 'Merge'
|
|
@@ -204,7 +205,7 @@ const Sidebar: React.FC<SidebarProps> = ({ onOpenAIBuilder, onSelectTemplate, is
|
|
| 204 |
</div>
|
| 205 |
|
| 206 |
<div className="p-4 border-t border-slate-800 text-[10px] text-slate-500 text-center flex items-center justify-center gap-2 min-w-[16rem]">
|
| 207 |
-
<span>v1.
|
| 208 |
<Circle size={8} className={isConnected ? "fill-emerald-500 text-emerald-500" : "fill-red-500 text-red-500"} />
|
| 209 |
</div>
|
| 210 |
</div>
|
|
@@ -213,4 +214,4 @@ const Sidebar: React.FC<SidebarProps> = ({ onOpenAIBuilder, onSelectTemplate, is
|
|
| 213 |
);
|
| 214 |
};
|
| 215 |
|
| 216 |
-
export default Sidebar;
|
|
|
|
| 1 |
|
| 2 |
+
|
| 3 |
import React from 'react';
|
| 4 |
import { LAYER_DEFINITIONS } from '../constants';
|
| 5 |
import { LayerType } from '../types';
|
|
|
|
| 24 |
|
| 25 |
const categories = Array.from(new Set(Object.values(LAYER_DEFINITIONS).map(l => l.category)));
|
| 26 |
const categoryOrder = [
|
| 27 |
+
'Core', 'Convolution', 'Preprocessing', 'Recurrent', 'Transformer', 'Normalization', 'GenAI',
|
| 28 |
'Video', 'Audio', '3D', 'Detection', 'OCR', 'Robotics',
|
| 29 |
'Graph', 'Physics', 'Spiking', 'RL', 'Advanced',
|
| 30 |
'Utility', 'Merge'
|
|
|
|
| 205 |
</div>
|
| 206 |
|
| 207 |
<div className="p-4 border-t border-slate-800 text-[10px] text-slate-500 text-center flex items-center justify-center gap-2 min-w-[16rem]">
|
| 208 |
+
<span>v1.3.0 • Powered by Gemini 2.5</span>
|
| 209 |
<Circle size={8} className={isConnected ? "fill-emerald-500 text-emerald-500" : "fill-red-500 text-red-500"} />
|
| 210 |
</div>
|
| 211 |
</div>
|
|
|
|
| 214 |
);
|
| 215 |
};
|
| 216 |
|
| 217 |
+
export default Sidebar;
|