File tree Expand file tree Collapse file tree 1 file changed +6
-6
lines changed
src/app/(public)/contributors/_components Expand file tree Collapse file tree 1 file changed +6
-6
lines changed Original file line number Diff line number Diff line change @@ -40,33 +40,33 @@ export function ContributorCard({ contributor }: ContributorCardProps) {
40
40
41
41
return (
42
42
< button
43
- className = "group justify-center min-w-full text-center shadow-2xl card focus-within:outline-hacktoberfest-blue bg-hacktoberfest-light-blue hover:bg-hacktoberfest-light transition-all duration-300 transform hover:-translate-y-1 overflow-hidden"
43
+ className = "group justify-center min-w-full text-center shadow-2xl card focus-within:outline-hacktoberfest-blue bg-hacktoberfest-light-blue hover:bg-hacktoberfest-light transition-all duration-300 transform hover:-translate-y-1 overflow-hidden pt-6 "
44
44
id = { contributor . login }
45
45
onClick = { ( ) => router . replace ( `/contributors#${ contributor . login } ` ) }
46
46
ref = { cardRef }
47
47
>
48
48
< div className = "w-full mx-auto" >
49
- < figure className = "w- full h-56 " >
49
+ < figure className = "size-56 rounded- full mx-auto " >
50
50
< img
51
51
src = { url }
52
52
alt = { contributor . name }
53
- className = "h-full w-full object-cover transition-transform duration-300 group-hover:scale-110"
53
+ className = "max- h-full w-auto object-cover transition-transform duration-300 group-hover:scale-110"
54
54
/>
55
55
</ figure >
56
56
</ div >
57
57
< div className = "w-full gap-3 items-center card-body" >
58
- < h2 className = "text-2xl font-medium text-hacktoberfest-light group-hover:text-hacktoberfest-black " >
58
+ < h2 className = "text-2xl font-medium text-hacktoberfest-light group-hover:text-hacktoberfest-blue " >
59
59
{ contributor . name }
60
60
</ h2 >
61
61
< a
62
62
href = { contributor . profile }
63
- className = "link text-hacktoberfest-light group-hover:text-hacktoberfest-black hover:text-hacktoberfest-blue w-fit underline-expand"
63
+ className = "link text-hacktoberfest-light group-hover:text-hacktoberfest-black group- hover:text-hacktoberfest-blue w-fit underline-expand"
64
64
>
65
65
{ contributor . profile }
66
66
</ a >
67
67
< div className = "justify-center mt-auto card-actions" >
68
68
< a
69
- className = "border-2 text-hacktoberfest-light btn border-hacktoberfest-blue group-hover:!text-white hover:-translate-y-1"
69
+ className = "border-2 text-hacktoberfest-light btn border-hacktoberfest-blue group-hover:!text-white group- hover:-translate-y-1"
70
70
href = { `https://github.com/${ contributor . login } ` }
71
71
target = "_blank"
72
72
rel = "noreferrer"
You can’t perform that action at this time.
0 commit comments