Skip to content

Commit

Permalink
add gamecard component
Browse files Browse the repository at this point in the history
  • Loading branch information
mariodev9 committed Sep 2, 2022
1 parent 21044f1 commit f410b43
Showing 1 changed file with 0 additions and 9 deletions.
9 changes: 0 additions & 9 deletions modules/shared/components/studySession/GameCard.tsx
Original file line number Diff line number Diff line change
@@ -1,8 +1,6 @@
import React, { useState } from "react";
import { Box, Text } from "@chakra-ui/react";
import { motion } from "framer-motion";
import Image from "next/image";
import icon from "@/public/favicon.ico";

interface CardSide {
image?: string;
Expand All @@ -14,13 +12,6 @@ interface GameCardPops {
sideB: CardSide;
}

const rotateFront = {
transform: "perspective(500px) rotateY(180deg)",
};
const rotateBack = {
transform: "perspective(500px) rotateY(360deg)",
};

export const GameCard: React.FC<GameCardPops> = ({ sideA, sideB }) => {
const [flip, setFlip] = useState(false);
const MotionBox = motion(Box);
Expand Down

0 comments on commit f410b43

Please sign in to comment.