Skip to content

Commit

Permalink
docs(PremiumThemes): add Creative Tim themes (#1779)
Browse files Browse the repository at this point in the history
* docs(PremiumThemes): add more themes and target blank on external links

* style(): run style command
  • Loading branch information
einazare committed Jan 31, 2020
1 parent bd1b1f2 commit f3ac417
Showing 1 changed file with 90 additions and 1 deletion.
91 changes: 90 additions & 1 deletion docs/lib/PremiumThemes/index.js
@@ -1,6 +1,57 @@
import React from 'react';
import { Card, Button, CardBody, CardHeader, Container, Row, Col, Jumbotron } from 'reactstrap';

const creativeTimProducts = [
{
productTitle: "Now UI Kit PRO with Reactstrap",
productTagline: "Premium Kit Template for Bootstrap 4 and Reactstrap",
productImageLink: "https://raw.githubusercontent.com/creativetimofficial/public-assets/master/now-ui-kit-pro-react/opt_nukp_react_thumbnail.jpg",
productURL: "https://www.creative-tim.com/product/now-ui-kit-pro-react"
},
{
productTitle: "Now UI Dashboard PRO with Reactstrap",
productTagline: "Premium Reactstrap (Bootstrap 4) Admin Template",
productImageLink: "https://raw.githubusercontent.com/creativetimofficial/public-assets/master/now-ui-dashboard-pro-react/now-ui-dashboard-pro-react.jpg",
productURL: "https://www.creative-tim.com/product/now-ui-dashboard-pro-react"
},
{
productTitle: "Argon Design System with Reactstrap",
productTagline: "Free Design System for Bootstrap 4 and Reactstrap",
productImageLink: "https://raw.githubusercontent.com/creativetimofficial/public-assets/master/argon-design-system-react/argon-design-system-react.jpg",
productURL: "https://www.creative-tim.com/product/argon-design-system-react"
},
{
productTitle: "Argon Dashboard PRO with Reactstrap",
productTagline: "Premium Reactstrap (Bootstrap 4) Admin Template",
productImageLink: "https://raw.githubusercontent.com/creativetimofficial/public-assets/master/argon-dashboard-pro-react/argon-dashboard-pro-react.jpg",
productURL: "https://www.creative-tim.com/product/argon-dashboard-pro-react"
},
{
productTitle: "Paper Kit PRO with Reactstrap",
productTagline: "Premium Kit Template for Bootstrap 4 and Reactstrap",
productImageLink: "https://raw.githubusercontent.com/creativetimofficial/public-assets/master/paper-kit-pro-react/opt_pkp_react_thumbnail.jpg",
productURL: "https://www.creative-tim.com/product/paper-kit-pro-react"
},
{
productTitle: "Paper Dashboard PRO with Reactstrap",
productTagline: "Premium Reactstrap (Bootstrap 4) Admin Template",
productImageLink: "https://raw.githubusercontent.com/creativetimofficial/public-assets/master/paper-dashboard-2-pro-react/opt_pdp_react.jpg",
productURL: "https://www.creative-tim.com/product/paper-dashboard-pro-react"
},
{
productTitle: "BLK• Design System PRO with Reactstrap",
productTagline: "Premium Design System for Bootstrap 4 and Reactstrap",
productImageLink: "https://raw.githubusercontent.com/creativetimofficial/public-assets/master/blk-design-system-pro-react/blk-design-system-pro-react.jpg",
productURL: "https://www.creative-tim.com/product/blk-design-system-pro-react"
},
{
productTitle: "Black Dashboard PRO with Reactstrap",
productTagline: "Premium Reactstrap (Bootstrap 4) Admin Template",
productImageLink: "https://raw.githubusercontent.com/creativetimofficial/public-assets/master/black-dashboard-pro-react/black-dashboard-pro-react.jpg",
productURL: "https://www.creative-tim.com/product/black-dashboard-pro-react"
}
];

export default () => {
return (
<div>
Expand Down Expand Up @@ -45,11 +96,49 @@ export default () => {
</Col>
</Row>
<div className="text-center mt-5">
<Button tag="a" size="lg" href="https://uifort.com" color="primary">
<Button tag="a" size="lg" href="https://uifort.com" color="primary" target="_blank">
See more themes from UiFort
</Button>
</div>
</Container>
<Container>
<h2 className="font-weight-bold">
Creative Tim
</h2>
<p className="mb-4">Check out some examples that our partners from Creative Tim created using the Reactstrap components library.</p>
<Row>
{
creativeTimProducts.map((prop,key) => {
return (
<Col md="6" key={key} className="mt-3 mb-3">
<Card>
<CardHeader className="p-3">
<h5 className="m-0 font-weight-bold">
<a href={prop.productURL + "?ref=reactstrap.github.io"} target="_blank" title="View details">
{prop.productTitle}
</a>
</h5>
<p className="mb-0 mt-1 text-muted">
{prop.productTagline}
</p>
</CardHeader>
<CardBody className="p-3">
<a href={prop.productURL + "?ref=reactstrap.github.io"} target="_blank" title="View details">
<img className="rounded img-fluid" src={prop.productImageLink} alt=""/>
</a>
</CardBody>
</Card>
</Col>
);
})
}
</Row>
<div className="text-center mt-5">
<Button tag="a" size="lg" href="https://www.creative-tim.com" color="primary" target="_blank">
See more themes from Creative Tim
</Button>
</div>
</Container>
</div>
);
};

0 comments on commit f3ac417

Please sign in to comment.