Skip to content

Commit d7b6b7b

Browse files
migrate to LinkButton (#7286)
1 parent a9fced6 commit d7b6b7b

File tree

4 files changed

+4
-4
lines changed

4 files changed

+4
-4
lines changed

CONTRIBUTING.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -81,7 +81,7 @@ Buttons are simply... clickable buttons. They take `href` and `color` as argumen
8181
![Button MDX Component](images/mdx-button.png)
8282

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

8787
#### Cards

docs/activities/Building_An_Activity.mdx

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -107,7 +107,7 @@ By the end of Step 1, you should have:
107107

108108
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:
109109

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

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

docs/quick_start/Getting_Started.mdx

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -85,7 +85,7 @@ With that out of the way, open your new project in the code editor of your choic
8585

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

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

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

docs/tutorials/Developing_a_User_Installable_App.mdx

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -58,7 +58,7 @@ With that out of the way, open your new project in the code editor of your choic
5858

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

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

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

0 commit comments

Comments
 (0)