Skip to content

Commit

Permalink
refactor: open graph fixes
Browse files Browse the repository at this point in the history
  • Loading branch information
iCrawl committed Sep 3, 2022
1 parent a7ad7e7 commit 0dc6844
Show file tree
Hide file tree
Showing 2 changed files with 8 additions and 2 deletions.
8 changes: 7 additions & 1 deletion packages/website/src/pages/_document.tsx
Expand Up @@ -22,10 +22,16 @@ export default class _Document extends Document {
<meta name="theme-color" content="#1a1b1e" />
<meta
name="description"
content="discord.js is a powerful Node.js module that allows you to interact with the Discord API very easily. It takes a much more object-oriented approach than most other JS Discord libraries, making your bot's code significantly tidier and easier to comprehend."
content="discord.js is a powerful node.js module that allows you to interact with the Discord API very easily. It takes a much more object-oriented approach than most other JS Discord libraries, making your bot's code significantly tidier and easier to comprehend."
/>
<meta property="og:site_name" content="discord.js" />
<meta property="og:title" content="discord.js" />
<meta
name="og:description"
content="discord.js is a powerful node.js module that allows you to interact with the Discord API very easily. It takes a much more object-oriented approach than most other JS Discord libraries, making your bot's code significantly tidier and easier to comprehend."
/>
<meta property="og:image" content="https://discordjs.dev/open-graph.png" />
<meta name="twitter:card" content="summary_large_image" />
</Head>
<body>
<Main />
Expand Down
2 changes: 1 addition & 1 deletion packages/website/src/pages/index.tsx
Expand Up @@ -70,7 +70,7 @@ export default function IndexRoute() {
The <span className={classes.highlight}>most popular</span> way to build Discord <br /> bots.
</Title>
<Text color="dimmed" mt="md">
discord.js is a powerful Node.js module that allows you to interact with the Discord API very easily. It
discord.js is a powerful node.js module that allows you to interact with the Discord API very easily. It
takes a much more object-oriented approach than most other JS Discord libraries, making your bot&apos;s code
significantly tidier and easier to comprehend.
</Text>
Expand Down

1 comment on commit 0dc6844

@vercel
Copy link

@vercel vercel bot commented on 0dc6844 Sep 3, 2022

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Please sign in to comment.