diff --git a/apps/website/next.config.js b/apps/website/next.config.js index c6635e113..86347ffb7 100644 --- a/apps/website/next.config.js +++ b/apps/website/next.config.js @@ -1,4 +1,3 @@ -import { fileURLToPath } from 'node:url'; import bundleAnalyzer from '@next/bundle-analyzer'; const withBundleAnalyzer = bundleAnalyzer({ @@ -23,6 +22,11 @@ export default withBundleAnalyzer({ destination: '/logo.svg', permanent: true, }, + { + source: '/guide/:path*', + destination: 'https://next.discordjs.guide/guide/:path*', + permanent: true, + }, ]; }, }); diff --git a/apps/website/src/app/page.tsx b/apps/website/src/app/page.tsx index cb3f30398..f076e3b96 100644 --- a/apps/website/src/app/page.tsx +++ b/apps/website/src/app/page.tsx @@ -3,19 +3,19 @@ import Image from 'next/image'; import Link from 'next/link'; import vercelLogo from '~/assets/powered-by-vercel.svg'; import { Banner } from '~/components/Banner'; -import { SyntaxHighlighter } from '~/components/SyntaxHighlighter'; -import { DESCRIPTION, CODE_EXAMPLE } from '~/util/constants'; +import { InstallButton } from '~/components/InstallButton'; +import { DESCRIPTION } from '~/util/constants'; export default function Page() { return (