Spaces:
Running
Running
Update components/PropertiesPanel.tsx
Browse files
components/PropertiesPanel.tsx
CHANGED
|
@@ -1,9 +1,9 @@
|
|
| 1 |
-
|
| 2 |
import React from 'react';
|
| 3 |
import { Node } from 'reactflow';
|
| 4 |
import { NodeData, LayerDefinition, LogEntry } from '../types';
|
| 5 |
import { LAYER_DEFINITIONS } from '../constants';
|
| 6 |
import { X, Trash2, Activity, Info, CheckCircle, AlertTriangle, AlertOctagon, ChevronDown } from 'lucide-react';
|
|
|
|
| 7 |
|
| 8 |
interface PropertiesPanelProps {
|
| 9 |
selectedNode: Node<NodeData> | null;
|
|
@@ -66,9 +66,12 @@ const PropertiesPanel: React.FC<PropertiesPanelProps> = ({ selectedNode, onChang
|
|
| 66 |
)}
|
| 67 |
|
| 68 |
<div className="pt-4 text-center">
|
| 69 |
-
<p className="text-[10px] text-slate-600">
|
| 70 |
Select a node on the canvas to configure parameters.
|
| 71 |
</p>
|
|
|
|
|
|
|
|
|
|
| 72 |
</div>
|
| 73 |
</div>
|
| 74 |
</div>
|
|
@@ -200,6 +203,11 @@ const PropertiesPanel: React.FC<PropertiesPanelProps> = ({ selectedNode, onChang
|
|
| 200 |
{definition.parameters.length === 0 && (
|
| 201 |
<p className="text-sm text-slate-500 text-center py-4">This layer has no configurable parameters.</p>
|
| 202 |
)}
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| 203 |
</div>
|
| 204 |
</div>
|
| 205 |
|
|
@@ -216,4 +224,4 @@ const PropertiesPanel: React.FC<PropertiesPanelProps> = ({ selectedNode, onChang
|
|
| 216 |
);
|
| 217 |
};
|
| 218 |
|
| 219 |
-
export default PropertiesPanel;
|
|
|
|
|
|
|
| 1 |
import React from 'react';
|
| 2 |
import { Node } from 'reactflow';
|
| 3 |
import { NodeData, LayerDefinition, LogEntry } from '../types';
|
| 4 |
import { LAYER_DEFINITIONS } from '../constants';
|
| 5 |
import { X, Trash2, Activity, Info, CheckCircle, AlertTriangle, AlertOctagon, ChevronDown } from 'lucide-react';
|
| 6 |
+
import GoogleAd from './GoogleAd';
|
| 7 |
|
| 8 |
interface PropertiesPanelProps {
|
| 9 |
selectedNode: Node<NodeData> | null;
|
|
|
|
| 66 |
)}
|
| 67 |
|
| 68 |
<div className="pt-4 text-center">
|
| 69 |
+
<p className="text-[10px] text-slate-600 mb-4">
|
| 70 |
Select a node on the canvas to configure parameters.
|
| 71 |
</p>
|
| 72 |
+
<div className="border-t border-slate-800/50 pt-2">
|
| 73 |
+
<GoogleAd className="min-h-[100px]" />
|
| 74 |
+
</div>
|
| 75 |
</div>
|
| 76 |
</div>
|
| 77 |
</div>
|
|
|
|
| 203 |
{definition.parameters.length === 0 && (
|
| 204 |
<p className="text-sm text-slate-500 text-center py-4">This layer has no configurable parameters.</p>
|
| 205 |
)}
|
| 206 |
+
|
| 207 |
+
{/* Properties Panel Ad Spot */}
|
| 208 |
+
<div className="pt-4 border-t border-slate-800/50 mt-4">
|
| 209 |
+
<GoogleAd />
|
| 210 |
+
</div>
|
| 211 |
</div>
|
| 212 |
</div>
|
| 213 |
|
|
|
|
| 224 |
);
|
| 225 |
};
|
| 226 |
|
| 227 |
+
export default PropertiesPanel;
|