Skip to content

Commit 3505d83

Browse files
authored
Merge pull request #225 from mariat189/Fix-collaborate-redirect
feat: add "collaborate" redirect for the site
2 parents 5627788 + 0b023e5 commit 3505d83

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)