|
1 | 1 | import React from 'react'; |
2 | 2 | import { Row, Col } from 'reactstrap'; |
3 | 3 | import Santa from '../../assets/images/home/santa.png'; |
| 4 | +import SantaMob from '../../assets/images/home/santa_mb.png'; |
| 5 | +import ContactUsBtn from '../../assets/images/home/contact_us_btn.png'; |
| 6 | +import ContactUsBtnMob from '../../assets/images/home/contact_us_btn_mb.png'; |
4 | 7 | import Media from 'react-media'; |
5 | 8 |
|
| 9 | +const TagLines = () => { |
| 10 | + return ( |
| 11 | + <Row className="justify-content-center"> |
| 12 | + <Col> |
| 13 | + <p className="text-center disruption-margin"> |
| 14 | + Disruption is not the future, it is the present. In an ever evolving technological landscape, it is |
| 15 | + <br/> |
| 16 | + imperative for innovation to win over the mundane, and that's exactly what we aim to achieve. |
| 17 | + </p> |
| 18 | + </Col> |
| 19 | + </Row> |
| 20 | + ) |
| 21 | +}; |
| 22 | + |
6 | 23 | const HomePageBanner = () => { |
7 | 24 | return ( |
8 | 25 | <Media query="(max-width: 500px)"> |
9 | 26 | {matches => |
10 | 27 | matches ? ( |
11 | 28 | <section className="bg-light-gray justify-content-center"> |
12 | 29 | <div className="banner-wrapper-mb"> |
13 | | - <h2 className="font-weight-bold text-white"> |
| 30 | + <h2 className="banner-heading-font-weight-bold text-white text-center"> |
14 | 31 | INNOVATION & DISRUPTION |
15 | 32 | </h2> |
16 | | - <h5 className="font-weight-bold text-white"> |
| 33 | + <h5 className="banner-secondary-heading-font-weight-bold text-white"> |
17 | 34 | is the way We change the Game |
18 | 35 | </h5> |
19 | | - <a href="/contact_us" className="btn btn-xs btn-danger rounded-pill mb-1 btn-banner-contact-us"> |
20 | | - Contact us |
| 36 | + <a href="/contact_us"> |
| 37 | + <img src={ContactUsBtnMob} alt="contact-us" /> |
21 | 38 | </a> |
22 | | - <h6 className="text-white"> |
| 39 | + <h6 className="text-white banner-normal-text"> |
23 | 40 | to change yours |
24 | 41 | </h6> |
25 | 42 | </div> |
26 | | - <div className="text-center banner-text" style={{ marginTop: '-4px' }}> |
27 | | - <img src={Santa} alt="santa-mobile" /> |
| 43 | + <div className="text-center banner-text"> |
| 44 | + <img src={SantaMob} alt="santa-mobile" style={{ transform: `rotate(-10deg)` }}/> |
28 | 45 | </div> |
29 | | - <Row className="justify-content-center m-auto p-md-3"> |
30 | | - <Col> |
31 | | - <p className="text-center disruption-margin"> |
32 | | - Disruption is not the future, it is the present. In an ever evolving technological landscape, it is |
33 | | - <br/> |
34 | | - imperative for innovation to win over the mundane, and that's exactly what we aim to achieve. |
35 | | - </p> |
36 | | - </Col> |
37 | | - </Row> |
| 46 | + <TagLines /> |
38 | 47 | </section> |
39 | 48 | ) : ( |
40 | 49 | <section className="bg-light-gray justify-content-center"> |
41 | 50 | <div className="banner-wrapper"> |
42 | | - <h2 className="font-weight-bold text-white"> |
| 51 | + <h2 className="banner-heading-font-weight-bold text-white"> |
43 | 52 | INNOVATION & DISRUPTION |
44 | 53 | </h2> |
45 | | - <h5 className="font-weight-bold text-white"> |
| 54 | + <h5 className="banner-secondary-heading-font-weight-bold text-white"> |
46 | 55 | is the way We change the Game |
47 | 56 | </h5> |
48 | | - <a href="/contact_us" className="btn btn-danger rounded-pill mb-1 btn-banner-contact-us"> |
49 | | - Contact us |
| 57 | + <a href="/contact_us"> |
| 58 | + <img src={ContactUsBtn} alt="contact-us" /> |
50 | 59 | </a> |
51 | | - <h6 className="text-white"> |
| 60 | + <h6 className="text-white banner-normal-text"> |
52 | 61 | to change yours |
53 | 62 | </h6> |
54 | 63 | </div> |
55 | | - <div className="text-center" style={{ marginTop: '-4px' }}> |
56 | | - <img src={Santa} alt="santa" /> |
| 64 | + <div className="text-center"> |
| 65 | + <img src={Santa} alt="santa" style={{ transform: `rotate(-10deg)` }}/> |
57 | 66 | </div> |
58 | | - <Row className="justify-content-center m-auto p-md-3"> |
59 | | - <Col> |
60 | | - <p className="text-center disruption-margin"> |
61 | | - Disruption is not the future, it is the present. In an ever evolving technological landscape, it is |
62 | | - <br/> |
63 | | - imperative for innovation to win over the mundane, and that's exactly what we aim to achieve. |
64 | | - </p> |
65 | | - </Col> |
66 | | - </Row> |
| 67 | + <TagLines /> |
67 | 68 | </section> |
68 | 69 | ) |
69 | 70 | } |
|
0 commit comments