diff --git a/components/PageContributors.tsx b/components/PageContributors.tsx index 27e2d97c..67d42147 100644 --- a/components/PageContributors.tsx +++ b/components/PageContributors.tsx @@ -1,7 +1,6 @@ import React, { useEffect, useState } from 'react'; import { Avatar, AvatarFallback, AvatarImage } from '@/components/ui/avatar'; -import { Badge } from '@/components/ui/badge'; -import { Users, ExternalLink } from 'lucide-react'; +import { Users } from 'lucide-react'; import { useRouter } from 'next/router'; import { GitHubContributor, ContributorsResponse } from '@/types/contributors'; import { urlPathToGitHubPath } from '@/lib/utils'; @@ -52,13 +51,14 @@ export const PageContributors: React.FC = () => { if (loading) { return ( -
-
- - Contributors -
-
-
+
+
+ {Array.from({ length: 6 }).map((_, idx) => ( +
+ ))}
); @@ -69,26 +69,26 @@ export const PageContributors: React.FC = () => { return null; } - // Show top 6 contributors in a compact format - const visibleContributors = contributors.slice(0, 6); + // Keep this compact to avoid distracting from docs content. + const visibleContributors = contributors.slice(0, 10); return ( -
-
- +
+
+ Contributors
- - );