From 97e536fdaabae0922e09ad6bd5a67347d7972d5d Mon Sep 17 00:00:00 2001 From: talksik Date: Sun, 29 May 2022 14:39:26 -0500 Subject: [PATCH] nice contrasting global control section --- .../src/components/ConversationDetails.tsx | 4 +- packages/desktop/src/components/Terminal.tsx | 55 +++++++++++++------ 2 files changed, 40 insertions(+), 19 deletions(-) diff --git a/packages/desktop/src/components/ConversationDetails.tsx b/packages/desktop/src/components/ConversationDetails.tsx index 153f9e4..7eff861 100644 --- a/packages/desktop/src/components/ConversationDetails.tsx +++ b/packages/desktop/src/components/ConversationDetails.tsx @@ -133,7 +133,7 @@ export default function ConversationDetails() { - - + */} ); diff --git a/packages/desktop/src/components/Terminal.tsx b/packages/desktop/src/components/Terminal.tsx index a6aeaf9..9e7964e 100644 --- a/packages/desktop/src/components/Terminal.tsx +++ b/packages/desktop/src/components/Terminal.tsx @@ -20,9 +20,10 @@ import { Menu, MenuItem, ListItemIcon, + Fab, } from '@mui/material'; import { blueGrey } from '@mui/material/colors'; -import { FiZap, FiHeadphones, FiLogOut, FiMonitor } from 'react-icons/fi'; +import { FiZap, FiHeadphones, FiLogOut, FiMonitor, FiSun } from 'react-icons/fi'; import { useSnackbar } from 'notistack'; import Conversation from '@nirvana/core/src/models/conversation.model'; @@ -545,6 +546,11 @@ export function TerminalProvider({ children }: { children?: React.ReactNode }) { justifyContent: 'flex-start', gap: 2, width: '100%', + + zIndex: 10, + boxShadow: 10, + + bgcolor: blueGrey[200], }} > - + + + + + + + + + + + - + - - - - - - - - - - + {/* todo: add a third mode which is when toggle broadcasting */} + {selectedConversation ? ( + + + + + + ) : ( + + + + + + )}