File tree Expand file tree Collapse file tree 2 files changed +9
-2
lines changed Expand file tree Collapse file tree 2 files changed +9
-2
lines changed Original file line number Diff line number Diff line change 1
1
import Head from "@docusaurus/Head" ;
2
2
import Link from "@docusaurus/Link" ;
3
3
import clsx from "clsx" ;
4
- import React from "react" ;
4
+ import React , { useEffect } from "react" ;
5
5
import { Fireworks } from "fireworks-js" ;
6
6
import { CommonFooter } from "@site/src/prepverse-theme/common-footer" ;
7
7
import { CommonHeader } from "@site/src/prepverse-theme/common-header" ;
@@ -13,6 +13,9 @@ import BackToTopButton from '@theme/BackToTopButton';
13
13
14
14
const About : React . FC = ( ) => {
15
15
const { colorMode } = useColorMode ( ) ;
16
+ useEffect ( ( ) => {
17
+ window . location . href = "https://prepverse.vercel.app/AkashSingh3031" ;
18
+ } , [ ] ) ;
16
19
17
20
return (
18
21
< >
Original file line number Diff line number Diff line change 1
1
import Head from "@docusaurus/Head" ;
2
2
import clsx from "clsx" ;
3
- import React from "react" ;
3
+ import React , { useEffect } from "react" ;
4
4
5
5
import { CommonLayout } from "../prepverse-theme/common-layout" ;
6
6
import { CommonHeader } from "../prepverse-theme/common-header" ;
@@ -13,12 +13,16 @@ import { useColorMode } from "@docusaurus/theme-common";
13
13
14
14
function Home ( ) {
15
15
const title = "PrepVerse | Comprehensive Computer Science Resources" ;
16
+ useEffect ( ( ) => {
17
+ window . location . href = "https://prepverse.vercel.app/" ;
18
+ } , [ ] ) ;
16
19
return (
17
20
< >
18
21
< Head >
19
22
< html data-active-page = "index" />
20
23
< title > { title } </ title >
21
24
< meta property = "og:title" content = { title } />
25
+ < link rel = "canonical" href = "https://prepverse.vercel.app" />
22
26
< link
23
27
rel = "preload"
24
28
href = "https://prepverse.vercel.app"
You can’t perform that action at this time.
0 commit comments