From 855643641246474b59e32468b32f73e38d9a70dd Mon Sep 17 00:00:00 2001 From: Arjun Patel Date: Thu, 27 Jan 2022 13:07:11 -0800 Subject: [PATCH] header responsive --- components/Dashboard/Header.tsx | 45 +++++++++++++++++++++------------ pages/teams/index.tsx | 4 +-- 2 files changed, 31 insertions(+), 18 deletions(-) diff --git a/components/Dashboard/Header.tsx b/components/Dashboard/Header.tsx index 1dc26ca..5eaf342 100644 --- a/components/Dashboard/Header.tsx +++ b/components/Dashboard/Header.tsx @@ -16,6 +16,7 @@ import { FaMicrophoneAltSlash, FaVolumeMute, FaLayerGroup, + FaUser, } from "react-icons/fa"; import { useTeamDashboardContext } from "../../contexts/teamDashboardContext"; import router from "next/router"; @@ -155,10 +156,22 @@ export default function Header() { ); const UserMenu = ( - router.push("/teams/profile")}> + router.push("/teams/profile")} + icon={} + > + window.open("/teams", "_self")} + key={"team hub"} + icon={} + > + + + @@ -300,10 +313,10 @@ export default function Header() { {/* header control section */} - + {/* search bar */} - + {renderAudioOutput()} @@ -319,20 +332,20 @@ export default function Header() { {team.name} - - {/* avatar */} - - - - - asdf - - + + {/* avatar */} + + + + + asdf + + ); } diff --git a/pages/teams/index.tsx b/pages/teams/index.tsx index b1d66c7..59a5174 100644 --- a/pages/teams/index.tsx +++ b/pages/teams/index.tsx @@ -137,7 +137,7 @@ function RouteHandler() { {team.name} - + {team.allowedUserCount || 2} @@ -146,7 +146,7 @@ function RouteHandler() { {team.companySite && ( window.open(team.companySite, "_blank")} - className="text-xs hover:cursor-pointer font-semibold text-teal-600 p-1 bg-teal-500 bg-opacity-20 rounded" + className="text-xs hover:cursor-pointer font-semibold text-gray-500" > {team.companySite}