Skip to content

Commit 2697664

Browse files
authored
Instead of showing a tempory go here this is a docs. Just redirect the user to the docs section. (#30)
1 parent e179079 commit 2697664

1 file changed

Lines changed: 2 additions & 13 deletions

File tree

src/app/(home)/page.tsx

Lines changed: 2 additions & 13 deletions
Original file line numberDiff line numberDiff line change
@@ -1,16 +1,5 @@
1-
import Link from 'next/link';
1+
import { redirect } from 'next/navigation';
22

33
export default function HomePage() {
4-
return (
5-
<div className="flex flex-col justify-center text-center flex-1">
6-
<h1 className="text-2xl font-bold mb-4">Hello World</h1>
7-
<p>
8-
You can open{' '}
9-
<Link href="/docs" className="font-medium underline">
10-
/docs
11-
</Link>{' '}
12-
and see the documentation.
13-
</p>
14-
</div>
15-
);
4+
redirect('/docs');
165
}

0 commit comments

Comments
 (0)