generated 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 #46 from Arquisoft/LaraFMz
Cambios en Front-end + docu
- Loading branch information
Showing
5 changed files
with
63 additions
and
8 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.
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,39 @@ | ||
|
||
|
||
.button { | ||
|
||
padding: 20px 20px 20px 20px ; /* espacio entre borde y el texto dentro del boton */ | ||
border: 2px solid black; /* Color del borde */ | ||
font-weight: bold; | ||
border-radius: 5px; /* Borde redondeado */ | ||
background-color: #613FBB; /* Color de fondo */ | ||
margin-bottom: 10px; | ||
margin-left:-48px; | ||
width: 500px; /* Ajusta el valor según el ancho deseado */ | ||
} | ||
|
||
#boton1{ | ||
background-color: #E14E4E; /* Color de fondo */ | ||
} | ||
|
||
#boton2{ | ||
background-color: #E1CB4E; /* Color de fondo */ | ||
} | ||
|
||
#boton3{ | ||
background-color: #4EE15E; /* Color de fondo */ | ||
} | ||
|
||
#boton4{ | ||
background-color: #4E8DE1; /* Color de fondo */ | ||
} | ||
|
||
body h2 { | ||
color: white; | ||
font-family: 'Verdana'; | ||
text-align: center; /* Centra el texto */ | ||
|
||
} | ||
|
||
|
||
|
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 |
---|---|---|
@@ -1,20 +1,27 @@ | ||
// src/components/Login.js | ||
import React, { useState } from 'react'; | ||
import axios from 'axios'; | ||
import '../Estilos/juego.css'; | ||
import { Container, Typography, TextField, Button, Snackbar } from '@mui/material'; | ||
|
||
const Juego = ({isLogged}) => { | ||
|
||
const botonRespuesta = (event) => { | ||
//comprobara si la respuesta es correcta o no | ||
} | ||
|
||
const Juego = ({isLogged}) => { | ||
return ( | ||
<Container component="main" maxWidth="xs" sx={{ marginTop: 4 }}> | ||
<h2> PREGUNTA </h2> | ||
<div> RESP 1</div> | ||
<div> RESP 2</div> | ||
<div> RESP 3</div> | ||
<div> RESP 4</div> | ||
<div class="button-container"> | ||
<button id="boton1" class="button" onclick={botonRespuesta}>RESPUESTA PRUEBA PARA VER CUANTO OCUPA 1</button> | ||
<button id="boton2" class="button" onclick={botonRespuesta}>RESPUESTA PRUEBA PARA VER UNA RESPUESTA LARGA</button> | ||
<button id="boton3" class="button" onclick={botonRespuesta}>RESPUESTA PRUEBA JEJE</button> | ||
<button id="boton4" class="button" onclick={botonRespuesta}>RESPUESTA PRUEBA PARA VER QUE TAL</button> | ||
</div> | ||
</Container> | ||
); | ||
}; | ||
|
||
|
||
|
||
export default Juego; |
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