From 6ad13f25e425a8654b4b06ef8121ef11426cf51b Mon Sep 17 00:00:00 2001 From: talksik Date: Tue, 31 May 2022 06:53:43 -0500 Subject: [PATCH] cleaning footer --- .../desktop/src/components/FooterControls.tsx | 70 ++++++++++++------- 1 file changed, 44 insertions(+), 26 deletions(-) diff --git a/packages/desktop/src/components/FooterControls.tsx b/packages/desktop/src/components/FooterControls.tsx index c9f448e..2d9a754 100644 --- a/packages/desktop/src/components/FooterControls.tsx +++ b/packages/desktop/src/components/FooterControls.tsx @@ -15,7 +15,7 @@ import { Tooltip, Typography, } from '@mui/material'; -import { FiHeadphones, FiHelpCircle, FiLogOut, FiSun } from 'react-icons/fi'; +import { FiHeadphones, FiHelpCircle, FiLink, FiLogOut, FiSun } from 'react-icons/fi'; import React, { useCallback } from 'react'; import ConversationLabel from '../subcomponents/ConversationLabel'; @@ -52,17 +52,15 @@ export default function FooterControls() { display: 'flex', alignItems: 'center', justifyContent: 'flex-start', - gap: 2, width: '100%', zIndex: 10, boxShadow: 10, - bgcolor: blueGrey[200], + bgcolor: blueGrey[800], }} > + + + + + - - - - - - - - - + {selectedConversation && ( <> @@ -150,20 +150,38 @@ export default function FooterControls() { )} - {/* todo: add a third mode which is when toggle broadcasting */} - {selectedConversation ? ( - - - - - - ) : ( + - - + + - )} + + {/* todo: add a third mode which is when toggle broadcasting with lock on top right badge */} + {selectedConversation ? ( + + + + + + ) : ( + + + + + + )} +