-
Notifications
You must be signed in to change notification settings - Fork 912
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Merge pull request #11 from cardano-foundation/newfocus
New focus
- Loading branch information
Showing
34 changed files
with
528 additions
and
430 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
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,88 @@ | ||
--- | ||
id: overview | ||
title: Native Tokens | ||
sidebar_label: Overview | ||
description: Native Tokens | ||
image: ./img/og-developer-portal.png | ||
--- | ||
|
||
![img](../../static/img/card-native-tokens.svg) | ||
|
||
This is just a placeholder page. | ||
|
||
## Code Examples | ||
Example to present different examples in different languages. | ||
|
||
import Tabs from '@theme/Tabs'; | ||
import TabItem from '@theme/TabItem'; | ||
|
||
<Tabs | ||
defaultValue="js" | ||
values={[ | ||
{label: 'JavaScript', value: 'js'}, | ||
{label: 'PHP', value: 'php'}, | ||
{label: 'Python', value: 'py'}, | ||
]}> | ||
<TabItem value="js"> | ||
|
||
```js | ||
function helloWorld() { | ||
console.log('Hello, world!'); | ||
} | ||
``` | ||
|
||
</TabItem> | ||
<TabItem value="php"> | ||
|
||
```php | ||
<?php echo '<p>Hello, world!</p>'; ?> | ||
``` | ||
|
||
</TabItem> | ||
<TabItem value="py"> | ||
|
||
```py | ||
def hello_world(): | ||
print 'Hello, world!' | ||
``` | ||
|
||
</TabItem> | ||
</Tabs> | ||
|
||
:::note | ||
Note that the empty lines above and below each language block (in the *md file) is intentional. | ||
::: | ||
|
||
|
||
|
||
## Additional example | ||
|
||
We should do the same with for example operating systems. We can also switch multiple tabs at the same time based on user input. | ||
|
||
<Tabs | ||
groupId="operating-systems" | ||
defaultValue="win" | ||
values={[ | ||
{label: 'Windows', value: 'win'}, | ||
{label: 'macOS', value: 'mac'}, | ||
{label: 'Linux', value: 'linux'}, | ||
] | ||
}> | ||
<TabItem value="win">Use Ctrl + C to copy.</TabItem> | ||
<TabItem value="mac">Use Command + C to copy.</TabItem> | ||
<TabItem value="linux">Use Ctrl + C to copy.</TabItem> | ||
</Tabs> | ||
|
||
<Tabs | ||
groupId="operating-systems" | ||
defaultValue="win" | ||
values={[ | ||
{label: 'Windows', value: 'win'}, | ||
{label: 'macOS', value: 'mac'}, | ||
{label: 'Linux', value: 'linux'}, | ||
] | ||
}> | ||
<TabItem value="win">Use Ctrl + V to paste.</TabItem> | ||
<TabItem value="mac">Use Command + V to paste.</TabItem> | ||
<TabItem value="linux">Use Ctrl + V to paste.</TabItem> | ||
</Tabs> |
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,88 @@ | ||
--- | ||
id: overview | ||
title: Payment Integration | ||
sidebar_label: Overview | ||
description: Payment Integration | ||
image: ./img/og-developer-portal.png | ||
--- | ||
|
||
![img](../../static/img/card-payment-integration.svg) | ||
|
||
This is just a placeholder page. | ||
|
||
## Code Examples | ||
Example to present different examples in different languages. | ||
|
||
import Tabs from '@theme/Tabs'; | ||
import TabItem from '@theme/TabItem'; | ||
|
||
<Tabs | ||
defaultValue="js" | ||
values={[ | ||
{label: 'JavaScript', value: 'js'}, | ||
{label: 'PHP', value: 'php'}, | ||
{label: 'Python', value: 'py'}, | ||
]}> | ||
<TabItem value="js"> | ||
|
||
```js | ||
function helloWorld() { | ||
console.log('Hello, world!'); | ||
} | ||
``` | ||
|
||
</TabItem> | ||
<TabItem value="php"> | ||
|
||
```php | ||
<?php echo '<p>Hello, world!</p>'; ?> | ||
``` | ||
|
||
</TabItem> | ||
<TabItem value="py"> | ||
|
||
```py | ||
def hello_world(): | ||
print 'Hello, world!' | ||
``` | ||
|
||
</TabItem> | ||
</Tabs> | ||
|
||
:::note | ||
Note that the empty lines above and below each language block (in the *md file) is intentional. | ||
::: | ||
|
||
|
||
|
||
## Additional example | ||
|
||
We should do the same with for example operating systems. We can also switch multiple tabs at the same time based on user input. | ||
|
||
<Tabs | ||
groupId="operating-systems" | ||
defaultValue="win" | ||
values={[ | ||
{label: 'Windows', value: 'win'}, | ||
{label: 'macOS', value: 'mac'}, | ||
{label: 'Linux', value: 'linux'}, | ||
] | ||
}> | ||
<TabItem value="win">Use Ctrl + C to copy.</TabItem> | ||
<TabItem value="mac">Use Command + C to copy.</TabItem> | ||
<TabItem value="linux">Use Ctrl + C to copy.</TabItem> | ||
</Tabs> | ||
|
||
<Tabs | ||
groupId="operating-systems" | ||
defaultValue="win" | ||
values={[ | ||
{label: 'Windows', value: 'win'}, | ||
{label: 'macOS', value: 'mac'}, | ||
{label: 'Linux', value: 'linux'}, | ||
] | ||
}> | ||
<TabItem value="win">Use Ctrl + V to paste.</TabItem> | ||
<TabItem value="mac">Use Command + V to paste.</TabItem> | ||
<TabItem value="linux">Use Ctrl + V to paste.</TabItem> | ||
</Tabs> |
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,81 @@ | ||
--- | ||
id: portal-example | ||
title: Code examples | ||
sidebar_label: Code examples | ||
--- | ||
|
||
Example to present different examples in different languages. | ||
|
||
import Tabs from '@theme/Tabs'; | ||
import TabItem from '@theme/TabItem'; | ||
|
||
<Tabs | ||
defaultValue="js" | ||
values={[ | ||
{label: 'JavaScript', value: 'js'}, | ||
{label: 'PHP', value: 'php'}, | ||
{label: 'Python', value: 'py'}, | ||
]}> | ||
<TabItem value="js"> | ||
|
||
```js | ||
function helloWorld() { | ||
console.log('Hello, world!'); | ||
} | ||
``` | ||
|
||
</TabItem> | ||
<TabItem value="php"> | ||
|
||
```php | ||
<?php echo '<p>Hello, world!</p>'; ?> | ||
``` | ||
|
||
</TabItem> | ||
<TabItem value="py"> | ||
|
||
```py | ||
def hello_world(): | ||
print 'Hello, world!' | ||
``` | ||
|
||
</TabItem> | ||
</Tabs> | ||
|
||
:::note | ||
Note that the empty lines above and below each language block (in the *md file) is intentional. | ||
::: | ||
|
||
|
||
|
||
# Additional example | ||
|
||
We should do the same with for example operating systems. We can also switch multiple tabs at the same time based on user input. | ||
|
||
<Tabs | ||
groupId="operating-systems" | ||
defaultValue="win" | ||
values={[ | ||
{label: 'Windows', value: 'win'}, | ||
{label: 'macOS', value: 'mac'}, | ||
{label: 'Linux', value: 'linux'}, | ||
] | ||
}> | ||
<TabItem value="win">Use Ctrl + C to copy.</TabItem> | ||
<TabItem value="mac">Use Command + C to copy.</TabItem> | ||
<TabItem value="linux">Use Ctrl + C to copy.</TabItem> | ||
</Tabs> | ||
|
||
<Tabs | ||
groupId="operating-systems" | ||
defaultValue="win" | ||
values={[ | ||
{label: 'Windows', value: 'win'}, | ||
{label: 'macOS', value: 'mac'}, | ||
{label: 'Linux', value: 'linux'}, | ||
] | ||
}> | ||
<TabItem value="win">Use Ctrl + V to paste.</TabItem> | ||
<TabItem value="mac">Use Command + V to paste.</TabItem> | ||
<TabItem value="linux">Use Ctrl + V to paste.</TabItem> | ||
</Tabs> |
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,11 @@ | ||
--- | ||
id: portal-signup | ||
title: Signup | ||
sidebar_label: Signup | ||
description: Signup for the Cardano developer portal. | ||
image: ./img/og-developer-portal.png | ||
--- | ||
|
||
![img](../static/img/logo.svg) | ||
|
||
You can sign up here |
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,88 @@ | ||
--- | ||
id: overview | ||
title: Transaction Metadata | ||
sidebar_label: Overview | ||
description: Transaction Metadata Overview | ||
image: ./img/og-developer-portal.png | ||
--- | ||
|
||
![img](../../static/img/card-transaction-metadata.svg) | ||
|
||
This is just a placeholder page. | ||
|
||
## Code Examples | ||
Example to present different examples in different languages. | ||
|
||
import Tabs from '@theme/Tabs'; | ||
import TabItem from '@theme/TabItem'; | ||
|
||
<Tabs | ||
defaultValue="js" | ||
values={[ | ||
{label: 'JavaScript', value: 'js'}, | ||
{label: 'PHP', value: 'php'}, | ||
{label: 'Python', value: 'py'}, | ||
]}> | ||
<TabItem value="js"> | ||
|
||
```js | ||
function helloWorld() { | ||
console.log('Hello, world!'); | ||
} | ||
``` | ||
|
||
</TabItem> | ||
<TabItem value="php"> | ||
|
||
```php | ||
<?php echo '<p>Hello, world!</p>'; ?> | ||
``` | ||
|
||
</TabItem> | ||
<TabItem value="py"> | ||
|
||
```py | ||
def hello_world(): | ||
print 'Hello, world!' | ||
``` | ||
|
||
</TabItem> | ||
</Tabs> | ||
|
||
:::note | ||
Note that the empty lines above and below each language block (in the *md file) is intentional. | ||
::: | ||
|
||
|
||
|
||
## Additional example | ||
|
||
We should do the same with for example operating systems. We can also switch multiple tabs at the same time based on user input. | ||
|
||
<Tabs | ||
groupId="operating-systems" | ||
defaultValue="win" | ||
values={[ | ||
{label: 'Windows', value: 'win'}, | ||
{label: 'macOS', value: 'mac'}, | ||
{label: 'Linux', value: 'linux'}, | ||
] | ||
}> | ||
<TabItem value="win">Use Ctrl + C to copy.</TabItem> | ||
<TabItem value="mac">Use Command + C to copy.</TabItem> | ||
<TabItem value="linux">Use Ctrl + C to copy.</TabItem> | ||
</Tabs> | ||
|
||
<Tabs | ||
groupId="operating-systems" | ||
defaultValue="win" | ||
values={[ | ||
{label: 'Windows', value: 'win'}, | ||
{label: 'macOS', value: 'mac'}, | ||
{label: 'Linux', value: 'linux'}, | ||
] | ||
}> | ||
<TabItem value="win">Use Ctrl + V to paste.</TabItem> | ||
<TabItem value="mac">Use Command + V to paste.</TabItem> | ||
<TabItem value="linux">Use Ctrl + V to paste.</TabItem> | ||
</Tabs> |
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
Oops, something went wrong.