Skip to content

Commit

Permalink
fix images
Browse files Browse the repository at this point in the history
  • Loading branch information
LukassF committed Jul 29, 2024
1 parent 6c51361 commit 6d1f265
Show file tree
Hide file tree
Showing 3 changed files with 13 additions and 5 deletions.
9 changes: 8 additions & 1 deletion sdk/apps/docs/docs/movement/connect.md
Original file line number Diff line number Diff line change
Expand Up @@ -63,7 +63,14 @@ const adapter = await NightlyConnectAptosAdapter.build(
// persistent: false - Add this if you want to make the session non-persistent
}
// { initOnConnect: true, disableModal: true, disableEagerConnect: true } - You may specify the connection options object here
// document.getElementById("modalAnchor") - You can pass an optional anchor element for the modal here
// document.getElementById("modalAnchor") , - You can pass an optional anchor element for the modal here
{
networkDataOverride: { // it is used to change the metadata of the NC Modal's network tab
name: 'Movement',
icon: 'https://registry.nightly.app/networks/movement.svg'
}

}
)

// Trigger connection
Expand Down
4 changes: 2 additions & 2 deletions sdk/apps/docs/docs/start.md
Original file line number Diff line number Diff line change
Expand Up @@ -17,11 +17,11 @@ slug: /start
Substrate
</a>
<a href="/docs/aptos/aptos/start" class="card">
<img src="https://aptosfoundation.org/brandbook/logomark/PNG/Aptos_mark_WHT.png"/>
<img src="https://registry.nightly.app/networks/aptos.png"/>
Aptos
</a>
<a href="./movement/movement/start" class="card">
<img src="https://img.cryptorank.io/coins/movement_labs1694616517738.png"/>
<img src="https://registry.nightly.app/networks/movement.svg"/>
Movement M1
</a>
</div>
5 changes: 3 additions & 2 deletions sdk/apps/docs/src/css/custom.css
Original file line number Diff line number Diff line change
Expand Up @@ -102,6 +102,7 @@ img[src*='#connectImage'] {
transition: background-position 250ms;
}
.card > img {
border-radius: 50%;
width: 80px;
}
.card:hover {
Expand Down Expand Up @@ -159,7 +160,7 @@ img[src*='#connectImage'] {
}

.movement-dropdown > div::before {
background-image: url('https://img.cryptorank.io/coins/movement_labs1694616517738.png');
background-image: url('https://registry.nightly.app/networks/movement.svg');
}

.highlight-template {
Expand Down Expand Up @@ -206,7 +207,7 @@ img[src*='#connectImage'] {
}

.movement_navlink::before {
background-image: url('https://img.cryptorank.io/coins/movement_labs1694616517738.png');
background-image: url('https://registry.nightly.app/networks/movement.svg');
}

@media screen and (max-width: 996px) {
Expand Down

0 comments on commit 6d1f265

Please sign in to comment.