Improve display
This commit is contained in:
parent
11cfe19650
commit
3d6037a56a
2 changed files with 2 additions and 4 deletions
|
@ -40,11 +40,9 @@ class App extends React.Component<{}, IAppState> {
|
|||
render() {
|
||||
return <div>
|
||||
<Container className="main">
|
||||
<Row sm={2}>
|
||||
<Row sm={2} md={3} className="g-4">
|
||||
{this.state.passages.map((ligne) => <Tcl key={ligne.ligne} ligne={ligne.ligne}
|
||||
delais={ligne.delais}/>)}
|
||||
</Row>
|
||||
<Row sm={2}>
|
||||
{this.state.stations.map((station) => <Velov key={station.info.station_id} info={station.info} status={station.status}/>)}
|
||||
</Row>
|
||||
<Row>
|
||||
|
|
|
@ -10,7 +10,7 @@ export default class Velov extends React.Component<IVelovStation> {
|
|||
return <Col>
|
||||
<Card>
|
||||
<Card.Header>
|
||||
<FontAwesomeIcon icon={faBiking}/> {this.props.info.name.toLowerCase()}
|
||||
<FontAwesomeIcon icon={faBiking}/> {this.props.info.name.toLowerCase().split(" - ")[1]}
|
||||
</Card.Header>
|
||||
<ListGroup variant="flush">
|
||||
<ListGroup.Item>
|
||||
|
|
Loading…
Reference in a new issue