From ccab382d7de3fe92f5f87bce80b4ac90c10bfb9f Mon Sep 17 00:00:00 2001 From: Aaryan Khandelwal <65252264+aaryan610@users.noreply.github.com> Date: Wed, 19 Jul 2023 12:16:39 +0530 Subject: [PATCH] chore: add dashboard navbar (#1560) --- .../components/ui/product-updates-modal.tsx | 6 +- apps/app/pages/[workspaceSlug]/index.tsx | 61 ++++++++++++------- 2 files changed, 41 insertions(+), 26 deletions(-) diff --git a/apps/app/components/ui/product-updates-modal.tsx b/apps/app/components/ui/product-updates-modal.tsx index 5ae3ac461..b142f8325 100644 --- a/apps/app/components/ui/product-updates-modal.tsx +++ b/apps/app/components/ui/product-updates-modal.tsx @@ -35,7 +35,7 @@ export const ProductUpdatesModal: React.FC = ({ isOpen, setIsOpen }) => {
-
+
= ({ isOpen, setIsOpen }) => { leaveFrom="opacity-100 translate-y-0 sm:scale-100" leaveTo="opacity-0 translate-y-4 sm:translate-y-0 sm:scale-95" > - -
+ +
{ const router = useRouter(); const { workspaceSlug } = router.query; + const { theme } = useTheme(); + const { user } = useUser(); const { projects } = useProjects(); @@ -60,7 +67,36 @@ const WorkspacePage: NextPage = () => { }, [month, workspaceSlug]); return ( - + + + Dashboard +
+ } + right={ +
+ + + + GitHub Logo + Star us on GitHub + + +
+ } + > {isProductUpdatesModalOpen && ( { projects.length > 0 ? (
-
-

- Plane is open source, support us by starring us on GitHub. -

-
- - - Star us on GitHub - -
-