redirect root to /docs

This commit is contained in:
James Pine
2026-03-16 04:06:38 -07:00
parent 1860b8dc92
commit a180fcc56f
+2 -13
View File
@@ -1,16 +1,5 @@
import Link from 'next/link';
import { redirect } from 'next/navigation';
export default function HomePage() {
return (
<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>
);
redirect('/docs');
}