diff --git a/src/components/developers/ContributorCard.tsx b/src/components/developers/ContributorCard.tsx index 06eb834c..b1e17492 100644 --- a/src/components/developers/ContributorCard.tsx +++ b/src/components/developers/ContributorCard.tsx @@ -18,7 +18,7 @@ export function ContributorCard({ login, avatarUrl, contributions, profileUrl }: {`${login}'s

{login}

diff --git a/src/components/developers/RepoCard.tsx b/src/components/developers/RepoCard.tsx index 24265ddd..95210a93 100644 --- a/src/components/developers/RepoCard.tsx +++ b/src/components/developers/RepoCard.tsx @@ -1,7 +1,7 @@ import { motion } from 'framer-motion'; import { Star, GitFork, Clock } from 'lucide-react'; -import { formatDate } from '@/lib/utils'; -import type { GithubRepo } from '@/lib/github'; +import { formatDate } from '../../lib/utils'; +import type { GithubRepo } from '../../lib/github'; interface RepoCardProps { repo: GithubRepo; @@ -10,47 +10,52 @@ interface RepoCardProps { export function RepoCard({ repo }: RepoCardProps) { return ( -

+

{repo.name}

- + {repo.description && ( -

{repo.description}

+

+ {repo.description} +

)} - -
+ +
{repo.language && ( - - {repo.language} + )} - + - - {repo.stargazers_count} + + {repo.stargazers_count} - + - - {repo.forks_count} + + {repo.forks_count} - + - - {formatDate(repo.updated_at)} + + {formatDate(repo.updated_at)}
); -} \ No newline at end of file +}