diff --git a/packages/website/src/components/SidebarLayout.tsx b/packages/website/src/components/SidebarLayout.tsx
index 5acef0f86..ed750e945 100644
--- a/packages/website/src/components/SidebarLayout.tsx
+++ b/packages/website/src/components/SidebarLayout.tsx
@@ -17,10 +17,11 @@ import {
Menu,
ActionIcon,
useMantineColorScheme,
- Center,
Stack,
Skeleton,
LoadingOverlay,
+ Container,
+ Title,
} from '@mantine/core';
import { NextLink } from '@mantine/next';
import type { MDXRemoteSerializeResult } from 'next-mdx-remote';
@@ -314,21 +315,60 @@ export function SidebarLayout({
paddingLeft: 24,
},
})}
- pt={70}
+ pt={50}
>
-
-
-
-
-
-
-
+
+
+
+
+
+
+
+
+
+ Community
+
+
+
+ Discord
+
+
+
+
+ GitHub discussions
+
+
+
+
+
+ Project
+
+
+
+ discord.js
+
+
+
+
+ discord.js guide
+
+
+
+
+ discord-api-types
+
+
+
+
+
+
+
diff --git a/packages/website/src/pages/docs/[...slug].tsx b/packages/website/src/pages/docs/[...slug].tsx
index 858d4ebdf..dbae04ba8 100644
--- a/packages/website/src/pages/docs/[...slug].tsx
+++ b/packages/website/src/pages/docs/[...slug].tsx
@@ -1,7 +1,7 @@
import { readFile } from 'node:fs/promises';
import { join } from 'node:path';
import { cwd } from 'node:process';
-import { Affix, Box, Button, LoadingOverlay, Transition } from '@mantine/core';
+import { ActionIcon, Affix, Box, LoadingOverlay, Transition } from '@mantine/core';
import { useMediaQuery, useWindowScroll } from '@mantine/hooks';
import { ApiFunction, ApiItemKind, type ApiPackage } from '@microsoft/api-extractor-model';
import { MDXRemote } from 'next-mdx-remote';
@@ -255,9 +255,15 @@ export default function SlugPage(props: Partial
200}>
{(transitionStyles) => (
- } style={transitionStyles} onClick={() => scrollTo({ y: 0 })}>
- Scroll to top
-
+ scrollTo({ y: 0 })}
+ >
+
+
)}