forked from Arquisoft/wiq_0
-
Notifications
You must be signed in to change notification settings - Fork 0
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Merge pull request #60 from Arquisoft/pablo
Implementacion contador preguntas y cambios CSS
- Loading branch information
Showing
7 changed files
with
98 additions
and
15 deletions.
There are no files selected for viewing
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.
Oops, something went wrong.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,19 @@ | ||
button[title="sigPreg"] { | ||
margin: 1em; | ||
margin-left: 2em; | ||
background-color: rgba(31, 60, 134, 0.764); | ||
} | ||
|
||
button[title="contador"]:disabled{ | ||
margin: 1em; | ||
background-color: rgba(31, 60, 134, 0.764); | ||
color: white; | ||
} | ||
|
||
button[title="btnsPreg"]{ | ||
margin: 0.5em; | ||
padding-top: 0.2em; | ||
padding-bottom: 0.2em; | ||
background-color: rgba(41, 120, 152, 0.764); | ||
} | ||
|
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,33 @@ | ||
// Juego.js | ||
import React from 'react'; | ||
import { Button, Typography, Container, Paper } from '@mui/material'; | ||
|
||
function Juego() { | ||
return ( | ||
<Container maxWidth="md" style={{ marginTop: '2rem' }}> | ||
<Paper elevation={3} style={{ padding: '2rem', textAlign: 'center' }}> | ||
<Typography variant="h4" gutterBottom> | ||
Saber y Ganar Juego | ||
</Typography> | ||
<Typography variant="body1" paragraph> | ||
Pregunta: ¿Cuál es la capital de Francia? | ||
</Typography> | ||
{/* Botones de opción */} | ||
<Button variant="outlined" style={{ margin: '0.5rem' }}> | ||
Opción A | ||
</Button> | ||
<Button variant="outlined" style={{ margin: '0.5rem' }}> | ||
Opción B | ||
</Button> | ||
<Button variant="outlined" style={{ margin: '0.5rem' }}> | ||
Opción C | ||
</Button> | ||
<Button variant="outlined" style={{ margin: '0.5rem' }}> | ||
Opción D | ||
</Button> | ||
</Paper> | ||
</Container> | ||
); | ||
} | ||
|
||
export default Juego; |