Skip to content

Commit

Permalink
Add (#451)
Browse files Browse the repository at this point in the history
* Add

* Add docs link
  • Loading branch information
emilkowalski authored Sep 25, 2024
1 parent c002644 commit e541725
Show file tree
Hide file tree
Showing 2 changed files with 18 additions and 1 deletion.
11 changes: 10 additions & 1 deletion website/next.config.js
Original file line number Diff line number Diff line change
@@ -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;
8 changes: 8 additions & 0 deletions website/src/app/components/hero.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -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>
);
}

0 comments on commit e541725

Please sign in to comment.