summaryrefslogtreecommitdiffhomepage
path: root/app/javascript/components/Game.jsx
diff options
context:
space:
mode:
authorrealtradam <[email protected]>2024-05-22 14:59:24 -0400
committerrealtradam <[email protected]>2024-05-22 14:59:24 -0400
commit6cf41b4a5c55c91974e31ac032d969c7481b3e80 (patch)
treed0233a35a60f33f6d7115a26139fd6e61f96c15a /app/javascript/components/Game.jsx
parent3321db8f9c549103ebae46bf025a3135208a2e3b (diff)
downloadgameHolster-6cf41b4a5c55c91974e31ac032d969c7481b3e80.tar.gz
gameHolster-6cf41b4a5c55c91974e31ac032d969c7481b3e80.zip
extract frontend
Diffstat (limited to 'app/javascript/components/Game.jsx')
-rw-r--r--app/javascript/components/Game.jsx23
1 files changed, 0 insertions, 23 deletions
diff --git a/app/javascript/components/Game.jsx b/app/javascript/components/Game.jsx
deleted file mode 100644
index 8b80b8e..0000000
--- a/app/javascript/components/Game.jsx
+++ /dev/null
@@ -1,23 +0,0 @@
-import React, { useState, useEffect } from "react";
-import { useParams } from "react-router-dom";
-//import { Link } from "react-router-dom";
-import GameCard from "./GameCard";
-import Button from "./Button";
-
-//<Route path="/games/:user/:game" element={<Game />} />
-
-//export default () => (
-export default function Games () {
- let { user, game } = useParams();
-//http://localhost:3000/api/v1/game/realtradam/orc-arena-of-time/index.html
- return(
- <>
- <div>
- <div className="flex flex-col gap-16 max-w-6xl shrink">
- <div className="title font-bold text-6xl font-title">Orc: Arena of Time</div>
- <iframe style={{ aspectRatio: 1 }} className="bg-black aspect-square max-h-[90vh] rounded" src="http://localhost:3000/api/v1/game/realtradam/orc-arena-of-time/index.html" title={game}></iframe>
- </div>
- </div>
- </>
- );
-};