Skip to content

Commit

Permalink
2d world added
Browse files Browse the repository at this point in the history
  • Loading branch information
adarshnjena committed Feb 25, 2023
1 parent dc40680 commit 620c465
Showing 1 changed file with 10 additions and 0 deletions.
10 changes: 10 additions & 0 deletions 3D_webApp/pages/index.js
Original file line number Diff line number Diff line change
Expand Up @@ -2,9 +2,11 @@
import styles from "../styles/Home.module.css";
import Auth from "../components/auth";
import { useRef } from "react";
import { useRouter } from "next/router";

export default function Home() {
const pointerRef = useRef();
const router = useRouter();
return (
<body
onMouseMove={(e) => {
Expand All @@ -17,6 +19,14 @@ export default function Home() {
<div className={styles.center}>
<div className={styles.thirteen}>Z-Space</div>
</div>
<div
className={styles.center}
onClick={() => {
router.push("http://zspace2d.vercel.app");
}}
>
<div className={styles.thirteen}>Z-Space 2D</div>
</div>
</div>
<Auth />
</main>
Expand Down

2 comments on commit 620c465

@vercel
Copy link

@vercel vercel bot commented on 620c465 Feb 25, 2023

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Successfully deployed to the following URLs:

z-space-2d – ./2D_webApp

z-space-2d-git-main-adarshnjena.vercel.app
zspace2d.vercel.app
z-space-2d-adarshnjena.vercel.app

@vercel
Copy link

@vercel vercel bot commented on 620c465 Feb 25, 2023

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Successfully deployed to the following URLs:

z-space – ./3D_webApp

z-space-git-main-adarshnjena.vercel.app
zspace.vercel.app
z-space-adarshnjena.vercel.app

Please sign in to comment.