Skip to content

Commit

Permalink
Update usages of Card component (#524)
Browse files Browse the repository at this point in the history
  • Loading branch information
ShreyaThapa authored Aug 9, 2023
1 parent 71b2e76 commit 9e47539
Show file tree
Hide file tree
Showing 2 changed files with 28 additions and 25 deletions.
2 changes: 1 addition & 1 deletion app/components/base/Card.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -285,7 +285,7 @@ function Card({
link.external ? <OpenInNewIcon /> : <ArrowForwardIcon />
}
>
{link.text}
{link.text ? link.text : "Learn more"}
</Button>
))}
</LinkTextStyle>
Expand Down
51 changes: 27 additions & 24 deletions pages/sdks-tools/index.mdx
Original file line number Diff line number Diff line change
Expand Up @@ -166,33 +166,36 @@ dependencies \{

<CardGrid variant="default" maxColumns={2}>
<Card
icon={postmanIcon}
link={{
href: "https://app.getpostman.com/run-collection/e946a89ed19313cce582",
external: true,
}}
topic="Postman Collection"
description="All individual Dwolla requests grouped into a single Postman collection for testing."
icon={postmanIcon}
links={[
{
text: "View Collection",
href: "https://app.getpostman.com/run-collection/e946a89ed19313cce582",
external: true,
}
]}
/>
<Card
icon={openApiIcon}
link={{
href: "https://github.com/Dwolla/dwolla-openapi",
external: true,
}}
topic="OpenAPI"
description={
<>
OpenAPI specification document for the Dwolla API. Reference the{" "}
<a
href={
"https://github.com/OAI/OpenAPI-Specification/blob/main/IMPLEMENTATIONS.md"
}
>
OpenAPI spec
</a>{" "}
for a catalog of tooling that implements the specification.
</>
}
/>
description="
OpenAPI specification document for the Dwolla Balance and Dwolla Connect
APIs. Reference the OpenAPI specs for catalogs of tooling that
implements the specification."
icon={openApiIcon}
links={[
{
text: "Dwolla Balance Spec",
href: "https://github.com/Dwolla/dwolla-openapi",
external: true,
},
{
text: "Dwolla Connect Spec",
href: "https://github.com/Dwolla/openapi-connect",
external: true,
}
]}
/>

</CardGrid>

0 comments on commit 9e47539

Please sign in to comment.