Skip to content

Commit

Permalink
migrate to LinkButton (#7286)
Browse files Browse the repository at this point in the history
  • Loading branch information
JustinBeckwith authored Nov 25, 2024
1 parent a9fced6 commit d7b6b7b
Show file tree
Hide file tree
Showing 4 changed files with 4 additions and 4 deletions.
2 changes: 1 addition & 1 deletion CONTRIBUTING.md
Original file line number Diff line number Diff line change
Expand Up @@ -81,7 +81,7 @@ Buttons are simply... clickable buttons. They take `href` and `color` as argumen
![Button MDX Component](images/mdx-button.png)

```markdown
<Button href="https://discord.com/developers/docs/getting-started" color="brand">click the button!</Button>
<LinkButton to="https://discord.com/developers/docs/getting-started" color="brand">click the button!</LinkButton>
```

#### Cards
Expand Down
2 changes: 1 addition & 1 deletion docs/activities/Building_An_Activity.mdx
Original file line number Diff line number Diff line change
Expand Up @@ -107,7 +107,7 @@ By the end of Step 1, you should have:

With our project set up, let's create our app and configure the Activity. Create a new app in the developer portal if you don't have one already:

<Button href="https://discord.com/developers/applications?new_application=true" color="brand">Create App</Button>
<LinkButton to="https://discord.com/developers/applications?new_application=true" color="brand">Create App</LinkButton>

Enter a name for your app, select a development team, then press **Create**.

Expand Down
2 changes: 1 addition & 1 deletion docs/quick_start/Getting_Started.mdx
Original file line number Diff line number Diff line change
Expand Up @@ -85,7 +85,7 @@ With that out of the way, open your new project in the code editor of your choic

First, you'll need to create an app in the developer portal if you don't have one already:

<Button href="https://discord.com/developers/applications?new_application=true" color="brand">Create App</Button>
<LinkButton to="https://discord.com/developers/applications?new_application=true" color="brand">Create App</LinkButton>

Enter a name for your app, then press **Create**.

Expand Down
2 changes: 1 addition & 1 deletion docs/tutorials/Developing_a_User_Installable_App.mdx
Original file line number Diff line number Diff line change
Expand Up @@ -58,7 +58,7 @@ With that out of the way, open your new project in the code editor of your choic

First, you'll need to create an app in the developer portal if you don't have one already:

<Button href="https://discord.com/developers/applications?new_application=true" color="brand">Create App</Button>
<LinkButton to="https://discord.com/developers/applications?new_application=true" color="brand">Create App</LinkButton>

Enter a name for your app, then press **Create**.

Expand Down

0 comments on commit d7b6b7b

Please sign in to comment.