Skip to content

Commit 842701e

Browse files
authored
Merge pull request #1639 from oasisprotocol/matevz/feature/use-cases-landing-page
Add all use cases to the landing page
2 parents a3700fd + df9d05c commit 842701e

File tree

5 files changed

+19
-6
lines changed

5 files changed

+19
-6
lines changed

docs/README.mdx

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -19,6 +19,8 @@ import BlocksSvg from "@site/static/img/BlocksGraphic.svg?react";
1919
itemPaths={[
2020
"/build/use-cases/key-generation",
2121
"/build/use-cases/trustless-agent",
22+
"/build/use-cases/price-oracle",
23+
"/build/use-cases/tgbot",
2224
]}
2325
svg={<OasisSvg className="animatedSvg" />}
2426
>

docs/build/use-cases/price-oracle.mdx

Lines changed: 12 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -322,9 +322,20 @@ Last update at: 656
322322
That's it! Your first ROFL oracle that authenticates with an Oasis Sapphire
323323
smart contract is running! 🎉
324324

325-
:::example Price Oracle Demo
325+
:::example ROFL Price Oracle
326326

327327
You can fetch a complete example shown in this chapter from
328328
https://github.com/oasisprotocol/demo-rofl.
329329

330+
Next, you can check out the [production version of the price
331+
oracle][rofl-price-oracle] maintained by the Oasis team. This oracle is
332+
deployed on [Mainnet] and [Testnet], supports fetching price quotes from
333+
various CEXes in parallel, the API keys to avoid quota limits and stores the
334+
quotes to a ChainLink-compatible smart contract on Sapphire ready to be
335+
consumed by DeFi apps.
336+
337+
[Mainnet]: https://explorer.oasis.io/mainnet/sapphire/rofl/app/rofl1qph068ccezgmw25qtrv47z8ecv898wzk2g8ys99w
338+
[Testnet]: https://explorer.oasis.io/testnet/sapphire/rofl/app/rofl1qzcaz2y24anz6qy4w8jhuc5vj9cwhek8ustkl8a7
339+
[rofl-price-oracle]: https://github.com/oasisprotocol/rofl-price-oracle
340+
330341
:::

docusaurus.config.ts

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -256,7 +256,7 @@ Apache 2.0</a>. Built with &#x2665; and Docusaurus.</p>`,
256256
prism: {
257257
theme: prismThemes.github,
258258
darkTheme: prismThemes.dracula,
259-
additionalLanguages: ['diff', 'rust', 'solidity', 'toml', 'ini'],
259+
additionalLanguages: ['diff', 'rust', 'solidity', 'toml', 'ini', 'bash', 'docker'],
260260
},
261261
colorMode: {
262262
respectPrefersColorScheme: true,

src/components/DocCardSection.module.css

Lines changed: 4 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -115,6 +115,10 @@
115115
display: none !important;
116116
}
117117

118+
.cardItem a div { /* Pill */
119+
margin-top: 5px;
120+
}
121+
118122
.cardLinksList .cardItem:last-child {
119123
border-bottom: none;
120124
}

src/css/custom.css

Lines changed: 0 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -350,7 +350,3 @@ a[rel="tag"] {
350350
.theme-admonition-example svg{
351351
fill: transparent!important;
352352
}
353-
354-
.theme-admonition-example p{
355-
margin-bottom: 0;
356-
}

0 commit comments

Comments
 (0)