Skip to content

Commit 8f0386a

Browse files
committed
Import reserved rockets
1 parent f34b216 commit 8f0386a

File tree

1 file changed

+30
-7
lines changed

1 file changed

+30
-7
lines changed

src/components/Profile.js

Lines changed: 30 additions & 7 deletions
Original file line numberDiff line numberDiff line change
@@ -1,36 +1,59 @@
1+
import React from 'react';
12
import Container from 'react-bootstrap/Container';
2-
import Row from 'react-bootstrap/Row';
33
import JoinedMissions from './JoinedMissions';
44
import ReservedRockets from './ReservedRockets';
55
import ReservedDragons from './ReservedDragons';
6+
import '../styles/Profile.css';
67

78
const ProfileComponent = () => (
89
<Container>
9-
<Row>
10-
<table>
10+
<div className="profile-table-container">
11+
<table className="profile-table">
1112
<thead>
1213
<tr>
1314
<th>My Missions</th>
14-
<th>My Rockets</th>
15-
<th>My Dragons</th>
1615
</tr>
1716
</thead>
1817
<tbody>
1918
<tr>
2019
<td>
2120
<JoinedMissions />
2221
</td>
22+
</tr>
23+
</tbody>
24+
</table>
25+
26+
<table className="profile-table">
27+
<thead>
28+
<tr>
29+
<th>My Rockets</th>
30+
</tr>
31+
</thead>
32+
<tbody>
33+
<tr>
2334
<td>
2435
<ReservedRockets />
2536
</td>
37+
</tr>
38+
</tbody>
39+
</table>
40+
41+
<table className="profile-table">
42+
<thead>
43+
<tr>
44+
<th>My Dragons</th>
45+
</tr>
46+
</thead>
47+
<tbody>
48+
<tr>
2649
<td>
2750
<ReservedDragons />
2851
</td>
2952
</tr>
3053
</tbody>
3154
</table>
32-
</Row>
33-
55+
</div>
3456
</Container>
3557
);
58+
3659
export default ProfileComponent;

0 commit comments

Comments
 (0)