-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathratings.js
84 lines (82 loc) · 2.66 KB
/
ratings.js
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
import React from "react";
import { Row, Col, Alert } from "react-bootstrap";
import CardFlipComponent from "./CardFlip";
const RatingsComponent = (props) => {
return (
<>
<Alert variant={"success"}>
<Row>
<Col className="fullName">Ratings</Col>
<Col className="totalGame">
{" "}
<span> {props.bulletRating} </span> |{" "}
<span>{props.blitzRating} </span> | <span>{props.rapidRating}</span>
</Col>
</Row>
</Alert>
<Alert variant={"dark"}>
<div className="d-flex bd-highlight example-parent">
<div className="p-2 flex-fill bd-highlight col-example">
<CardFlipComponent
gameName="Bullet"
gameRating={props.bulletRating}
/>
</div>
<div className="p-2 flex-fill bd-highlight col-example">
<CardFlipComponent
gameName="Blitz"
gameRating={props.blitzRating}
/>
</div>
<div className="p-2 flex-fill bd-highlight col-example">
<CardFlipComponent
gameName="Rapid"
gameRating={props.rapidRating}
/>
</div>
</div>
<div className="d-flex bd-highlight example-parent">
<div className="p-2 flex-fill bd-highlight col-example">
<CardFlipComponent
gameName="Classical"
gameRating={props.classicalRating}
/>
</div>
<div className="p-2 flex-fill bd-highlight col-example">
<CardFlipComponent
gameName="Chess960"
gameRating={props.chess960Rating}
/>
</div>
<div className="p-2 flex-fill bd-highlight col-example">
<CardFlipComponent
gameName="AntiChess"
gameRating={props.antichessRating}
/>
</div>
</div>
<div className="d-flex bd-highlight example-parent">
<div className="p-2 flex-fill bd-highlight col-example">
<CardFlipComponent
gameName="3Check"
gameRating={props.checkRating}
/>
</div>
<div className="p-2 flex-fill bd-highlight col-example">
<CardFlipComponent
gameName="Atomic"
gameRating={props.atomicRating}
/>
</div>
<div className="p-2 flex-fill bd-highlight col-example">
<CardFlipComponent
gameName="Horde"
gameRating={props.hordeRating}
/>
</div>
</div>
</Alert>
</>
);
};
export default RatingsComponent;