diff --git a/pages/github.js b/pages/github.js new file mode 100644 index 0000000..8d47bd2 --- /dev/null +++ b/pages/github.js @@ -0,0 +1,9 @@ +import { useRouter } from "next/router"; +import { useEffect } from "react"; +export default function Github() { + const page = useRouter(); + useEffect(() => { + page.push("http://github.com/night0721"); + }, []); + return () => null; +}