From 6f9536fd81b73192e8773edbef4565d41c6bc7b7 Mon Sep 17 00:00:00 2001 From: talksik Date: Sun, 30 Jan 2022 23:23:37 -0800 Subject: [PATCH] cleaning things up and now going for different routing scheme --- packages/web/components/v2/Header.tsx | 8 +- packages/web/components/v2/Sidebar.tsx | 100 +++--------------- packages/web/pages/s/drawer.tsx | 16 ++- packages/web/pages/s/index.tsx | 48 +++++++-- .../illustrations/undraw_share_link_qtxe.svg | 1 + 5 files changed, 74 insertions(+), 99 deletions(-) create mode 100644 packages/web/public/illustrations/undraw_share_link_qtxe.svg diff --git a/packages/web/components/v2/Header.tsx b/packages/web/components/v2/Header.tsx index 18797e6..5286104 100644 --- a/packages/web/components/v2/Header.tsx +++ b/packages/web/components/v2/Header.tsx @@ -99,12 +99,12 @@ export default function Header() { {/* controls */}
diff --git a/packages/web/components/v2/Sidebar.tsx b/packages/web/components/v2/Sidebar.tsx index a17e2aa..4070c54 100644 --- a/packages/web/components/v2/Sidebar.tsx +++ b/packages/web/components/v2/Sidebar.tsx @@ -10,8 +10,6 @@ import { FaGripHorizontal, FaDotCircle, FaUser, - FaPhoneSlash, - FaWalking, FaMicrophone, FaPlay, FaCircle, @@ -57,6 +55,17 @@ function Sidebar() { Conversations + + + + + Live + + + 4 @@ -129,99 +138,14 @@ function Sidebar() { - handleRoute(Routes.rooms)} - className="flex flex-row items-center hover:cursor-pointer transition-all group" - > - - - - - Rooms - - - - - new - - - - - - - Live - - - - - {/* Live Rooms */} -
- {/* section title */} - - - - - Live - - - - {/* list of current rooms */} - - - - K - } /> - } /> - - - Cafeteria - - - - - - - - - - Chillin and Coding - - - - - -
- {/* pinned items */}
{/* section title */} - + Priority diff --git a/packages/web/pages/s/drawer.tsx b/packages/web/pages/s/drawer.tsx index f2cda27..e96f811 100644 --- a/packages/web/pages/s/drawer.tsx +++ b/packages/web/pages/s/drawer.tsx @@ -1,8 +1,22 @@ import getDynamicMeLayout from "../../components/Layouts/DynamicMeLayout"; import React from "react"; +import { FaLink } from "react-icons/fa"; export default function Drawer() { - return
All caught up.
; + return ( +
+ + + + + A place to bookmark that

drive + folder, GitHub repo, video, Jira ticket. +
+
+ ); } Drawer.getLayout = function getLayout(page: React.ReactElement) { diff --git a/packages/web/pages/s/index.tsx b/packages/web/pages/s/index.tsx index 508de51..b70f1ad 100644 --- a/packages/web/pages/s/index.tsx +++ b/packages/web/pages/s/index.tsx @@ -5,10 +5,12 @@ import { FaCheck, FaCheckDouble, FaCircle, + FaDotCircle, FaGithub, FaRegClock, FaRocket, FaUser, + FaWalking, } from "react-icons/fa"; import React from "react"; import getDynamicMeLayout from "../../components/Layouts/DynamicMeLayout"; @@ -27,12 +29,46 @@ function Convos() { return ( <> - + + + Live + + + + {/* row of live room cards */} + + {/* engineering rooms */} + + + + + + + + + + Engineering + + + {"01:20"} + + + + + + + + Priority - - {/* Today */} @@ -48,7 +84,7 @@ function Convos() { {/* engineering */} @@ -110,7 +146,7 @@ function Convos() { {/* general */} @@ -164,7 +200,7 @@ function Convos() { {/* one on one chat with sydney */} diff --git a/packages/web/public/illustrations/undraw_share_link_qtxe.svg b/packages/web/public/illustrations/undraw_share_link_qtxe.svg new file mode 100644 index 0000000..8409360 --- /dev/null +++ b/packages/web/public/illustrations/undraw_share_link_qtxe.svg @@ -0,0 +1 @@ +share_link \ No newline at end of file