From 40f7d763f55b096ed82c4a10790de88e434ca6cd Mon Sep 17 00:00:00 2001 From: talksik Date: Sat, 28 May 2022 14:39:54 -0500 Subject: [PATCH] clean nice subtle group creation icon --- .../desktop/src/components/Conversations.tsx | 70 ++++++++++++------- 1 file changed, 43 insertions(+), 27 deletions(-) diff --git a/packages/desktop/src/components/Conversations.tsx b/packages/desktop/src/components/Conversations.tsx index 463485f..073cd3e 100644 --- a/packages/desktop/src/components/Conversations.tsx +++ b/packages/desktop/src/components/Conversations.tsx @@ -14,9 +14,12 @@ import { Typography, Input, CircularProgress, + IconButton, + Box, + Tooltip, } from '@mui/material'; import { blueGrey } from '@mui/material/colors'; -import { FiActivity, FiInbox, FiSearch } from 'react-icons/fi'; +import { FiActivity, FiInbox, FiSearch, FiUsers } from 'react-icons/fi'; import NirvanaAvatar from './NirvanaAvatar'; import { useDebounce, useKey } from 'react-use'; import { useSnackbar } from 'notistack'; @@ -68,32 +71,41 @@ const Conversations = () => { return ( <> - - + + + - + - {searching && } + {searching && } - + + + + + + + + {searchVal ? : } @@ -114,8 +126,8 @@ function ListPeople({ people }: { people: User[] }) { } > {people.length === 0 && ( - - Sorry please try someone else or invite them to nirvana. + + {`Can't find someone? Invite them!`} )} @@ -140,7 +152,11 @@ function ListConversations() { const { conversations } = useTerminal(); if (conversations.length === 0) { - return Find someone by email or name to get started!; + return ( + + Look for someone by name or email to start a conversation! + + ); } return (