diff --git a/components/Editor/EditorFooter.tsx b/components/Editor/EditorFooter.tsx index ee53397..0e5b857 100644 --- a/components/Editor/EditorFooter.tsx +++ b/components/Editor/EditorFooter.tsx @@ -24,7 +24,7 @@ function EditorFooter({ withoutContent = false }) { : ' '} - {isFullScreen && !withoutContent && ( + {isFullScreen && (
Made with ❤️ by{' '} @@ -38,10 +38,15 @@ function EditorFooter({ withoutContent = false }) {
- - + {!withoutContent && ( + <> + + + + )} + - + {!withoutContent && }
)} diff --git a/components/Editor/Header.tsx b/components/Editor/Header.tsx index b8418c9..2955cb4 100644 --- a/components/Editor/Header.tsx +++ b/components/Editor/Header.tsx @@ -4,8 +4,6 @@ import Image from 'next/image' import cairoLogo from 'public/cairo_logo.png' import Select, { OnChangeValue } from 'react-select' -import ToggleThreeColumnLayout from 'components/ToggleThreeColumnLayout' - import { CodeType } from '../../context/appUiContext' type Props = { @@ -35,37 +33,30 @@ const EditorHeader = ({ }), [codeType], ) + return ( <>
-
- {!onlyDropDown && - (withLogo && !anotherTitle ? ( -
- cairovm - cairo - codes -
- ) : ( -
- - {anotherTitle && ( -
- Cairo compiler v2.6.3 -
- )} -
- ))} -
+ {!onlyDropDown && + (withLogo && !anotherTitle ? ( +
+ cairovm + cairo + codes +
+ ) : ( + <> + + + ))}
- {anotherTitle && }