Skip to content

Commit

Permalink
QRNG banner (#824)
Browse files Browse the repository at this point in the history
* QRNG banner

* remove qrng banner

* css changes

* banner icon

* missing banner

* css adjustments

* image size 20

* larger image, bold QRNG
  • Loading branch information
wkande authored Sep 19, 2024
1 parent 5274251 commit b214706
Show file tree
Hide file tree
Showing 14 changed files with 57 additions and 0 deletions.
2 changes: 2 additions & 0 deletions docs/.vitepress/theme/index.js
Original file line number Diff line number Diff line change
Expand Up @@ -12,6 +12,7 @@ import DeployerPermissionsWarning from '../../_components/guides/DeployerPermiss
import VersionWarning from '../../_components/VersionWarning.vue';
import PageHeader from '../../_components/PageHeader.vue';
import CopyIcon from '../../_components/CopyIcon.vue';
import QrngRemoval from '../../_components/QrngRemoval.vue';
import SponsorWalletWarning from '../../_components/reference/airnode/SponsorWalletWarning.vue';
import DockerHubImages from '../../_components/reference/airnode/DockerHubImages.vue';
import DeleteAirnodeAws from '../../_components/reference/airnode/DeleteAirnodeAws.vue';
Expand Down Expand Up @@ -55,6 +56,7 @@ export default {
app.component('VersionWarning', VersionWarning);
app.component('PageHeader', PageHeader);
app.component('CopyIcon', CopyIcon);
app.component('QrngRemoval', QrngRemoval);
app.component('SponsorWalletWarning', SponsorWalletWarning);
app.component('DockerHubImages', DockerHubImages);
app.component('DeleteAirnodeAws', DeleteAirnodeAws);
Expand Down
36 changes: 36 additions & 0 deletions docs/_components/QrngRemoval.vue
Original file line number Diff line number Diff line change
@@ -0,0 +1,36 @@
<template>
<div class="qrng-flex-container">
<img
src="/public/img/infoCircle-24px.png"
style="width: 29px; height: 29px; margin-top: -2px"
/>

<span style="margin-left: 10px">
As of January 1, 2025, API3 will no longer be supporting the
<b>QRNG</b> service.

<span style="white-space: nowrap"
><a
style="color: #246354"
href="https://x.com/API3DAO/status/1831820055312789650"
target="api3_qrng"
>Learn more</a
></span
>
</span>
</div>
</template>
<style scoped>
.qrng-flex-container {
margin-top: 10px;
margin-bottom: 10px;
padding: 15px;
border: 1px #7affdf solid;
border-radius: 0.25em;
max-width: 850px;
display: flex;
flex-wrap: nowrap;
background-color: #dcfbf3;
color: #030303;
}
</style>
2 changes: 2 additions & 0 deletions docs/explore/qrng/index.md
Original file line number Diff line number Diff line change
Expand Up @@ -13,6 +13,8 @@ tags:

<PageHeader/>

<QrngRemoval/>

<SearchHighlight/>

<FlexStartTag/>
Expand Down
2 changes: 2 additions & 0 deletions docs/guides/qrng/index.md
Original file line number Diff line number Diff line change
Expand Up @@ -12,6 +12,8 @@ tags:

<PageHeader/>

<QrngRemoval/>

<SearchHighlight/>

<FlexStartTag/>
Expand Down
2 changes: 2 additions & 0 deletions docs/guides/qrng/qrng-remix/index.md
Original file line number Diff line number Diff line change
Expand Up @@ -11,6 +11,8 @@ tags:

<PageHeader/>

<QrngRemoval/>

<SearchHighlight/>

<FlexStartTag/>
Expand Down
2 changes: 2 additions & 0 deletions docs/guides/qrng/youtube-demos/index.md
Original file line number Diff line number Diff line change
Expand Up @@ -10,6 +10,8 @@ tags:

<PageHeader/>

<QrngRemoval/>

<SearchHighlight/>

<FlexStartTag/>
Expand Down
Binary file added docs/public/img/blue-warning3.png
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Binary file added docs/public/img/infoCircle-24px.png
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
1 change: 1 addition & 0 deletions docs/reference/qrng/airnode-rrp-v0.md
Original file line number Diff line number Diff line change
Expand Up @@ -9,6 +9,7 @@ tags:
---

<PageHeader/>
<QrngRemoval/>

<SearchHighlight/>

Expand Down
2 changes: 2 additions & 0 deletions docs/reference/qrng/chains.md
Original file line number Diff line number Diff line change
Expand Up @@ -50,6 +50,8 @@ tags:

<PageHeader/>

<QrngRemoval/>

<SearchHighlight/>

<FlexStartTag/>
Expand Down
2 changes: 2 additions & 0 deletions docs/reference/qrng/index.md
Original file line number Diff line number Diff line change
Expand Up @@ -12,6 +12,8 @@ tags:

<PageHeader/>

<QrngRemoval/>

<SearchHighlight/>

<FlexStartTag/>
Expand Down
2 changes: 2 additions & 0 deletions docs/reference/qrng/providers.md
Original file line number Diff line number Diff line change
Expand Up @@ -10,6 +10,8 @@ tags:

<PageHeader/>

<QrngRemoval/>

<SearchHighlight/>

<FlexStartTag/>
Expand Down
2 changes: 2 additions & 0 deletions docs/reference/qrng/qrng-example.md
Original file line number Diff line number Diff line change
Expand Up @@ -10,6 +10,8 @@ tags:

<PageHeader/>

<QrngRemoval/>

<SearchHighlight/>

<FlexStartTag/>
Expand Down
2 changes: 2 additions & 0 deletions docs/reference/qrng/remix-example.md
Original file line number Diff line number Diff line change
Expand Up @@ -14,6 +14,8 @@ tags:

<PageHeader/>

<QrngRemoval/>

<SearchHighlight/>

<FlexStartTag/>
Expand Down

0 comments on commit b214706

Please sign in to comment.