summaryrefslogtreecommitdiffhomepage
path: root/src/components/Game.jsx
diff options
context:
space:
mode:
authorrealtradam <[email protected]>2024-06-06 19:24:45 -0400
committerrealtradam <[email protected]>2024-06-06 19:24:45 -0400
commit34346b1fd4fffd2571374f86b16084066dc4aa2d (patch)
tree1f147151e9b1eb9449394d5adb1827b04c4841c5 /src/components/Game.jsx
parent7a38eef00de0bb35565dda3ddb1efa748c22ea47 (diff)
downloadmalcz.com-34346b1fd4fffd2571374f86b16084066dc4aa2d.tar.gz
malcz.com-34346b1fd4fffd2571374f86b16084066dc4aa2d.zip
add seperate uploading page and update match backend functionality
Diffstat (limited to 'src/components/Game.jsx')
-rw-r--r--src/components/Game.jsx20
1 files changed, 0 insertions, 20 deletions
diff --git a/src/components/Game.jsx b/src/components/Game.jsx
deleted file mode 100644
index a7bd007..0000000
--- a/src/components/Game.jsx
+++ /dev/null
@@ -1,20 +0,0 @@
-import React, { useState, useEffect } from "react";
-import { useParams } from "react-router-dom";
-
-//<Route path="/game/:game" element={<Game />} />
-
-//export default () => (
-export default function Games () {
- let { user, game } = useParams();
-//http://%{VITE_API_TITLE}/api/v1/game/realtradam/orc-arena-of-time/index.html
- return(
- <>
- <div className="w-max flex grow shrink justify-center">
- <div className="w-max flex flex-col gap-16 max-w-6xl shrink grow">
- <div className="title font-bold text-6xl font-title">{game}</div>
- <iframe style={{ aspectRatio: 1 }} className="bg-black aspect-square max-h-[90vh] rounded" src={`${import.meta.env.VITE_API_TITLE}/game/realtradam/${game}/index.html`} title={game}></iframe>
- </div>
- </div>
- </>
- );
-};