diff --git a/src/common/components/icons/WindowPaneRightClose.tsx b/src/common/components/icons/WindowPaneRightClose.tsx new file mode 100644 index 000000000..5517a36ae --- /dev/null +++ b/src/common/components/icons/WindowPaneRightClose.tsx @@ -0,0 +1,13 @@ +// import * as React from 'react'; +// +// import { SvgIcon, SvgIconProps } from '@mui/joy'; +// +// export function WindowPaneRightClose(props: SvgIconProps) { +// return ( +// +// +// {/* thin */} +// {/* normal */} +// +// ); +// } \ No newline at end of file diff --git a/src/common/components/icons/WindowPaneRightOpen.tsx b/src/common/components/icons/WindowPaneRightOpen.tsx new file mode 100644 index 000000000..645722908 --- /dev/null +++ b/src/common/components/icons/WindowPaneRightOpen.tsx @@ -0,0 +1,11 @@ +import * as React from 'react'; + +import { SvgIcon, SvgIconProps } from '@mui/joy'; + +export function WindowPaneRightOpen(props: SvgIconProps) { + return ( + + + + ); +} \ No newline at end of file diff --git a/src/common/layout/optima/bar/OptimaBar.tsx b/src/common/layout/optima/bar/OptimaBar.tsx index f42db0707..28e0c0633 100644 --- a/src/common/layout/optima/bar/OptimaBar.tsx +++ b/src/common/layout/optima/bar/OptimaBar.tsx @@ -17,6 +17,7 @@ import { Brand } from '~/common/app.config'; import { CloseableMenu } from '~/common/components/CloseableMenu'; import { Link } from '~/common/components/Link'; import { ROUTE_INDEX } from '~/common/app.routes'; +import { WindowPaneRightOpen } from '~/common/components/icons/WindowPaneRightOpen'; import { checkVisibleNav, NavItemApp } from '~/common/app.nav'; import { InvertedBar, InvertedBarCornerItem } from '../InvertedBar'; @@ -227,7 +228,8 @@ export function OptimaBar(props: { component: React.ElementType, currentApp?: Na // transition: 'transform 0.42s', // }} > - {isPanelOpen ? : } + {isPanelOpen ? : menuToPanel ? : } + {/*{isPanelOpen ? : }*/} {/*{menuToPanel ? : }*/}