diff options
| author | Fabian Mastenbroek <mail.fabianm@gmail.com> | 2020-10-29 00:53:52 +0100 |
|---|---|---|
| committer | Fabian Mastenbroek <mail.fabianm@gmail.com> | 2021-05-10 17:17:30 +0200 |
| commit | 6e6f14db8986f5de6491b51117de0e1b0438b341 (patch) | |
| tree | 7ee3fe59d5eaf03202fc0df4085ca9d4c7c280c0 /opendc-web/opendc-web-ui/src/components/home/TechnologiesSection.js | |
| parent | 4d4fb1bb19c045e78c74e57816ebee251e1d7d08 (diff) | |
ui: Adapt home components to Reactstrap
Diffstat (limited to 'opendc-web/opendc-web-ui/src/components/home/TechnologiesSection.js')
| -rw-r--r-- | opendc-web/opendc-web-ui/src/components/home/TechnologiesSection.js | 21 |
1 files changed, 11 insertions, 10 deletions
diff --git a/opendc-web/opendc-web-ui/src/components/home/TechnologiesSection.js b/opendc-web/opendc-web-ui/src/components/home/TechnologiesSection.js index c6013c71..efd77edf 100644 --- a/opendc-web/opendc-web-ui/src/components/home/TechnologiesSection.js +++ b/opendc-web/opendc-web-ui/src/components/home/TechnologiesSection.js @@ -1,39 +1,40 @@ import React from 'react' import FontAwesome from 'react-fontawesome' +import { ListGroup, ListGroupItem } from 'reactstrap' import ContentSection from './ContentSection' const TechnologiesSection = () => ( <ContentSection name="technologies" title="Technologies"> - <ul className="list-group text-left"> - <li className="d-flex list-group-item justify-content-between align-items-center list-group-item-primary"> + <ListGroup className="list-group text-left"> + <ListGroupItem color="primary" className="d-flex justify-content-between align-items-center"> <span style={{ minWidth: 100 }}> <FontAwesome name="window-maximize" className="mr-2" /> <strong className="">Browser</strong> </span> <span className="text-right">JavaScript, React, Redux, Konva</span> - </li> - <li className="d-flex list-group-item justify-content-between align-items-center list-group-item-warning"> + </ListGroupItem> + <ListGroupItem color="warning" className="d-flex justify-content-between align-items-center"> <span style={{ minWidth: 100 }}> <FontAwesome name="television" className="mr-2" /> <strong>Server</strong> </span> <span className="text-right">Python, Flask, FlaskSocketIO, OpenAPI</span> - </li> - <li className="d-flex list-group-item justify-content-between align-items-center list-group-item-success"> + </ListGroupItem> + <ListGroupItem color="success" className="d-flex justify-content-between align-items-center"> <span style={{ minWidth: 100 }}> <FontAwesome name="database" className="mr-2" /> <strong>Database</strong> </span> <span className="text-right">MongoDB</span> - </li> - <li className="d-flex list-group-item justify-content-between align-items-center list-group-item-danger"> + </ListGroupItem> + <ListGroupItem color="danger" className="d-flex justify-content-between align-items-center"> <span style={{ minWidth: 100 }}> <FontAwesome name="cogs" className="mr-2" /> <strong>Simulator</strong> </span> <span className="text-right">Kotlin</span> - </li> - </ul> + </ListGroupItem> + </ListGroup> </ContentSection> ) |
