diff --git a/frontend/components/editor/index.tsx b/frontend/components/editor/index.tsx index 493b5a0..5197ad7 100644 --- a/frontend/components/editor/index.tsx +++ b/frontend/components/editor/index.tsx @@ -715,7 +715,7 @@ export default function CodeEditor({ -
- Preview +
+
+ Preview + + localhost:3000 + +
{collapsed ? ( diff --git a/frontend/components/editor/sidebar/index.tsx b/frontend/components/editor/sidebar/index.tsx index 2720a1d..6027012 100644 --- a/frontend/components/editor/sidebar/index.tsx +++ b/frontend/components/editor/sidebar/index.tsx @@ -1,6 +1,13 @@ "use client"; -import { FilePlus, FolderPlus, Loader2, Search, Sparkles } from "lucide-react"; +import { + FilePlus, + FolderPlus, + Loader2, + MonitorPlay, + Search, + Sparkles, +} from "lucide-react"; import SidebarFile from "./file"; import SidebarFolder from "./folder"; import { Sandbox, TFile, TFolder, TTab } from "@/lib/types"; @@ -13,6 +20,7 @@ import { dropTargetForElements, monitorForElements, } from "@atlaskit/pragmatic-drag-and-drop/element/adapter"; +import Button from "@/components/ui/customButton"; export default function Sidebar({ sandboxData, @@ -177,19 +185,24 @@ export default function Sidebar({ )}
-
-
- - Copilot{" "} - - ⌘G - +
+
+
+ + Copilot{" "} + + ⌘G + +
+
- +
);