Skip to content

Commit

Permalink
Merge pull request #556 from onflow/nialexsan/updated-cadence-banner
Browse files Browse the repository at this point in the history
update cadence banner
  • Loading branch information
nialexsan authored Feb 8, 2024
2 parents 96443f5 + a4fc38b commit 003ab65
Show file tree
Hide file tree
Showing 2 changed files with 7 additions and 9 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
12 changes: 5 additions & 7 deletions docusaurus.config.js
Original file line number Diff line number Diff line change
Expand Up @@ -238,13 +238,11 @@ const config = {
/** @type {import('@docusaurus/preset-classic').ThemeConfig} */
({
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',
id: 'stable_cadence_upgrade',
content: `🔧 Upgrade to Cadence 1.0 🔧<br />
The highly anticipated <a href="https://flow.com/upgrade/crescendo" target="_blank">Crescendo</a> network upgrade is coming soon with 20+ new <a href="https://flow.com/upgrade/cadence-1" target="_blank">Cadence 1.0</a> features and <a href="https://flow.com/upgrade/evm" target="_blank">EVM</a> equivalence.
`,
backgroundColor: '#007BFF',
textColor: '#FFFFFF',
isCloseable: true,
},
Expand Down

0 comments on commit 003ab65

Please sign in to comment.