@@ -20,7 +20,7 @@ const IdeConsole = () => {
|
|||||||
<pre
|
<pre
|
||||||
className="font-mono text-sm"
|
className="font-mono text-sm"
|
||||||
style={matchEditorVsDarkTheme.Text}
|
style={matchEditorVsDarkTheme.Text}
|
||||||
key={message + index}
|
key={`${message} ${index}`}
|
||||||
>
|
>
|
||||||
<div
|
<div
|
||||||
className="text-xs font-bold pt-2"
|
className="text-xs font-bold pt-2"
|
||||||
|
|||||||
25
app/web/src/components/IdeHeader/IdeHeader.tsx
Normal file
25
app/web/src/components/IdeHeader/IdeHeader.tsx
Normal file
@@ -0,0 +1,25 @@
|
|||||||
|
import Svg from 'src/components/Svg/Svg'
|
||||||
|
|
||||||
|
const TopButton = ({children}) => (
|
||||||
|
<button className="flex bg-gray-500 h-10 justify-center items-center px-4 rounded">
|
||||||
|
<div className="rounded-full bg-gray-200 h-6 w-6 mr-4"/>
|
||||||
|
{children}
|
||||||
|
</button>
|
||||||
|
)
|
||||||
|
|
||||||
|
const IdeHeader = () => {
|
||||||
|
return (
|
||||||
|
<div className="h-16 bg-gray-900 flex justify-between items-center">
|
||||||
|
<div className="w-16 h-full flex items-center justify-center bg-gray-700">
|
||||||
|
<Svg className="w-12" name="favicon" />
|
||||||
|
</div>
|
||||||
|
<div className="text-gray-200 flex gap-4 mr-4">
|
||||||
|
<TopButton>Render</TopButton>
|
||||||
|
<TopButton>Share</TopButton>
|
||||||
|
<TopButton>Fork</TopButton>
|
||||||
|
</div>
|
||||||
|
</div>
|
||||||
|
)
|
||||||
|
}
|
||||||
|
|
||||||
|
export default IdeHeader
|
||||||
@@ -1,30 +1,29 @@
|
|||||||
import MainLayout from 'src/layouts/MainLayout'
|
|
||||||
import Seo from 'src/components/Seo/Seo'
|
import Seo from 'src/components/Seo/Seo'
|
||||||
import IdeToolbar from 'src/components/IdeToolbarNew'
|
import IdeToolbar from 'src/components/IdeToolbarNew'
|
||||||
import OutBound from 'src/components/OutBound'
|
import OutBound from 'src/components/OutBound'
|
||||||
|
import IdeHeader from 'src/components/IdeHeader'
|
||||||
|
|
||||||
const DevIdePage = ({ cadPackage }) => {
|
const DevIdePage = ({ cadPackage }) => {
|
||||||
return (
|
return (
|
||||||
<div className="h-screen flex flex-col">
|
<div className="h-screen flex flex-col">
|
||||||
<MainLayout shouldRemoveFooterInIde>
|
<Seo
|
||||||
<Seo
|
title="new ide in development"
|
||||||
title="new ide in development"
|
description="new ide in development"
|
||||||
description="new ide in development"
|
lang="en-US"
|
||||||
lang="en-US"
|
/>
|
||||||
/>
|
<IdeHeader />
|
||||||
<div className="py-2 bg-pink-200">
|
<div className="py-2 bg-pink-200">
|
||||||
<div className="mx-auto max-w-3xl">
|
<div className="mx-auto max-w-3xl">
|
||||||
We're still working on this. Since you're here, have a look what{' '}
|
We're still working on this. Since you're here, have a look what{' '}
|
||||||
<OutBound
|
<OutBound
|
||||||
className="text-pink-700"
|
className="text-pink-700"
|
||||||
to="https://github.com/Irev-Dev/cadhub/discussions/212"
|
to="https://github.com/Irev-Dev/cadhub/discussions/212"
|
||||||
>
|
>
|
||||||
we've got planned
|
we've got planned
|
||||||
</OutBound>
|
</OutBound>
|
||||||
.
|
.
|
||||||
</div>
|
|
||||||
</div>
|
</div>
|
||||||
</MainLayout>
|
</div>
|
||||||
<div className="flex-auto">
|
<div className="flex-auto">
|
||||||
<IdeToolbar cadPackage={cadPackage} />
|
<IdeToolbar cadPackage={cadPackage} />
|
||||||
</div>
|
</div>
|
||||||
|
|||||||
Reference in New Issue
Block a user