Skip to content

Commit

Permalink
fix images and links
Browse files Browse the repository at this point in the history
  • Loading branch information
cfranceschi-ledger committed Jan 25, 2024
1 parent 2417928 commit b569dca
Show file tree
Hide file tree
Showing 3 changed files with 6 additions and 9 deletions.
9 changes: 3 additions & 6 deletions pages/docs/device-app/develop.mdx
Original file line number Diff line number Diff line change
Expand Up @@ -36,13 +36,10 @@ explanations.
/>
</Cards>

<br/>

<div style={{width: "100%"}} className="center desktop">
<div style={{position: "relative", paddingBottom: "56.25%", paddingTop: 0, height: "1000px"}}>
<div style={{width: "100%"}} className="center">
<div style={{position: "relative", paddingBottom: "56.25%", paddingTop: 0, height: 0}}>
<iframe title="Live App Structure" frameBorder="0" style={{position: "absolute", top: 0, left: 0, width: "100%", height: "100%"}} src="https://view.genial.ly/658d78ce93e6210015e72562" type="text/html" allowscriptaccess="always" allowFullScreen={true} scrolling="yes" allownetworking="all"></iframe>
</div>
</div>

<div className="mobile">
<iframe title="Ledger Dev Journey" frameBorder="0" style={{position: "absolute", left: "15px", width: "100%", height: "100%"}} src="https://view.genial.ly/658d78ce93e6210015e72562" type="text/html" allowscriptaccess="always" allowFullScreen={true} scrolling="yes" allownetworking="all"></iframe>
</div>
4 changes: 2 additions & 2 deletions pages/docs/device-app/develop/tutorials/plugin.mdx
Original file line number Diff line number Diff line change
Expand Up @@ -17,13 +17,13 @@ Let’s start with a high-level overview of what a plugin is, how it interacts w

If you’ve already interacted with any smart contract using a Ledger Device, then you’ve already seen this screen:

![Blind Signing](/blind-signing.png)
![Blind Signing](/plugin/blind-signing.png)

This is a UX disaster. The user has no guarantee of interacting with the right smart contract, nor of signing the correct data. The only user action is literally to blind-sign the transaction.

Display information is specific to each smart contract: so when swapping on a decentralised exchange, you probably want to see information such as “Swapping X ETH for Y DAI”. When depositing DAI on Aave, you need to see the amount in DAI. So, the information is specific to the smart contract.

![Plugin](/plugin.png)
![Plugin](/plugin/plugin.png)

Modifying the Ethereum App would not do because its size would quickly go out of control. Instead, the solution lies in a small and versatile parser of smart contract data, which works hand-in-hand with the Ethereum App and decides what to display for the best user experience.

Expand Down
2 changes: 1 addition & 1 deletion pages/docs/sections.mdx
Original file line number Diff line number Diff line change
Expand Up @@ -12,7 +12,7 @@ import { Card, Cards } from 'nextra/components'
image
arrow
title="EVMs plugins for Clear Signing"
href="/docs/plugin">
href="/docs/device-app/introduction/plugins">
<>![Cryptoassets Library](/defi-cover.jpg)</>
</Card>
<Card
Expand Down

0 comments on commit b569dca

Please sign in to comment.