From 3998b60888216707039ef26bf08ca2209acbbbe1 Mon Sep 17 00:00:00 2001 From: Cody Bender Date: Thu, 31 Oct 2024 10:35:33 -0400 Subject: [PATCH] style: repository cards --- .../projects/create/ProjectRepoCard/ProjectRepoCard.tsx | 8 ++++---- .../projects/create/RepositoryList/RepositoryList.tsx | 4 +++- 2 files changed, 7 insertions(+), 5 deletions(-) diff --git a/packages/frontend/src/components/projects/create/ProjectRepoCard/ProjectRepoCard.tsx b/packages/frontend/src/components/projects/create/ProjectRepoCard/ProjectRepoCard.tsx index 48650ca5..0ef3d4d1 100644 --- a/packages/frontend/src/components/projects/create/ProjectRepoCard/ProjectRepoCard.tsx +++ b/packages/frontend/src/components/projects/create/ProjectRepoCard/ProjectRepoCard.tsx @@ -49,21 +49,21 @@ export const ProjectRepoCard: React.FC = ({ onClick={createProject} > {/* Icon container */} -
+
{/* Content */}
-

+

{repository.full_name}

-

+

{repository.updated_at && relativeTimeISO(repository.updated_at)}

{repository.visibility === 'private' && ( -
+
Private
diff --git a/packages/frontend/src/components/projects/create/RepositoryList/RepositoryList.tsx b/packages/frontend/src/components/projects/create/RepositoryList/RepositoryList.tsx index aa51f0b2..4fad05e6 100644 --- a/packages/frontend/src/components/projects/create/RepositoryList/RepositoryList.tsx +++ b/packages/frontend/src/components/projects/create/RepositoryList/RepositoryList.tsx @@ -166,7 +166,9 @@ export const RepositoryList = () => {
) : (
-

No repository found

+

+ No repository found +