Skip to content

Commit

Permalink
update cadence banner
Browse files Browse the repository at this point in the history
  • Loading branch information
nialexsan committed Feb 8, 2024
1 parent 96443f5 commit 601a230
Show file tree
Hide file tree
Showing 2 changed files with 6 additions and 8 deletions.
4 changes: 2 additions & 2 deletions docs/build/guides/account-linking/index.md
Original file line number Diff line number Diff line change
Expand Up @@ -44,7 +44,7 @@ These two steps are implemented in Cadence as two transactions:

The account B creates and publishes the `AuthAccount` capability to the account A at the address `0x01`

```json
```cadence
#allowAccountLinking
transaction {
Expand All @@ -59,7 +59,7 @@ transaction {

The account A claims the capability published by account B.

```json
```cadence
transaction {
prepare(signer: AuthAccount) {
let capability = signer.inbox.claim<&AuthAccount>("accountCapB", provider: 0x2)!
Expand Down
10 changes: 4 additions & 6 deletions docusaurus.config.js
Original file line number Diff line number Diff line change
Expand Up @@ -239,12 +239,10 @@ const config = {
({
announcementBar: {
id: 'support_us',
content: `⚠ Upgrade to Cadence 1.0<br />
The Crescendo network upgrade, including Cadence 1.0, is coming soon.
You most likely need to update all your contracts/transactions/scripts to support this change.<br />
Please visit our migration guide here:
<a href="https://cadence-lang.org/docs/cadence-migration-guide">https://cadence-lang.org/docs/cadence-migration-guide</a>`,
backgroundColor: '#F27360',
content: `🔧 Upgrade to Cadence 1.0 🔧<br />
The highly anticipated <a href="https://flow.com/upgrade/crescendo">Crescendo</a> network upgrade is coming soon with 20+ new <a href="https://flow.com/upgrade/cadence-1">Cadence 1.0</a> features and <a href="https://flow.com/upgrade/evm">EVM</a> equivalence.
`,
backgroundColor: '#007BFF',
textColor: '#FFFFFF',
isCloseable: true,
},
Expand Down

0 comments on commit 601a230

Please sign in to comment.