({
url,
brandColor,
logoUrl,
}: {
url: string;
communityName: string;
description: string;
brandColor: string;
logoUrl: string;
})
| 360 | }; |
| 361 | |
| 362 | const CommunityCard = ({ |
| 363 | url, |
| 364 | brandColor, |
| 365 | logoUrl, |
| 366 | }: { |
| 367 | url: string; |
| 368 | communityName: string; |
| 369 | description: string; |
| 370 | brandColor: string; |
| 371 | logoUrl: string; |
| 372 | }) => { |
| 373 | return ( |
| 374 | <a |
| 375 | className="flex items-center justify-center rounded" |
| 376 | style={{ |
| 377 | backgroundColor: brandColor, |
| 378 | }} |
| 379 | href={url} |
| 380 | target="_blank" |
| 381 | rel="noreferrer" |
| 382 | > |
| 383 | <div className="relative h-28 w-52 m-2"> |
| 384 | <Image |
| 385 | src={logoUrl} |
| 386 | alt="Logo" |
| 387 | fill |
| 388 | style={{ objectFit: 'contain' }} |
| 389 | ></Image> |
| 390 | </div> |
| 391 | </a> |
| 392 | ); |
| 393 | }; |
| 394 | |
| 395 | type Props = { |
| 396 | logoUrl: string; |
nothing calls this directly
no outgoing calls
no test coverage detected