From d369d4b5495f9a8453b028240384eb59bfc14080 Mon Sep 17 00:00:00 2001 From: yash Date: Sat, 17 Feb 2024 02:01:59 +0530 Subject: [PATCH] rfac: project card pointer --- .../workspace/components/projectCard/index.scss | 7 ++++--- .../workspace/components/projectCard/index.tsx | 15 ++++++++------- 2 files changed, 12 insertions(+), 10 deletions(-) diff --git a/src/features/workspace/components/projectCard/index.scss b/src/features/workspace/components/projectCard/index.scss index 103a70f..eb9be42 100644 --- a/src/features/workspace/components/projectCard/index.scss +++ b/src/features/workspace/components/projectCard/index.scss @@ -7,12 +7,13 @@ height: 100%; min-height: 257px; padding: 1em; -} -.projectcard:hover { - cursor: pointer; } +// .projectcard:hover { +// cursor: pointer; +// } + .projectcard h1 { color: #ededed; margin-bottom: 0.2em; diff --git a/src/features/workspace/components/projectCard/index.tsx b/src/features/workspace/components/projectCard/index.tsx index e3380bb..8d28722 100644 --- a/src/features/workspace/components/projectCard/index.tsx +++ b/src/features/workspace/components/projectCard/index.tsx @@ -143,7 +143,7 @@ const ProjectCard: React.FC = ({ <>
setShowPopUp(showPopUp ? false : true)} > = ({ />
-
+
{pin ? 'Unpin' : 'Pin'}
-
+
{archive ? 'Unarchive' : 'Archive'}
navigate(`/editProject/${orgName}/${projectName}`)} > Edit
-
+
Delete
@@ -187,7 +187,7 @@ const ProjectCard: React.FC = ({ {orgName && !orgName.endsWith('-userspace') && (
navigate(`/projectMembers/${orgName}/${projectName}`)} > {projectMembers && projectMembers.length > 0 ? ( @@ -204,9 +204,10 @@ const ProjectCard: React.FC = ({
)} {orgName && !orgName.endsWith('-userspace') && ( -
+
navigate(`/project/${orgName}/${projectName}`)} alt='' />