Skip to content

Commit

Permalink
React Dapp Tutorial (MetaMask#724)
Browse files Browse the repository at this point in the history
* Check-in Part 1 of Dapp Tutorial

* Update name of project to remove "sdk" in project name

* Update verbiage of part one

* update comments

* add button to initial starting point

* Add starting point source code link to start branch.

* Add Error Handling for connection.

* update comments

* Update headings

* remove margin from .App in CSS

* Add images with text to accommodate

* update files and title

* Update  description

* update formatting

* Add title in markdown

* Add `utils/index.tsx`

* Add source code to branch of final app code after part 1

* Update wallet-sidebar with first tutorial

* update sidebar to category
replace all images with rounded corners
update title of react dapp to simple

* Add alt text for images

* edit tutorial

* fix footer link

---------

Co-authored-by: Alexandra Tran <[email protected]>
  • Loading branch information
httpJunkie and alexandratran authored Apr 26, 2023
1 parent 89e10f8 commit a492628
Show file tree
Hide file tree
Showing 15 changed files with 706 additions and 9 deletions.
2 changes: 1 addition & 1 deletion docusaurus.config.js
Original file line number Diff line number Diff line change
Expand Up @@ -243,7 +243,7 @@ const config = {
},
{
label: "Tutorials",
to: "/wallet/tutorials",
to: "/wallet/category/tutorials",
},
{
label: "Reference",
Expand Down
7 changes: 5 additions & 2 deletions wallet-sidebar.js
Original file line number Diff line number Diff line change
Expand Up @@ -96,9 +96,12 @@ const sidebar = {
],
},
{
type: "doc",
id: "tutorials/index",
type: "category",
label: "Tutorials",
link: { type: "generated-index" },
items: [
"tutorials/simple-react-dapp",
],
},
{
type: "category",
Expand Down
Binary file added wallet/assets/tutorials/dapp-tutorial/img-01.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/tutorials/dapp-tutorial/img-02.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/tutorials/dapp-tutorial/img-03.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/tutorials/dapp-tutorial/img-04.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/tutorials/dapp-tutorial/img-05.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/tutorials/dapp-tutorial/img-06.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/tutorials/dapp-tutorial/img-07.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/tutorials/dapp-tutorial/img-08.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/tutorials/dapp-tutorial/img-09.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/tutorials/dapp-tutorial/img-10.png
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
2 changes: 2 additions & 0 deletions wallet/get-started/set-up-dev-environment.md
Original file line number Diff line number Diff line change
Expand Up @@ -5,6 +5,8 @@ description: Set up a new simple dapp to integrate with MetaMask.
# Set up your development environment

You can easily set up a simple dapp to integrate with MetaMask.
For a full end-to-end tutorial using [Vite](https://v3.vitejs.dev/guide/), see the
[Create a simple React dapp](../tutorials/simple-react-dapp.md) tutorial.

## Prerequisites

Expand Down
6 changes: 0 additions & 6 deletions wallet/tutorials/index.md

This file was deleted.

Loading

0 comments on commit a492628

Please sign in to comment.