| /* |
| * Copyright (c) 2018 StreamNative. All Rights Reserved. |
| * |
| * Licensed under the Apache License, Version 2.0 (the "License"); |
| * you may not use this file except in compliance with the License. |
| * You may obtain a copy of the License at |
| * |
| * http://www.apache.org/licenses/LICENSE-2.0 |
| * |
| * Unless required by applicable law or agreed to in writing, software |
| * distributed under the License is distributed on an "AS IS" BASIS, |
| * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. |
| * See the License for the specific language governing permissions and |
| * limitations under the License. |
| */ |
| import React, { Component } from 'react'; |
| import { Button, Card, CardBody, CardHeader, Col, Container, Jumbotron, Row } from 'reactstrap'; |
| |
| class Jumbotrons extends Component { |
| |
| render() { |
| return ( |
| <div className="animated fadeIn"> |
| <Row> |
| <Col> |
| <Card> |
| <CardHeader> |
| <i className="fa fa-align-justify"></i><strong>Jumbotron</strong> |
| <div className="card-header-actions"> |
| <a href="https://reactstrap.github.io/components/jumbotron/" rel="noreferrer noopener" target="_blank" className="card-header-action"> |
| <small className="text-muted">docs</small> |
| </a> |
| </div> |
| </CardHeader> |
| <CardBody> |
| <Jumbotron> |
| <h1 className="display-3">Hello, world!</h1> |
| <p className="lead">This is a simple hero unit, a simple Jumbotron-style component for calling extra |
| attention to featured content or information.</p> |
| <hr className="my-2" /> |
| <p>It uses utility classes for typgraphy and spacing to space content out within the larger container.</p> |
| <p className="lead"> |
| <Button color="primary">Learn More</Button> |
| </p> |
| </Jumbotron> |
| </CardBody> |
| </Card> |
| </Col> |
| <Col> |
| <Card> |
| <CardHeader> |
| <i className="fa fa-align-justify"></i><strong>Jumbotron</strong> |
| <small> fluid</small> |
| </CardHeader> |
| <CardBody> |
| <Jumbotron fluid> |
| <Container fluid> |
| <h1 className="display-3">Fluid jumbotron</h1> |
| <p className="lead">This is a modified jumbotron that occupies the entire horizontal space of its parent.</p> |
| </Container> |
| </Jumbotron> |
| </CardBody> |
| </Card> |
| </Col> |
| </Row> |
| </div> |
| ); |
| } |
| } |
| |
| export default Jumbotrons; |