File size: 2,577 Bytes
1e92f2d
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
import React from 'react';
import { Col, Row, Tab } from 'react-bootstrap';
// import { FontAwesomeIcon } from '@fortawesome/react-fontawesome';
// import { faCheckCircle } from '@fortawesome/free-solid-svg-icons';
import Fade from 'react-reveal/Fade';

const PricingCard = ({data, id}) => {
    return (
        <Tab.Pane eventKey={id + 1}>
            <Row>
                {
                    data.map(({title, name, price}, index) => {
                        return(
                            <Col md={4} key={index}>
                                <Fade bottom duration={1800} distance='40px'>
                                    <div className={`pricingCard pricingCard${id + 1}`}>
                                        <div className="pricingBox">
                                            <h4>{title}</h4>
                                            <p className="pricePlan">
                                                <span className={`ph${id + 1}`}>${price}/</span>month
                                            </p>
                                            <h5>{name}</h5>
                                            <p className="planDescription">Pellentesque nibh. Aenean quam. In scelerisque sem at dolor. Maecenas mattis. Sed convallis tristique sem.</p>
                                        </div>
                                        <li>
                                            <span className="checkIcon">
                                            {/* <FontAwesomeIcon icon={faCheckCircle}/> */}
                                            </span> UI/UX Design.
                                        </li>
                                        <li>
                                            <span className="checkIcon">
                                            {/* <FontAwesomeIcon icon={faCheckCircle}/> */}
                                            </span> Related statistics.
                                        </li>
                                        <li>
                                            <span className="checkIcon">
                                            {/* <FontAwesomeIcon icon={faCheckCircle}/> */}
                                            </span> Business Analysis.
                                        </li>
                                    </div>
                                </Fade>
                            </Col>
                        )
                    })
                }
            </Row>
        </Tab.Pane>
    );
};

export default PricingCard;