diff --git a/web/src/beta/features/Dashboard/ContentsContainer/Recycle/Project/ProjectGridViewItem.tsx b/web/src/beta/features/Dashboard/ContentsContainer/Recycle/Project/ProjectGridViewItem.tsx index b5ddc7c768..456d3c3fdf 100644 --- a/web/src/beta/features/Dashboard/ContentsContainer/Recycle/Project/ProjectGridViewItem.tsx +++ b/web/src/beta/features/Dashboard/ContentsContainer/Recycle/Project/ProjectGridViewItem.tsx @@ -33,6 +33,9 @@ const ProjectGridViewItem: FC = ({ /> {hasMapOrStoryPublished && } + + {project.name} + ({ borderRadius: "50%", background: theme.publish.main })); + +const CardTitleWrapper = styled("div")(() => ({ + flex: 1 +})); + +const CardTitle = styled("div")(({ theme }) => ({ + flex: "1", + padding: `0 ${theme.spacing.smallest + 1}px`, + color: theme.content.main, + fontSize: theme.fonts.sizes.body, + fontWeight: theme.fonts.weight.regular, + display: "-webkit-box", + WebkitBoxOrient: "vertical", + WebkitLineClamp: 1, + overflow: "hidden", + textOverflow: "ellipsis", + cursor: "pointer" +})); diff --git a/web/src/beta/features/Dashboard/ContentsContainer/Recycle/Project/ProjectListViewItem.tsx b/web/src/beta/features/Dashboard/ContentsContainer/Recycle/Project/ProjectListViewItem.tsx index c58a5f61b1..4c5492ec5d 100644 --- a/web/src/beta/features/Dashboard/ContentsContainer/Recycle/Project/ProjectListViewItem.tsx +++ b/web/src/beta/features/Dashboard/ContentsContainer/Recycle/Project/ProjectListViewItem.tsx @@ -45,6 +45,9 @@ const ProjectListViewItem: FC = ({ + + {project.name} + {UpdatedAt} @@ -114,3 +117,24 @@ const ActionCol = styled("div")(() => ({ flex: "0 0 10%", flexShrink: 0 })); + +const ProjectNameCol = styled("div")(({ theme }) => ({ + display: "flex", + alignItems: "center", + gap: theme.spacing.smallest, + flex: 1, + flexShrink: 0 +})); + +const TitleWrapper = styled("div")(({ theme }) => ({ + padding: `0 ${theme.spacing.smallest + 1}px`, + color: theme.content.main, + cursor: "pointer", + fontSize: theme.fonts.sizes.body, + fontWeight: theme.fonts.weight.regular, + display: "-webkit-box", + WebkitBoxOrient: "vertical", + WebkitLineClamp: 1, + overflow: "hidden", + textOverflow: "ellipsis" +}));