This repository was archived by the owner on Feb 25, 2025. It is now read-only.
Commit 210304d 1 parent 9caf90d commit 210304d Copy full SHA for 210304d
File tree 1 file changed +15
-7
lines changed
1 file changed +15
-7
lines changed Original file line number Diff line number Diff line change @@ -65,10 +65,10 @@ const SponsorVisitors: React.FC = () => {
65
65
< div className = "mt-5 h-screen text-white" >
66
66
{ visitors . filter ( ( v ) => v . cv != null ) . length > 0 && (
67
67
< button
68
- className = "m-auto mb-5 block select-none rounded-full bg-quinary px-5 py-2 font-ibold text-2xl text-white"
68
+ className = "font-terminal-uppercase m-auto mb-5 block select-none rounded-full bg-quinary px-5 py-2 text-2xl text-white"
69
69
onClick = { downloadCVs }
70
70
>
71
- { downloading ? "Downloading" : "Download All CV's " }
71
+ { downloading ? "Downloading" : "Download All CVs " }
72
72
</ button >
73
73
) }
74
74
< div className = "grid grid-cols-1 lg:grid-cols-4" >
@@ -77,11 +77,19 @@ const SponsorVisitors: React.FC = () => {
77
77
key = { visitor . id }
78
78
className = "hover:b-4 m-2 mb-4 flex flex-col items-center justify-center rounded-lg p-2 hover:border-blue-500"
79
79
>
80
- < img
81
- alt = { visitor . name }
82
- src = { visitor . avatar }
83
- className = "mb-2 h-40 w-40 select-none rounded-full border-2 border-white object-cover hover:border-pink-500"
84
- />
80
+ { visitor . avatar ? (
81
+ < img
82
+ alt = { visitor . name }
83
+ src = { visitor . avatar }
84
+ className = "mb-2 h-40 w-40 select-none rounded-full border-2 border-white object-cover"
85
+ />
86
+ ) : (
87
+ < img
88
+ alt = { visitor . name }
89
+ src = "/images/mascot-head.png"
90
+ className = "mb-2 h-40 w-40 select-none rounded-full border-2 border-white object-cover"
91
+ />
92
+ ) }
85
93
< p className = "text-center" > { visitor . name } </ p >
86
94
< p className = "text-center" > { visitor . email } </ p >
87
95
{ visitor . cv ? (
You can’t perform that action at this time.
0 commit comments