diff --git a/packages/desktop/src/components/Conversations.tsx b/packages/desktop/src/components/Conversations.tsx
new file mode 100644
index 0000000..57d2ee6
--- /dev/null
+++ b/packages/desktop/src/components/Conversations.tsx
@@ -0,0 +1,115 @@
+import React from 'react';
+
+import {
+ Avatar,
+ Badge,
+ Divider,
+ List,
+ ListItem,
+ ListItemAvatar,
+ ListItemButton,
+ ListItemText,
+ ListSubheader,
+ Typography,
+} from '@mui/material';
+import { blueGrey } from '@mui/material/colors';
+import { FiActivity, FiInbox } from 'react-icons/fi';
+import NirvanaAvatar from './NirvanaAvatar';
+
+const Conversations = () => {
+ return (
+ <>
+
+
+ Priority
+
+ }
+ >
+
+
+
+
+
+
+
+
+ 20 sec
+
+
+
+
+
+
+
+
+
+
+
+ 34 min ago
+
+
+
+
+
+
+
+
+ Inbox
+
+ }
+ >
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+ 2 hours ago
+
+
+
+ >
+ );
+};
+
+export default Conversations;
diff --git a/packages/desktop/src/components/Navbar.tsx b/packages/desktop/src/components/Navbar.tsx
new file mode 100644
index 0000000..04142f6
--- /dev/null
+++ b/packages/desktop/src/components/Navbar.tsx
@@ -0,0 +1,158 @@
+import React, { useCallback, useRef } from 'react';
+
+import { Container } from '@mui/system';
+import {
+ Avatar,
+ Box,
+ Divider,
+ Fab,
+ Grid,
+ IconButton,
+ Input,
+ ListItemIcon,
+ Menu,
+ Paper,
+ Stack,
+ Tooltip,
+ Typography,
+} from '@mui/material';
+import NirvanaLogo from './NirvanaLogo';
+import { blueGrey } from '@mui/material/colors';
+import {
+ FiHeadphones,
+ FiLogOut,
+ FiMonitor,
+ FiMoreVertical,
+ FiPlay,
+ FiSearch,
+ FiSun,
+ FiWind,
+} from 'react-icons/fi';
+import KeyboardShortcutLabel from './KeyboardShortcutLabel';
+import { useSnackbar } from 'notistack';
+import { useKey } from 'react-use';
+
+import MenuItem from '@mui/material/MenuItem';
+import useAuth from '../providers/AuthProvider';
+import Conversations from './Conversations';
+
+const Navbar = () => {
+ const [anchorEl, setAnchorEl] = React.useState(null);
+ const open = Boolean(anchorEl);
+ const handleClick = (event: React.MouseEvent) => {
+ setAnchorEl(event.currentTarget);
+ };
+ const handleClose = () => {
+ setAnchorEl(null);
+ };
+
+ const { logout, user } = useAuth();
+
+ return (
+ <>
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+ >
+ );
+};
+
+export default Navbar;
diff --git a/packages/desktop/src/components/Terminal.tsx b/packages/desktop/src/components/Terminal.tsx
index a4b7407..5795b31 100644
--- a/packages/desktop/src/components/Terminal.tsx
+++ b/packages/desktop/src/components/Terminal.tsx
@@ -3,20 +3,13 @@ import React, { useCallback, useRef } from 'react';
import { Container } from '@mui/system';
import {
Avatar,
- Badge,
Box,
Divider,
Fab,
Grid,
IconButton,
Input,
- List,
- ListItem,
- ListItemAvatar,
- ListItemButton,
ListItemIcon,
- ListItemText,
- ListSubheader,
Menu,
Paper,
Stack,
@@ -26,9 +19,7 @@ import {
import NirvanaLogo from './NirvanaLogo';
import { blueGrey } from '@mui/material/colors';
import {
- FiActivity,
FiHeadphones,
- FiInbox,
FiLogOut,
FiMonitor,
FiMoreVertical,
@@ -40,10 +31,11 @@ import {
import KeyboardShortcutLabel from './KeyboardShortcutLabel';
import { useSnackbar } from 'notistack';
import { useKey } from 'react-use';
-import NirvanaAvatar from './NirvanaAvatar';
import MenuItem from '@mui/material/MenuItem';
import useAuth from '../providers/AuthProvider';
+import Conversations from './Conversations';
+import Navbar from './Navbar';
export default function Terminal() {
const { enqueueSnackbar } = useSnackbar();
@@ -223,125 +215,6 @@ export default function Terminal() {
);
}
-const Navbar = () => {
- const [anchorEl, setAnchorEl] = React.useState(null);
- const open = Boolean(anchorEl);
- const handleClick = (event: React.MouseEvent) => {
- setAnchorEl(event.currentTarget);
- };
- const handleClose = () => {
- setAnchorEl(null);
- };
-
- const { logout, user } = useAuth();
-
- return (
- <>
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
- >
- );
-};
-
const searchShortcut = 'Shift';
const SecondNavbar = () => {
const { enqueueSnackbar } = useSnackbar();
@@ -378,99 +251,3 @@ const SecondNavbar = () => {
);
};
-
-const Conversations = () => {
- return (
- <>
-
-
- Priority
-
- }
- >
-
-
-
-
-
-
-
-
- 20 sec
-
-
-
-
-
-
-
-
-
-
-
- 34 min ago
-
-
-
-
-
-
-
-
- Inbox
-
- }
- >
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
- 2 hours ago
-
-
-
- >
- );
-};