Skip to content

armgit / vaul

Public Imported from GitHub
0

A drawer component for React.

Add (#451)

Emil Kowalskie541725315ed
diff --git a/website/next.config.js b/website/next.config.js
index 658404a..588b93d 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 59298e9..4e23111 100644
--- a/website/src/app/components/hero.tsx
+++ b/website/src/app/components/hero.tsx
@@ -158,6 +158,14 @@ export function Hero() {
</a>
</div>
</div>
+ <div className="flex justify-center">
+ <a
+ href="/getting-started"
+ className="text-gray-600 text-center mt-4 underline hover:text-gray-900 transition-colors text-sm"
+ >
+ Documentation
+ </a>
+ </div>
</div>
);
}