correction pour la demo 🚑
continuous-integration/drone/push Build is passing Details

pull/104/head
Pierre Ferreira 1 year ago
parent f319283234
commit 3a11370afc

@ -67,8 +67,9 @@ const PlayerList: React.FC<PlayerListProps> = ({ players, playerTouched, setPlay
borderRadius: "10px", borderRadius: "10px",
border: "solid 1px", border: "solid 1px",
textAlign: "center", textAlign: "center",
color: "white",
padding: "10px"}} padding: "10px"}}
onClick={() => askEveryone()}>Guess !</button> onClick={() => askEveryone()}>Ask everyone</button>
): ):
( (
<button style={{ <button style={{
@ -77,6 +78,7 @@ const PlayerList: React.FC<PlayerListProps> = ({ players, playerTouched, setPlay
borderRadius: "10px", borderRadius: "10px",
border: "solid 1px", border: "solid 1px",
textAlign: "center", textAlign: "center",
color: "white",
padding: "10px"}} padding: "10px"}}
onClick={() => askEveryone()}>Ask everyone</button> onClick={() => askEveryone()}>Ask everyone</button>
) )

@ -20,7 +20,8 @@ import Oeye from "../res/icon/eye.png";
import Ceye from "../res/icon/hidden.png"; import Ceye from "../res/icon/hidden.png";
import ImgBot from "../res/img/bot.png"; import ImgBot from "../res/img/bot.png";
import ava from "../res/img/tuto/tuto-ava.png"; import detective from "../res/img/tuto/tuto-detective.jpg";
import ava from "../res/img/tuto/tuto-ava2.png";
import indicetxt from "../res/img/tuto/tuto-indiceTxt.png" import indicetxt from "../res/img/tuto/tuto-indiceTxt.png"
import rep from "../res/img/tuto/tuto-rep.png"; import rep from "../res/img/tuto/tuto-rep.png";
import joueurs from "../res/img/tuto/tuto-joueurs.png"; import joueurs from "../res/img/tuto/tuto-joueurs.png";
@ -426,7 +427,7 @@ const Tutorial = ({locale, changeLocale}) => {
{step === -1 && ( {step === -1 && (
<Card style={{ width: '90%', display:'flex', justifyContent:'center', alignItems:'center', flexDirection:'column'}}> <Card style={{ width: '90%', display:'flex', justifyContent:'center', alignItems:'center', flexDirection:'column'}}>
<Card.Img variant="top" src={ava} style={{width:'300px', height:'300px'}}/> <Card.Img variant="top" src={detective} style={{width:'300px', height:'300px'}}/>
<Card.Body> <Card.Body>
<Card.Title> Bienvenue dans SocialGraph</Card.Title> <Card.Title> Bienvenue dans SocialGraph</Card.Title>
<Card.Text> <Card.Text>
@ -448,7 +449,7 @@ const Tutorial = ({locale, changeLocale}) => {
<Card.Text> <Card.Text>
Voici comment est représenté un suspect, chaque suspect possède différentes caractéristiques, que ce soit leur nom, âge, sport et leur couleur de cheveux. Voici comment est représenté un suspect, chaque suspect possède différentes caractéristiques, que ce soit leur nom, âge, sport et leur couleur de cheveux.
<br /> <br />
Par exemple, ici, nous avons <b>Ava</b>, qui a <b>40 ans</b>, qui pratique du <b>Basket</b> et du <b>Tennis</b>, qui a les cheveux <b>Roux</b> et qui possède <b>2 amis</b>. Par exemple, ici, nous avons <b>Ava</b>, qui a <b>40 ans</b>, qui pratique du <b>Basket</b> et du <b>Tennis</b>, qui a les cheveux <b>Roux</b> et qui possède <b>2 amis</b> : Carter et Liam.
</Card.Text> </Card.Text>
</Card.Body> </Card.Body>
</Card> </Card>
@ -470,7 +471,7 @@ const Tutorial = ({locale, changeLocale}) => {
{step === 3 && ( {step === 3 && (
<Card style={{ width: '90%', display:'flex', justifyContent:'center', alignItems:'center', flexDirection:'column'}}> <Card style={{ width: '90%', display:'flex', justifyContent:'center', alignItems:'center', flexDirection:'column'}}>
<Card.Img variant="top" src={joueurs} style={{width:'300px', height:'300px'}}/> <Card.Img variant="top" src={joueurs} style={{width:'auto', height:'300px'}}/>
<Card.Body> <Card.Body>
<Card.Title>Les Détectives</Card.Title> <Card.Title>Les Détectives</Card.Title>
<Card.Text> <Card.Text>
@ -541,7 +542,7 @@ const Tutorial = ({locale, changeLocale}) => {
<Card.Body> <Card.Body>
<Card.Title>L'indice</Card.Title> <Card.Title>L'indice</Card.Title>
<Card.Text> <Card.Text>
Ce bouton vous permet d'afficher votre indice personnel, gradez le secret ! Il s'agit de votre meilleur atout pour gagner. Ce bouton vous permet d'afficher votre indice personnel, gardez le secret ! Il s'agit de votre meilleur atout pour gagner.
</Card.Text> </Card.Text>
</Card.Body> </Card.Body>
</Card> </Card>
@ -570,10 +571,7 @@ const Tutorial = ({locale, changeLocale}) => {
<div style={{ width:'100%', display:'flex', justifyContent:'start'}}> <div style={{ width:'100%', display:'flex', justifyContent:'start'}}>
<label style={{ color:'gray'}}>Étape {step+1}/7</label> <label style={{ color:'gray'}}>Étape {step+1}/7</label>
</div> </div>
{/* <Button variant="secondary" onClick={handleCloseM}> { step != -1 && (<Button variant="primary" onClick={() => setStep(step - 1)}>Précédent</Button>)}
Fermer
</Button> */}
{ step != 0 && (<Button variant="primary" onClick={() => setStep(step - 1)}>Précédent</Button>)}
{ step === 6 ? (<Button variant="primary" onClick={handleCloseM}>Poursuivre</Button>) : { step === 6 ? (<Button variant="primary" onClick={handleCloseM}>Poursuivre</Button>) :
<Button variant="primary" onClick={() => setStep(step + 1)}>Suivant</Button>} <Button variant="primary" onClick={() => setStep(step + 1)}>Suivant</Button>}
@ -593,7 +591,7 @@ const Tutorial = ({locale, changeLocale}) => {
<Modal.Body style={{ display:'flex', justifyContent:'center', alignItems:'center', flexDirection:'column'}}> <Modal.Body style={{ display:'flex', justifyContent:'center', alignItems:'center', flexDirection:'column'}}>
<Card style={{ width: '100%', display:'flex', justifyContent:'center', alignItems:'center', flexDirection:'column'}}> <Card style={{ width: '100%', display:'flex', justifyContent:'center', alignItems:'center', flexDirection:'column'}}>
<Card.Img variant="top" src={step1} style={{width:'300px', height:'auto'}}/> <Card.Img variant="top" src={step1} style={{width:'auto', height:'300px'}}/>
<Card.Body> <Card.Body>
<Card.Title>Premier pas</Card.Title> <Card.Title>Premier pas</Card.Title>
<Card.Text> <Card.Text>

Binary file not shown.

After

Width:  |  Height:  |  Size: 15 KiB

Binary file not shown.

After

Width:  |  Height:  |  Size: 189 KiB

Binary file not shown.

Before

Width:  |  Height:  |  Size: 22 KiB

After

Width:  |  Height:  |  Size: 34 KiB

Binary file not shown.

Before

Width:  |  Height:  |  Size: 16 KiB

After

Width:  |  Height:  |  Size: 14 KiB

Binary file not shown.

Before

Width:  |  Height:  |  Size: 16 KiB

After

Width:  |  Height:  |  Size: 14 KiB

Loading…
Cancel
Save