Skip to content

Commit

Permalink
redirect url
Browse files Browse the repository at this point in the history
  • Loading branch information
AkashSingh3031 committed Nov 7, 2024
1 parent 49543ee commit f61d824
Show file tree
Hide file tree
Showing 2 changed files with 9 additions and 2 deletions.
5 changes: 4 additions & 1 deletion documentation/src/pages/AkashSingh3031/index.tsx
Original file line number Diff line number Diff line change
@@ -1,7 +1,7 @@
import Head from "@docusaurus/Head";
import Link from "@docusaurus/Link";
import clsx from "clsx";
import React from "react";
import React, { useEffect } from "react";
import { Fireworks } from "fireworks-js";
import { CommonFooter } from "@site/src/prepverse-theme/common-footer";
import { CommonHeader } from "@site/src/prepverse-theme/common-header";
Expand All @@ -13,6 +13,9 @@ import BackToTopButton from '@theme/BackToTopButton';

const About: React.FC = () => {
const { colorMode } = useColorMode();
useEffect(() => {
window.location.href = "https://prepverse.vercel.app/AkashSingh3031";
}, []);

return (
<>
Expand Down
6 changes: 5 additions & 1 deletion documentation/src/pages/index.tsx
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
import Head from "@docusaurus/Head";
import clsx from "clsx";
import React from "react";
import React, { useEffect } from "react";

import { CommonLayout } from "../prepverse-theme/common-layout";
import { CommonHeader } from "../prepverse-theme/common-header";
Expand All @@ -13,12 +13,16 @@ import { useColorMode } from "@docusaurus/theme-common";

function Home() {
const title = "PrepVerse | Comprehensive Computer Science Resources";
useEffect(() => {
window.location.href = "https://prepverse.vercel.app/";
}, []);
return (
<>
<Head>
<html data-active-page="index" />
<title>{title}</title>
<meta property="og:title" content={title} />
<link rel="canonical" href="https://prepverse.vercel.app" />
<link
rel="preload"
href="https://prepverse.vercel.app"
Expand Down

0 comments on commit f61d824

Please sign in to comment.