diff --git a/website/src/repl/components/Header.jsx b/website/src/repl/components/Header.jsx index faef01856..92255b990 100644 --- a/website/src/repl/components/Header.jsx +++ b/website/src/repl/components/Header.jsx @@ -4,6 +4,7 @@ import cx from '@src/cx.mjs'; import { useSettings, setIsZen } from '../../settings.mjs'; import { StrudelIcon } from '@src/repl/components/icons/StrudelIcon'; import '../Repl.css'; +import { PanelToggle } from '@src/repl/components/panel/Panel'; const { BASE_URL } = import.meta.env; const baseNoTrailing = BASE_URL.endsWith('/') ? BASE_URL.slice(0, -1) : BASE_URL; @@ -108,6 +109,7 @@ export function Header({ context, isEmbedded = false }) { learn )} + )} diff --git a/website/src/repl/components/ReplEditor.jsx b/website/src/repl/components/ReplEditor.jsx index 03cf89f14..fa75e56e2 100644 --- a/website/src/repl/components/ReplEditor.jsx +++ b/website/src/repl/components/ReplEditor.jsx @@ -19,12 +19,12 @@ export default function ReplEditor(Props) { return (
-
- -
- +
+
+
+ +
{!isZen && panelPosition === 'right' && } -
{!isZen && panelPosition === 'bottom' && } diff --git a/website/src/repl/components/icons/SidebarIcon.jsx b/website/src/repl/components/icons/SidebarIcon.jsx new file mode 100644 index 000000000..07966a2ab --- /dev/null +++ b/website/src/repl/components/icons/SidebarIcon.jsx @@ -0,0 +1,19 @@ +export function SidebarIcon() { + return ( + + + + + ); +} diff --git a/website/src/repl/components/panel/Panel.jsx b/website/src/repl/components/panel/Panel.jsx index 3dd53cf4a..df6478fb6 100644 --- a/website/src/repl/components/panel/Panel.jsx +++ b/website/src/repl/components/panel/Panel.jsx @@ -19,7 +19,7 @@ function PanelCloseButton() { isPanelOpen && ( ) );