Skip to content
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

migrate to LinkButton #7286

Merged
merged 1 commit into from
Nov 25, 2024
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
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