From ffce51d10bddd2458aaa273a418089f79bb4e00d Mon Sep 17 00:00:00 2001 From: Arjun Patel Date: Mon, 10 Jan 2022 00:57:24 -0800 Subject: [PATCH] cleaning some things up --- pages/teams/demo.tsx | 43 +++++++++++++++++++++++++++++-------------- 1 file changed, 29 insertions(+), 14 deletions(-) diff --git a/pages/teams/demo.tsx b/pages/teams/demo.tsx index 10b4577..c632188 100644 --- a/pages/teams/demo.tsx +++ b/pages/teams/demo.tsx @@ -59,7 +59,7 @@ export default class Demo extends React.Component { } componentWillUnmount(): void { - // this.removeEventListener("keydown", this.handleKeyboardShortcut); + document.removeEventListener("keydown", this.handleKeyboardShortcut); } statusBubble(status: UserStatus): React.Component { @@ -137,7 +137,7 @@ export default class Demo extends React.Component { {/* welcome message */} 👋Hey Arjun, Good Afternoon! - + you collabed 1.5 hours and worked 2 hours yesterday {/* avatar */} @@ -157,9 +157,10 @@ export default class Demo extends React.Component { {/* personal line */}
- PERSONAL LINE + Team - 3 teammates open for collab + 3 teammates open for collab + {/* list of team members */} @@ -200,14 +201,28 @@ export default class Demo extends React.Component { }
- {/* live conversations */} -
- LIVE CONVERSATIONS - - - - -
+
+ {/* announcements */} +
+ ANNOUNCEMENTS + + + + +
+ + {/* live conversations */} +
+ LIVE CONVERSATIONS + + + + +
+ + +
+ @@ -238,10 +253,10 @@ export default class Demo extends React.Component { {/* shortcuts */} - + R - + SPACE