diff --git a/packages/web/components/v2/CreateConversation.tsx b/packages/web/components/v2/CreateConversation.tsx
index d412108..0116370 100644
--- a/packages/web/components/v2/CreateConversation.tsx
+++ b/packages/web/components/v2/CreateConversation.tsx
@@ -1,5 +1,7 @@
import { Select, Tag } from "antd";
+import Avatar from "antd/lib/avatar/avatar";
import { useEffect, useRef } from "react";
+import { FaRegTimesCircle } from "react-icons/fa";
const options = [
{ value: "gold" },
@@ -15,6 +17,10 @@ export default function CreateConversation() {
input.current?.focus();
}, []);
+ // as people are selected, add a list of users
+ // if it's an email of a non-nirvana user, then hit invite button to email them with a voice clip along with it
+ // if it's an existing user, then show a nice chip of that user's profile picture and their name
+
return (
- {/* list of existing conversations with these people */}
-
-
- Engineering
+ {/* list of selected people who are nirvana users */}
+
+
+
+
+ {"Joe Smoe"}
+
+
diff --git a/packages/web/components/v2/KeyboardShortcutHandler.tsx b/packages/web/components/v2/KeyboardShortcutHandler.tsx
new file mode 100644
index 0000000..95a7ad5
--- /dev/null
+++ b/packages/web/components/v2/KeyboardShortcutHandler.tsx
@@ -0,0 +1,23 @@
+import Routes from "@nirvana/common/helpers/routes";
+import { useRouter } from "next/router";
+import { GlobalHotKeys, KeyMap, configure } from "react-hotkeys";
+
+configure({
+ ignoreTags: [],
+});
+
+export default function KeyboardShortcutHandler() {
+ const router = useRouter();
+
+ const handleEscape = () => {
+ console.log("woah");
+ router.push(Routes.convos);
+ };
+
+ const keyMap: KeyMap = {
+ ESCAPE: "esc",
+ };
+ const handlers = { ESCAPE: handleEscape };
+
+ return ;
+}
diff --git a/packages/web/pages/s/index.tsx b/packages/web/pages/s/index.tsx
index 774e317..3630f10 100644
--- a/packages/web/pages/s/index.tsx
+++ b/packages/web/pages/s/index.tsx
@@ -16,6 +16,7 @@ import {
} from "react-transition-group";
import CreateConversation from "../../components/v2/CreateConversation";
import { FaArrowLeft } from "react-icons/fa";
+import KeyboardShortcutHandler from "../../components/v2/KeyboardShortcutHandler";
export default function Me() {
// figure out what content to render from here
@@ -64,6 +65,8 @@ export default function Me() {
return (