@@ -74,7 +74,7 @@ export default function Index() {
7474 </ div >
7575 </ div >
7676 < div className = 'hidden w-1/2 lg:block' >
77- < img src = '/img/homepage/ambassador-cover.svg' alt = 'ambassador-cover' className = 'full' />
77+ < img src = '/img/homepage/ambassador-cover.svg' alt = 'ambassador-cover' className = 'w- full' />
7878 </ div >
7979 </ div >
8080 < div className = 'mt-20' >
@@ -142,31 +142,37 @@ export default function Index() {
142142 < div className = 'flex h-full flex-col justify-between' >
143143 < div className = 'p-2 text-sm' > { ambassador . bio } </ div >
144144 < div className = 'flex border-t p-2 gap-4' data-testid = 'Ambassadors-members-socials' >
145- < a
146- href = { ambassador . twitterUrl }
147- target = '_blank'
148- rel = 'noreferrer'
149- className = 'text-gray-500 hover:text-black transition-colors'
150- data-testid = 'Ambassadors-members-twitter'
151- >
152- < IconTwitter className = 'h-5 w-5 fill-current' />
153- </ a >
154- < a
155- href = { ambassador . githubUrl }
156- target = '_blank'
157- rel = 'noreferrer'
158- className = 'text-gray-500 hover:text-black transition-colors'
159- >
160- < IconGithub className = 'h-5 w-5 fill-current' />
161- </ a >
162- < a
163- href = { ambassador . linkedinUrl }
164- target = '_blank'
165- rel = 'noreferrer'
166- className = 'text-gray-500 hover:text-[#0077b5] transition-colors'
167- >
168- < IconLinkedIn className = 'h-5 w-5 fill-current' />
169- </ a >
145+ { ambassador . twitterUrl && (
146+ < a
147+ href = { ambassador . twitterUrl }
148+ target = '_blank'
149+ rel = 'noreferrer'
150+ className = 'text-gray-500 hover:text-black transition-colors'
151+ data-testid = 'Ambassadors-members-twitter'
152+ >
153+ < IconTwitter className = 'h-5 w-5 fill-current' />
154+ </ a >
155+ ) }
156+ { ambassador . githubUrl && (
157+ < a
158+ href = { ambassador . githubUrl }
159+ target = '_blank'
160+ rel = 'noreferrer'
161+ className = 'text-gray-500 hover:text-black transition-colors'
162+ >
163+ < IconGithub className = 'h-5 w-5 fill-current' />
164+ </ a >
165+ ) }
166+ { ambassador . linkedinUrl && (
167+ < a
168+ href = { ambassador . linkedinUrl }
169+ target = '_blank'
170+ rel = 'noreferrer'
171+ className = 'text-gray-500 hover:text-[#0077b5] transition-colors'
172+ >
173+ < IconLinkedIn className = 'h-5 w-5 fill-current' />
174+ </ a >
175+ ) }
170176 </ div >
171177 </ div >
172178 </ div >
0 commit comments