Download argon-dashboard-react/src/components/Headers/Header.js from Devendra174/react-code-dataset: direct link, hf CLI and curl.
- Browser
- Download file 6.04 kB
-
https://huggingface.co/datasets/Devendra174/react-code-dataset/resolve/f5071caa249115f3b590492f1c8eb471e02aae4b/argon-dashboard-react/src/components/Headers/Header.js
- Command line
-
hf download hf://datasets/Devendra174/react-code-dataset@f5071caa249115f3b590492f1c8eb471e02aae4b/argon-dashboard-react/src/components/Headers/Header.js
-
curl -L -o Header.js https://huggingface.co/datasets/Devendra174/react-code-dataset/resolve/f5071caa249115f3b590492f1c8eb471e02aae4b/argon-dashboard-react/src/components/Headers/Header.js
6.04 kB
| /*! | |
| ========================================================= | |
| * Argon Dashboard React - v1.2.4 | |
| ========================================================= | |
| * Product Page: https://www.creative-tim.com/product/argon-dashboard-react | |
| * Copyright 2024 Creative Tim (https://www.creative-tim.com) | |
| * Licensed under MIT (https://github.com/creativetimofficial/argon-dashboard-react/blob/master/LICENSE.md) | |
| * Coded by Creative Tim | |
| ========================================================= | |
| * The above copyright notice and this permission notice shall be included in all copies or substantial portions of the Software. | |
| */ | |
| // reactstrap components | |
| import { Card, CardBody, CardTitle, Container, Row, Col } from "reactstrap"; | |
| const Header = () => { | |
| return ( | |
| <> | |
| <div className="header bg-gradient-info pb-8 pt-5 pt-md-8"> | |
| <Container fluid> | |
| <div className="header-body"> | |
| {/* Card stats */} | |
| <Row> | |
| <Col lg="6" xl="3"> | |
| <Card className="card-stats mb-4 mb-xl-0"> | |
| <CardBody> | |
| <Row> | |
| <div className="col"> | |
| <CardTitle | |
| tag="h5" | |
| className="text-uppercase text-muted mb-0" | |
| > | |
| Traffic | |
| </CardTitle> | |
| <span className="h2 font-weight-bold mb-0"> | |
| 350,897 | |
| </span> | |
| </div> | |
| <Col className="col-auto"> | |
| <div className="icon icon-shape bg-danger text-white rounded-circle shadow"> | |
| <i className="fas fa-chart-bar" /> | |
| </div> | |
| </Col> | |
| </Row> | |
| <p className="mt-3 mb-0 text-muted text-sm"> | |
| <span className="text-success mr-2"> | |
| <i className="fa fa-arrow-up" /> 3.48% | |
| </span>{" "} | |
| <span className="text-nowrap">Since last month</span> | |
| </p> | |
| </CardBody> | |
| </Card> | |
| </Col> | |
| <Col lg="6" xl="3"> | |
| <Card className="card-stats mb-4 mb-xl-0"> | |
| <CardBody> | |
| <Row> | |
| <div className="col"> | |
| <CardTitle | |
| tag="h5" | |
| className="text-uppercase text-muted mb-0" | |
| > | |
| New users | |
| </CardTitle> | |
| <span className="h2 font-weight-bold mb-0">2,356</span> | |
| </div> | |
| <Col className="col-auto"> | |
| <div className="icon icon-shape bg-warning text-white rounded-circle shadow"> | |
| <i className="fas fa-chart-pie" /> | |
| </div> | |
| </Col> | |
| </Row> | |
| <p className="mt-3 mb-0 text-muted text-sm"> | |
| <span className="text-danger mr-2"> | |
| <i className="fas fa-arrow-down" /> 3.48% | |
| </span>{" "} | |
| <span className="text-nowrap">Since last week</span> | |
| </p> | |
| </CardBody> | |
| </Card> | |
| </Col> | |
| <Col lg="6" xl="3"> | |
| <Card className="card-stats mb-4 mb-xl-0"> | |
| <CardBody> | |
| <Row> | |
| <div className="col"> | |
| <CardTitle | |
| tag="h5" | |
| className="text-uppercase text-muted mb-0" | |
| > | |
| Sales | |
| </CardTitle> | |
| <span className="h2 font-weight-bold mb-0">924</span> | |
| </div> | |
| <Col className="col-auto"> | |
| <div className="icon icon-shape bg-yellow text-white rounded-circle shadow"> | |
| <i className="fas fa-users" /> | |
| </div> | |
| </Col> | |
| </Row> | |
| <p className="mt-3 mb-0 text-muted text-sm"> | |
| <span className="text-warning mr-2"> | |
| <i className="fas fa-arrow-down" /> 1.10% | |
| </span>{" "} | |
| <span className="text-nowrap">Since yesterday</span> | |
| </p> | |
| </CardBody> | |
| </Card> | |
| </Col> | |
| <Col lg="6" xl="3"> | |
| <Card className="card-stats mb-4 mb-xl-0"> | |
| <CardBody> | |
| <Row> | |
| <div className="col"> | |
| <CardTitle | |
| tag="h5" | |
| className="text-uppercase text-muted mb-0" | |
| > | |
| Performance | |
| </CardTitle> | |
| <span className="h2 font-weight-bold mb-0">49,65%</span> | |
| </div> | |
| <Col className="col-auto"> | |
| <div className="icon icon-shape bg-info text-white rounded-circle shadow"> | |
| <i className="fas fa-percent" /> | |
| </div> | |
| </Col> | |
| </Row> | |
| <p className="mt-3 mb-0 text-muted text-sm"> | |
| <span className="text-success mr-2"> | |
| <i className="fas fa-arrow-up" /> 12% | |
| </span>{" "} | |
| <span className="text-nowrap">Since last month</span> | |
| </p> | |
| </CardBody> | |
| </Card> | |
| </Col> | |
| </Row> | |
| </div> | |
| </Container> | |
| </div> | |
| </> | |
| ); | |
| }; | |
| export default Header; | |