From e541725315ed7707c713cef965627ba4348f8b9e Mon Sep 17 00:00:00 2001 From: Emil Kowalski <36730035+emilkowalski@users.noreply.github.com> Date: Thu, 26 Sep 2024 00:00:03 +0200 Subject: [PATCH] Add (#451) * Add * Add docs link --- website/next.config.js | 11 ++++++++++- website/src/app/components/hero.tsx | 8 ++++++++ 2 files changed, 18 insertions(+), 1 deletion(-) diff --git a/website/next.config.js b/website/next.config.js index 658404ac..588b93d3 100644 --- a/website/next.config.js +++ b/website/next.config.js @@ -1,4 +1,13 @@ /** @type {import('next').NextConfig} */ -const nextConfig = {}; +const nextConfig = { + async rewrites() { + return [ + { + source: '/:path*', + destination: 'https://vaul-docs.vercel.app/:path*', + }, + ]; + }, +}; module.exports = nextConfig; diff --git a/website/src/app/components/hero.tsx b/website/src/app/components/hero.tsx index 59298e9a..4e231115 100644 --- a/website/src/app/components/hero.tsx +++ b/website/src/app/components/hero.tsx @@ -158,6 +158,14 @@ export function Hero() { +
); }