-
Notifications
You must be signed in to change notification settings - Fork 169
Add UI Builder link #617
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Add UI Builder link #617
Changes from all commits
File filter
Filter by extension
Conversations
Jump to
Diff view
Diff view
There are no files selected for viewing
Original file line number | Diff line number | Diff line change |
---|---|---|
|
@@ -93,11 +93,31 @@ | |
>. | ||
</div> | ||
</div> | ||
<div class="nav"> | ||
<a class="switch switch-solidity active" href="/"><img src="/icons/solidity.svg" alt="solidity">Solidity</a> | ||
<a class="switch switch-cairo" href="/cairo"><img src="/icons/cairo.svg" alt="cairo">Cairo</a> | ||
<a class="switch switch-stellar" href="/stellar"><img src="/icons/stellar.svg" alt="stellar">Stellar</a> | ||
<a class="switch switch-stylus" href="/stylus"><img src="/icons/stylus.svg" alt="stylus">Stylus</a> | ||
<div class="nav-row flex flex-row items-center justify-between"> | ||
<div class="nav nav-switches flex flex-row"> | ||
<a class="switch switch-solidity active" href="/"><img src="/icons/solidity.svg" alt="solidity">Solidity</a> | ||
<a class="switch switch-cairo" href="/cairo"><img src="/icons/cairo.svg" alt="cairo">Cairo</a> | ||
<a class="switch switch-stellar" href="/stellar"><img src="/icons/stellar.svg" alt="stellar">Stellar</a> | ||
<a class="switch switch-stylus" href="/stylus"><img src="/icons/stylus.svg" alt="stylus">Stylus</a> | ||
</div> | ||
|
||
<div class="flex flex-row gap-2"> | ||
<div class="text-sm text-gray-600 leading-tight text-right"> | ||
<div>After deploying a contract, use the new</div> | ||
<div>Contracts UI Builder to spin up a quick UI</div> | ||
</div> | ||
|
||
<div class="flex items-center"> | ||
<img src="/icons/arrow-right.svg" alt="arrow-right" class="arrow-gray"> | ||
</div> | ||
|
||
<div class="flex items-center"> | ||
<a href="http://builder.openzeppelin.com" target="_blank" rel="noopener noreferrer" class="bg-[#3d3b5d] text-white px-4 py-2 rounded-full text-sm font-medium flex items-center gap-2 hover:bg-[#4a4872] transition-colors no-underline whitespace-nowrap"> | ||
There was a problem hiding this comment. Choose a reason for hiding this commentThe reason will be displayed to describe this comment to others. Learn more. @pasevin would be interesting to pass the network in the URL (would save 1 step in the builder and directly be at contract step) There was a problem hiding this comment. Choose a reason for hiding this commentThe reason will be displayed to describe this comment to others. Learn more. With the Solidity Wizard, we don't know which EVM network the user is using. This would only be applicable for cases where the language and network is 1-1. |
||
<span>Try the UI Builder</span> | ||
<img src="/icons/up-right-from-square.svg" alt="up-right-from-square" class="arrow-white"> | ||
</a> | ||
</div> | ||
</div> | ||
</div> | ||
<div class="wizard-container"> | ||
<oz-wizard class="wizard" data-sync-url="fragment"></oz-wizard> | ||
|
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
nit: "spin up a quick UI" is a bit unclear to me what the "UI builder" would do, maybe keywords like "transaction" "contract interaction" would be clearer
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
This directs the user's attention, and the actual text in https://builder.openzeppelin.com/ provides more context.