From 80d64e04441ced7caecd238ae232e749d8e0dddf Mon Sep 17 00:00:00 2001 From: realtradam Date: Tue, 21 May 2024 23:32:53 -0400 Subject: initial setup of seperating frontend --- src/components/GameCard.jsx | 26 ++++++++++++++++++++++++++ 1 file changed, 26 insertions(+) create mode 100644 src/components/GameCard.jsx (limited to 'src/components/GameCard.jsx') diff --git a/src/components/GameCard.jsx b/src/components/GameCard.jsx new file mode 100644 index 0000000..9cd815d --- /dev/null +++ b/src/components/GameCard.jsx @@ -0,0 +1,26 @@ +import React from "react"; +//import { Link } from "react-router-dom"; + +//game = { +// card_img: "", +// char_img: "", +// title_img: "" +//} + +export default function GameCard ({ link = "./", width = "72", game = { card_img: "https://ggayane.github.io/css-experiments/cards/dark_rider-cover.jpg", char_img: "https://ggayane.github.io/css-experiments/cards/dark_rider-character.png", title_img: "https://ggayane.github.io/css-experiments/cards/dark_rider-title.png" } }) +{ + + return ( + <> + +
+
+ +
+ + +
+
+ + ) +}; -- cgit v1.2.3