Skip to content

Commit 0b023e5

Browse files
mariat189Mariat Sebastian
authored andcommitted
feat: add 'collaborate' redirect for the site. Closes #107
Signed-off-by: Mariat Sebastian <“[email protected]”>
1 parent 8c021ef commit 0b023e5

File tree

1 file changed

+15
-0
lines changed

1 file changed

+15
-0
lines changed

src/pages/collaborate.tsx

Lines changed: 15 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,15 @@
1+
import { useEffect } from 'react';
2+
import { useRouter } from 'next/router';
3+
4+
const Collaborate = () => {
5+
const router = useRouter();
6+
7+
useEffect(() => {
8+
window.location.href =
9+
'https://github.com/instructlab/community/blob/main/Collaboration.md';
10+
}, [router]);
11+
12+
return null;
13+
};
14+
15+
export default Collaborate;

0 commit comments

Comments
 (0)