diff --git a/documentation/docusaurus.config.js b/documentation/docusaurus.config.js index a478bb9..5c199a4 100644 --- a/documentation/docusaurus.config.js +++ b/documentation/docusaurus.config.js @@ -17,7 +17,7 @@ const katex = require('rehype-katex'); const siteConfig = { title: "PrepVerse", tagline: "Computer Science Preparation", - url: "https://prepverse.github.io", + url: "https://prepverse.vercel.app", baseUrl: "/", projectName: "prepverse", organizationName: "PrepVerse", diff --git a/documentation/src/pages/CodeVerse/index.tsx b/documentation/src/pages/CodeVerse/index.tsx index 2cf5a0b..5df37de 100644 --- a/documentation/src/pages/CodeVerse/index.tsx +++ b/documentation/src/pages/CodeVerse/index.tsx @@ -1,5 +1,5 @@ import clsx from "clsx"; -import React, { SVGProps } from "react"; +import React, { useEffect, SVGProps } from "react"; import Head from "@docusaurus/Head"; import { CommonHeader } from "@site/src/prepverse-theme/common-header"; import { CommonLayout } from "@site/src/prepverse-theme/common-layout"; @@ -59,12 +59,16 @@ const Templates: React.FC = () => { }; }); }; + useEffect(() => { + window.location.href = "https://prepverse.vercel.app/CodeVerse"; + }, []); return ( <> {title} + (null); + useEffect(() => { + window.location.href = "https://prepverse.vercel.app/showcase"; + }, []); return ( - -
- - -
+ + + + +
- + + +
+ +
+ + {/* */}
- - {/* */} -
- - - + + + + ); }