forked from aptos-labs/aptos-core
-
Notifications
You must be signed in to change notification settings - Fork 0
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
- Loading branch information
Showing
31 changed files
with
181 additions
and
728 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file was deleted.
Oops, something went wrong.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,26 @@ | ||
--- | ||
title: "SDKs" | ||
slug: "sdks" | ||
hidden: false | ||
--- | ||
|
||
import CardsWrapper from "@site/src/components/Cards/CardsWrapper"; | ||
|
||
import SimpleTextCard from "@site/src/components/Cards/SimpleTextCard"; | ||
|
||
Our official SDKs are collections of development resources like libraries, code samples, and documentation curated to | ||
help you build your own projects on the Diem platform. | ||
|
||
Select a language to access its approved Diem resource package on GitHub: | ||
|
||
### Select a language: | ||
|
||
<CardsWrapper> | ||
<SimpleTextCard | ||
icon="img/github.svg" | ||
iconDark="img/github-dark.svg" | ||
title="Python SDK" | ||
overlay="" | ||
to="https://github.com/diem/client-sdk-python" | ||
/> | ||
</CardsWrapper> |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
File renamed without changes.
9 changes: 4 additions & 5 deletions
9
...s-site/src/components/BlockQuote/index.js → ...-site/src/components/BlockQuote/index.tsx
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,18 +1,17 @@ | ||
import React from 'react'; | ||
import PropTypes from 'prop-types'; | ||
|
||
import styles from './styles.module.css'; | ||
import classnames from 'classnames'; | ||
import clsx from 'clsx'; | ||
import styles from './index.module.css'; | ||
|
||
const BlockQuote = ({children, type = "info"}) => ( | ||
<blockquote className={classnames(styles.blockquote, styles[type])}> | ||
<blockquote className={clsx(styles.blockquote, styles[type])}> | ||
{children} | ||
</blockquote> | ||
); | ||
|
||
BlockQuote.propTypes = { | ||
children: PropTypes.oneOfType([PropTypes.array, PropTypes.string]).isRequired, | ||
type: PropTypes.oneOf(["info", "warning", "danger"]), | ||
type: PropTypes.oneOf(["info", "warning", "danger", "note"]), | ||
}; | ||
|
||
export default BlockQuote; |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
8 changes: 4 additions & 4 deletions
8
developer-docs-site/src/components/Cards/CardsWrapper/styles.module.css
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
48 changes: 0 additions & 48 deletions
48
developer-docs-site/src/components/Cards/ColorCard/index.js
This file was deleted.
Oops, something went wrong.
Oops, something went wrong.