File tree Expand file tree Collapse file tree 3 files changed +16
-12
lines changed Expand file tree Collapse file tree 3 files changed +16
-12
lines changed Original file line number Diff line number Diff line change @@ -35,7 +35,7 @@ export async function Header() {
35
35
</ form >
36
36
< Link
37
37
href = "/contributors"
38
- className = "btn btn-square btn-ghost umami--click--contributors-button hover:bg-blue-700 transition-colors"
38
+ className = "btn btn-square btn-ghost umami--click--contributors-button hover:text-hacktoberfest-light transition-colors"
39
39
>
40
40
< BsPeopleFill size = "1.5rem" color = "white" title = "Contributors" />
41
41
</ Link >
@@ -44,7 +44,7 @@ export async function Header() {
44
44
href = "https://github.com/max-programming/hacktoberfest-projects"
45
45
target = "_blank"
46
46
rel = "noreferrer"
47
- className = "btn btn-square btn-ghost umami--click--github-button hover:bg-blue-700 transition-colors"
47
+ className = "btn btn-square btn-ghost umami--click--github-button hover:text-hacktoberfest-light transition-colors"
48
48
>
49
49
< IoLogoGithub size = "1.5rem" color = "white" title = "GitHub" />
50
50
</ a >
Original file line number Diff line number Diff line change @@ -40,29 +40,33 @@ export function ContributorCard({ contributor }: ContributorCardProps) {
40
40
41
41
return (
42
42
< button
43
- className = "justify-center min-w-full text-center shadow-2xl card focus-within:outline-hacktoberfest-green bg-hacktoberfest-black "
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 "
44
44
id = { contributor . login }
45
45
onClick = { ( ) => router . replace ( `/contributors#${ contributor . login } ` ) }
46
46
ref = { cardRef }
47
47
>
48
- < div className = "w-full pt-5 mx-auto" >
49
- < figure className = "w-full h-full" >
50
- < img src = { url } alt = { contributor . name } className = "rounded-xl" />
48
+ < div className = "w-full mx-auto" >
49
+ < figure className = "w-full h-56" >
50
+ < img
51
+ src = { url }
52
+ alt = { contributor . name }
53
+ className = "h-full w-full object-cover transition-transform duration-300 group-hover:scale-110"
54
+ />
51
55
</ figure >
52
56
</ div >
53
57
< div className = "w-full gap-3 items-center card-body" >
54
- < h2 className = "text-2xl font-medium text-hacktoberfest-green " >
58
+ < h2 className = "text-2xl font-medium text-hacktoberfest-light group-hover:text-hacktoberfest-black " >
55
59
{ contributor . name }
56
60
</ h2 >
57
61
< a
58
62
href = { contributor . profile }
59
- className = "link text-hacktoberfest-green hover:text-hacktoberfest-pink w-fit underline-expand"
63
+ className = "link text-hacktoberfest-light group- hover:text-hacktoberfest-black hover:text-hacktoberfest-blue w-fit underline-expand"
60
64
>
61
65
{ contributor . profile }
62
66
</ a >
63
67
< div className = "justify-center mt-auto card-actions" >
64
68
< a
65
- className = "border-2 text-hacktoberfest-light btn border-hacktoberfest-pink hover:border-hacktoberfest-pink btn-outline hover:bg-hacktoberfest-pink hover:text-hacktoberfest-black "
69
+ className = "border-2 text-hacktoberfest-light btn border-hacktoberfest-blue group- hover:!text-white hover:-translate-y-1 "
66
70
href = { `https://github.com/${ contributor . login } ` }
67
71
target = "_blank"
68
72
rel = "noreferrer"
Original file line number Diff line number Diff line change @@ -17,11 +17,11 @@ export default async function ContributorsPage() {
17
17
return (
18
18
< div >
19
19
< Header />
20
- < div className = "container mx-auto mb-5" >
21
- < h1 className = "my-5 text-5xl font-medium text-center text-neutral-100" >
20
+ < div className = "container mx-auto mb-5 space-y-8 mt-36 " >
21
+ < h1 className = "text-4xl sm: text-5xl font-medium text-center text-neutral-100" >
22
22
Contributors ✨
23
23
</ h1 >
24
- < div className = "grid grid-cols-1 gap-4 md:grid-cols-2 lg:grid-cols-4" >
24
+ < div className = "grid grid-cols-1 gap-4 md:grid-cols-2 lg:grid-cols-3 xl:grid-cols-4 px- 4" >
25
25
{ contributors . map ( contributor => (
26
26
< ContributorCard
27
27
key = { contributor . login }
You can’t perform that action at this time.
0 commit comments