Make logo

This commit is contained in:
1ilit
2023-09-19 15:46:46 +03:00
parent e65905cd3e
commit 64835d8800
10 changed files with 57 additions and 22 deletions

29
src/editor/index.jsx Normal file
View File

@@ -0,0 +1,29 @@
import React from "react";
import Diagram from "../components/diagram";
import { ResizableBox } from "react-resizable";
import "react-resizable/css/styles.css";
import Header from "../components/header";
export default function Editor(props) {
return (
<>
<Header name={props.name} />
<div className="flex">
<ResizableBox
width={window.innerWidth * 0.2}
height={window.innerHeight}
resizeHandles={["e"]}
minConstraints={[window.innerWidth * 0.2, window.innerHeight]}
maxConstraints={[Infinity, Infinity]}
axis="x"
>
<span className="text">window 1</span>
</ResizableBox>
<div>
<Diagram />
</div>
<div>hi</div>
</div>
</>
);
}