improve orchestrator, docker settings, and ui layouts

This commit is contained in:
Ishaan Dey
2024-05-12 22:06:11 -07:00
parent 18aca540cc
commit 59fb0521af
15 changed files with 264 additions and 128 deletions

View File

@ -12,9 +12,11 @@ import {
export default function PreviewWindow({
collapsed,
open,
sandboxId,
}: {
collapsed: boolean;
open: () => void;
sandboxId: string;
}) {
return (
<>
@ -55,7 +57,13 @@ export default function PreviewWindow({
</div>
</div>
{collapsed ? null : (
<div className="w-full grow rounded-md bg-foreground"></div>
<div className="w-full grow rounded-md overflow-hidden bg-foreground">
<iframe
width={"100%"}
height={"100%"}
src={`http://${sandboxId}.s.ishaand.com`}
/>
</div>
)}
</>
);