({ guide }: Props)
| 4 | guide: FeaturedLink |
| 5 | } |
| 6 | export const GuideCard = ({ guide }: Props) => { |
| 7 | const authors = guide.authors && guide.authors.length > 0 ? guide.authors : ['GitHub'] |
| 8 | const authorString = `@${authors.join(', @')}` |
| 9 | |
| 10 | return ( |
| 11 | <li className="col-lg-4 col-12 mb-4 list-style-none"> |
| 12 | <a |
| 13 | className="Box color-shadow-medium height-full d-block hover-shadow-large no-underline color-fg-default p-5" |
| 14 | href={guide.href} |
| 15 | > |
| 16 | <h3 className="f2">{guide.title}</h3> |
| 17 | <p className="mt-2 mb-4 color-fg-muted">{guide.intro || ''}</p> |
| 18 | |
| 19 | <footer className="d-flex"> |
| 20 | <div>{authorString}</div> |
| 21 | </footer> |
| 22 | </a> |
| 23 | </li> |
| 24 | ) |
| 25 | } |
nothing calls this directly
no outgoing calls
no test coverage detected