Skip to content

Commit

Permalink
Update React Tutorial (remove detect-metamask) (MetaMask#1299)
Browse files Browse the repository at this point in the history
* Initial changes to tutorial 1

* update 6963 text

* first draft of new tutorial MetaMask#1 using local state/one component

* final draft tutorial 1

* update to css

* update css

* Add select wallet functionality

* update conclusion of React tutorial with eip-6963 and final image

* remove connect to metamask button outdated image

* Add Error Handling, and final update of the tutorial text

* Final draft of Tutorial, code and images

* edit tutorial

* minor edits

* rearrange css instruction

* update tutorial image "final" and update url to image in markdown

* Test if the .[filename] trick will keep docusaurus from removing the page but not build in navigation.

* Change file name back.

* Build wallet sidebar for tutorials manually.

---------

Co-authored-by: Alexandra Tran <[email protected]>
  • Loading branch information
httpJunkie and alexandratran authored May 25, 2024
1 parent adf1dd4 commit 300340d
Show file tree
Hide file tree
Showing 4 changed files with 290 additions and 578 deletions.
7 changes: 6 additions & 1 deletion wallet-sidebar.js
Original file line number Diff line number Diff line change
Expand Up @@ -21,7 +21,12 @@ const sidebar = {
type: "category",
label: "Tutorials",
link: { type: "generated-index", slug: "/tutorials" },
items: [{ type: "autogenerated", dirName: "tutorials" }],
items: [
{
type: "doc",
id: "tutorials/react-dapp-local-state",
},
],
},
{
type: "category",
Expand Down
Binary file added wallet/assets/react-tutorial-01-final.png
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Binary file added wallet/assets/react-tutorial-01-start.png
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Loading

0 comments on commit 300340d

Please sign in to comment.