finish ide lay out

added side bar and editor toolbar
related to #360
This commit is contained in:
Kurt Hutten
2021-06-11 19:32:54 +10:00
parent 81f7659bbc
commit 6ad731d158
6 changed files with 91 additions and 38 deletions

View File

@@ -0,0 +1,31 @@
import Svg from 'src/components/Svg/Svg'
const EditorMenu = () => {
return (
<div className="bg-gray-500 flex items-center h-9 w-full cursor-grab">
<div className=" text-gray-500 bg-gray-300 cursor-grab px-2 h-full flex items-center">
<Svg name='drag-grid' className="w-4 p-px" />
</div>
<button
className="text-gray-300 px-3 h-full"
aria-label="editor settings"
>
<Svg name='gear' className="w-7 p-px" />
</button>
<div className="w-px h-full bg-gray-300"/>
<div className="flex gap-6 px-6">
<button className="text-gray-100">
File
</button>
<button className="text-gray-100">
Edit
</button>
<button className="text-gray-100">
View
</button>
</div>
</div>
)
}
export default EditorMenu