Skip to content

Commit

Permalink
Fix components imports and usage
Browse files Browse the repository at this point in the history
  • Loading branch information
abefernan committed Jan 8, 2025
1 parent 955cc25 commit 6d586bf
Show file tree
Hide file tree
Showing 8 changed files with 23 additions and 23 deletions.
8 changes: 4 additions & 4 deletions src/pages/cw-multi-test/addresses.mdx
Original file line number Diff line number Diff line change
Expand Up @@ -2,7 +2,7 @@
tags: ["multitest", "addresses"]
---

import { Cards, Card } from "nextra/components";
import { Cards } from "nextra/components";

# Addresses

Expand All @@ -11,7 +11,7 @@ The following chapters provide useful explanations of how addresses are managed
Click on any of the cards below to learn more about each address category.

<Cards>
<Card title="User address" href="addresses/user-address" icon="" children="" />
<Card title="Contract address" href="addresses/contract-address" icon="" children="" />
<Card title="Validator address" href="addresses/validator-address" icon="" children="" />
<Cards.Card title="User address" href="addresses/user-address" icon="" children="" />
<Cards.Card title="Contract address" href="addresses/contract-address" icon="" children="" />
<Cards.Card title="Validator address" href="addresses/validator-address" icon="" children="" />
</Cards>
6 changes: 3 additions & 3 deletions src/pages/cw-multi-test/getting-started.mdx
Original file line number Diff line number Diff line change
Expand Up @@ -2,7 +2,7 @@
tags: ["multitest", "getting started"]
---

import { Cards, Card } from "nextra/components";
import { Cards } from "nextra/components";

# Getting started

Expand All @@ -19,6 +19,6 @@ pure CosmWasm libraries and the other using the Sylvia framework. The functional
**counter** smart contract is the same in both versions.

<Cards>
<Card title="Counter" href="getting-started/counter" icon="" children="" />
<Card title="Writing tests" href="getting-started/writing-tests" icon="" children="" />
<Cards.Card title="Counter" href="getting-started/counter" icon="" children="" />
<Cards.Card title="Writing tests" href="getting-started/writing-tests" icon="" children="" />
</Cards>
6 changes: 3 additions & 3 deletions src/pages/cw-multi-test/getting-started/counter.mdx
Original file line number Diff line number Diff line change
Expand Up @@ -2,7 +2,7 @@
tags: ["multitest", "getting started", "counter"]
---

import { Callout, Cards, Card } from "nextra/components";
import { Callout, Cards } from "nextra/components";

# Counter

Expand Down Expand Up @@ -132,13 +132,13 @@ contract.
</Callout>

<Cards>
<Card
<Cards.Card
title="Counter smart contract written using pure CosmWasm libraries"
href="counter/counter-cosmwasm"
icon=""
children=""
/>
<Card
<Cards.Card
title="Counter smart contract written using Sylvia framework"
href="counter/counter-sylvia"
icon=""
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -2,7 +2,7 @@
tags: ["multitest", "getting started", "counter", "CosmWasm"]
---

import { Card, Cards } from "nextra/components";
import { Cards } from "nextra/components";

# Counter written in CosmWasm

Expand Down Expand Up @@ -477,8 +477,8 @@ Having the **counter** smart contract prepared, you can begin writing tests usin
or you might want to check the Sylvia version of the **counter** smart contract first.

<Cards>
<Card title="Writing tests" href="../writing-tests" icon="" children="" />
<Card
<Cards.Card title="Writing tests" href="../writing-tests" icon="" children="" />
<Cards.Card
title="Counter written using the Sylvia framework"
href="counter-sylvia"
icon=""
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -2,7 +2,7 @@
tags: ["multitest", "getting started", "counter", "Sylvia"]
---

import { Callout, Card, Cards } from "nextra/components";
import { Callout, Cards } from "nextra/components";

# Counter written in Sylvia

Expand Down Expand Up @@ -453,8 +453,8 @@ Having the **counter** smart contract prepared, you can begin writing tests usin
or you might want to check the pure CosmWasm version of the **counter** smart contract first.

<Cards>
<Card title="Writing tests" href="../writing-tests" icon="" children="" />
<Card
<Cards.Card title="Writing tests" href="../writing-tests" icon="" children="" />
<Cards.Card
title="Counter written using pure CosmWasm library"
href="counter-cosmwasm"
icon=""
Expand Down
6 changes: 3 additions & 3 deletions src/pages/cw-multi-test/getting-started/writing-tests.mdx
Original file line number Diff line number Diff line change
Expand Up @@ -2,7 +2,7 @@
tags: ["multitest", "getting started", "writing tests"]
---

import { Callout, Cards, Card } from "nextra/components";
import { Callout, Cards } from "nextra/components";

# Writing tests

Expand Down Expand Up @@ -377,13 +377,13 @@ Choose the card below to start testing the **counter** smart contract written us
libraries or the Sylvia framework.

<Cards>
<Card
<Cards.Card
title="Writing tests for counter smart contract written using pure CosmWasm libraries"
href="writing-tests/writing-tests-cosmwasm"
icon=""
children=""
/>
<Card
<Cards.Card
title="Writing tests for counter smart contract written using the Sylvia framework"
href="writing-tests/writing-tests-sylvia"
icon=""
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -2,7 +2,7 @@
tags: ["multitest", "getting started", "tests", "CosmWasm"]
---

import { Callout, Card, Cards, Steps } from "nextra/components";
import { Callout, Cards, Steps } from "nextra/components";

[cargo-nextest]: https://nexte.st
[cw-multi-test]: https://crates.io/crates/cw-multi-test
Expand Down Expand Up @@ -1387,7 +1387,7 @@ write tests for a smart contract built with the Sylvia framework to experience t
between these two approaches.

<Cards>
<Card
<Cards.Card
title="Writing tests for counter smart contract written using the Sylvia framework"
href="writing-tests-sylvia"
icon=""
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -2,7 +2,7 @@
tags: ["multitest", "getting started", "tests", "Sylvia"]
---

import { Callout, Card, Cards, Steps } from "nextra/components";
import { Callout, Cards, Steps } from "nextra/components";

[cargo-nextest]: https://nexte.st

Expand Down Expand Up @@ -1153,7 +1153,7 @@ write tests for a smart contract built using pure CosmWasm libraries to experien
between these two approaches.

<Cards>
<Card
<Cards.Card
title="Writing tests for counter smart contract written using pure CosmWasm libraries"
href="writing-tests/writing-tests-cosmwasm"
icon=""
Expand Down

0 comments on commit 6d586bf

Please sign in to comment.