()
| 71 | }; |
| 72 | |
| 73 | export const PlusApiShowcase = (): ReactElement => { |
| 74 | const id = useId(); |
| 75 | const titleId = `${id}-title`; |
| 76 | |
| 77 | return ( |
| 78 | <section aria-labelledby={titleId} className="my-10"> |
| 79 | <Typography |
| 80 | bold |
| 81 | className="mb-10 text-center" |
| 82 | id={titleId} |
| 83 | tag={TypographyTag.H2} |
| 84 | type={TypographyType.Title3} |
| 85 | > |
| 86 | What you can build with the API |
| 87 | </Typography> |
| 88 | <div className="mx-auto flex max-w-5xl flex-col gap-4 laptop:flex-row"> |
| 89 | {showcaseCards.map((card) => ( |
| 90 | <ShowcaseCardView key={card.title} card={card} /> |
| 91 | ))} |
| 92 | </div> |
| 93 | <div className="mt-8 flex justify-center"> |
| 94 | <Button |
| 95 | tag="a" |
| 96 | href={plusPublicApiDocs} |
| 97 | target="_blank" |
| 98 | rel={anchorDefaultRel} |
| 99 | size={ButtonSize.Medium} |
| 100 | variant={ButtonVariant.Secondary} |
| 101 | > |
| 102 | Read the API docs |
| 103 | </Button> |
| 104 | </div> |
| 105 | </section> |
| 106 | ); |
| 107 | }; |
nothing calls this directly
no outgoing calls
no test coverage detected