From a9b48a3cc681727c7f041547e118a7b5ffc924a4 Mon Sep 17 00:00:00 2001 From: David Montero Crespo Date: Thu, 30 Apr 2026 15:27:58 -0300 Subject: [PATCH] feat: implement EditorPage with file explorer and simulator canvas components --- .../src/components/editor/FileExplorer.tsx | 27 ++++++++++++++++++- .../components/simulator/SimulatorCanvas.tsx | 13 ++++----- frontend/src/pages/EditorPage.tsx | 26 ++++++++++++++++-- 3 files changed, 55 insertions(+), 11 deletions(-) diff --git a/frontend/src/components/editor/FileExplorer.tsx b/frontend/src/components/editor/FileExplorer.tsx index a6a9458a..043e3cfd 100644 --- a/frontend/src/components/editor/FileExplorer.tsx +++ b/frontend/src/components/editor/FileExplorer.tsx @@ -58,6 +58,23 @@ const IcoNewFile = () => ( ); +const IcoNewWorkspace = () => ( + + + + + +); + const IcoSave = () => ( void; + onNewClick: () => void; } -export const FileExplorer: React.FC = ({ onSaveClick }) => { +export const FileExplorer: React.FC = ({ onSaveClick, onNewClick }) => { const { fileGroups, activeFileId, @@ -254,6 +272,13 @@ export const FileExplorer: React.FC = ({ onSaveClick }) => {
WORKSPACE
+