mirror of
https://github.com/jamiepine/voicebox.git
synced 2026-10-03 09:05:17 -07:00
redirect root to /docs
This commit is contained in:
@@ -1,16 +1,5 @@
|
|||||||
import Link from 'next/link';
|
import { redirect } from 'next/navigation';
|
||||||
|
|
||||||
export default function HomePage() {
|
export default function HomePage() {
|
||||||
return (
|
redirect('/docs');
|
||||||
<div className="flex flex-col justify-center text-center flex-1">
|
|
||||||
<h1 className="text-2xl font-bold mb-4">Hello World</h1>
|
|
||||||
<p>
|
|
||||||
You can open{' '}
|
|
||||||
<Link href="/docs" className="font-medium underline">
|
|
||||||
/docs
|
|
||||||
</Link>{' '}
|
|
||||||
and see the documentation.
|
|
||||||
</p>
|
|
||||||
</div>
|
|
||||||
);
|
|
||||||
}
|
}
|
||||||
|
|||||||
Reference in New Issue
Block a user