Skip to content

Commit

Permalink
minor changes applied
Browse files Browse the repository at this point in the history
  • Loading branch information
donatomartin committed Apr 30, 2024
1 parent 697c125 commit 2f89329
Show file tree
Hide file tree
Showing 6 changed files with 64 additions and 67 deletions.
4 changes: 2 additions & 2 deletions cyt-utils/package-lock.json

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

14 changes: 14 additions & 0 deletions jordi/groups.json
Original file line number Diff line number Diff line change
Expand Up @@ -118,5 +118,19 @@
"geography",
"politics"
]
},
{
"groupId": "religion",
"questionItem": "Q6256",
"answer": "P140",
"statements": [
"The religion of <QuestionItem> is...",
"What is the religion of <QuestionItem>",
"Select the religion of <QuestionItem>"
],
"categories": [
"religion",
"geography"
]
}
]
Binary file modified webapp/src/media/border.png
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
1 change: 1 addition & 0 deletions webapp/src/media/coin.min.svg
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
106 changes: 44 additions & 62 deletions webapp/src/media/coin.svg
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
6 changes: 3 additions & 3 deletions webapp/src/views/Game.jsx
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
import ProtectedComponent from "./components/ProtectedComponent";
import {Box, Button, Container, LinearProgress, Paper, Typography} from "@mui/material";
import coinImage from "../media/coin.svg";
import coinImage from "../media/coin.min.svg";
import imgFondoBtn from "../media/border.png";
import axios from "axios";
import {useContext, useEffect, useRef, useState} from "react";
Expand Down Expand Up @@ -43,7 +43,7 @@ const Points = ({points}) => {
}

const Title = ({question,special}) => {
const color = special ? "red" : "black";
const color = special ? "#ff0000" : "black";
return (
<Paper elevation={3} sx={{ padding: "1rem" }}>
<Typography variant="h4" style={{color}}>{question.statement}</Typography>
Expand Down Expand Up @@ -209,7 +209,7 @@ const Game = () => {
setCorrect(correct + 1)
}
setTotalTime((initialTime - time) + totalTime)
changeButtonColor(iCorrect, "green")
changeButtonColor(iCorrect, "#00cf00")

setTimeout(() => {
setTime(initialTime)
Expand Down

0 comments on commit 2f89329

Please sign in to comment.