1
1
import React , { Component } from 'react' ;
2
- import { MDBBtn , MDBCol , MDBContainer , MDBRow } from 'mdbreact' ;
2
+ import { MDBBtn , MDBCol , MDBContainer , MDBRow , MDBIcon } from 'mdbreact' ;
3
3
import './index.css' ;
4
4
import logo from './logo.png' ;
5
- import image from './christmas.png' ;
6
-
7
- // remove body styles in index.css too
8
5
9
6
class App extends Component {
10
7
render ( ) {
@@ -13,37 +10,25 @@ class App extends Component {
13
10
< MDBRow center style = { { height : '100vh' } } >
14
11
< MDBCol middle = { true } md = '6' className = 'text-center' >
15
12
< img src = { logo } alt = 'logo' style = { { width : '10rem' } } />
16
- < h1 style = { { color : '#6a8255' } } > Welcome to Your MDB React App</ h1 >
17
- < p className = 'mb-2' style = { { color : '#6a8255' } } >
18
- The application is configured and ready to import our components.
19
- </ p >
13
+ < h1 className = 'text-white' > Welcome to Your MDB React App</ h1 >
14
+ < p className = 'mb-2 text-white' > The application is configured and ready to import our components.</ p >
20
15
< MDBBtn href = 'https://mdbootstrap.com/docs/react/' target = 'blank' color = 'light-blue' >
21
16
< strong > Check out our docs!</ strong >
22
17
</ MDBBtn >
23
18
</ MDBCol >
24
- < MDBCol middle = { true } md = '6' className = 'text-center ' >
19
+ < MDBCol middle = { true } md = '6' className = 'text-center' >
25
20
< div className = 'd-flex mt-5' >
26
- < div className = 'text-center w-100' >
27
- < h1 className = 'text-one' style = { { color : '#6a8255' } } >
28
- CHRISTMAS SALE!
29
- </ h1 >
30
-
31
- < img src = { image } alt = 'christmas' />
32
-
33
- < p className = 'mt-4 text-two' >
34
- Get Templates & Plugins as a gift !
21
+ < div className = 'text-center' >
22
+ < h2 className = 'h1 mb-5' > CYBER MONDAY SALE!</ h2 >
23
+ < MDBIcon icon = 'calendar-day cyan-text' size = '10x' />
24
+ < p className = 'mt-2 text-white' >
25
+ Check what we have prepared and start using the richest UI Kit today.
35
26
< br />
36
- Hurry up & don 't lose your chance .
27
+ Hurry up & don 't loose your chance .
37
28
</ p >
38
- < a
39
- type = 'button'
40
- className = 'btn btn-danger text-white btn-rounded btn-lg'
41
- rel = 'noreferrer'
42
- target = '_blank'
43
- href = 'https://mdbootstrap.com/sale/'
44
- >
45
- < i className = 'fas fa-gifts' > </ i > GET Your gift
46
- </ a >
29
+ < MDBBtn color = 'cyan' href = 'https://mdbootstrap.com/sale/' target = '_blank' >
30
+ CLAIM OFFER
31
+ </ MDBBtn >
47
32
</ div >
48
33
</ div >
49
34
</ MDBCol >
0 commit comments