1
1
import React , { Component } from 'react' ;
2
- import { MDBBtn , MDBCol , MDBContainer , MDBRow , MDBIcon } from 'mdbreact' ;
2
+ import { MDBBtn , MDBCol , MDBContainer , MDBRow } 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
5
8
6
9
class App extends Component {
7
10
render ( ) {
@@ -10,25 +13,37 @@ class App extends Component {
10
13
< MDBRow center style = { { height : '100vh' } } >
11
14
< MDBCol middle = { true } md = '6' className = 'text-center' >
12
15
< img src = { logo } alt = 'logo' style = { { width : '10rem' } } />
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 >
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 >
15
20
< MDBBtn href = 'https://mdbootstrap.com/docs/react/' target = 'blank' color = 'light-blue' >
16
21
< strong > Check out our docs!</ strong >
17
22
</ MDBBtn >
18
23
</ MDBCol >
19
- < MDBCol middle = { true } md = '6' className = 'text-center' >
24
+ < MDBCol middle = { true } md = '6' className = 'text-center ' >
20
25
< div className = 'd-flex mt-5' >
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.
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 !
26
35
< br />
27
- Hurry up & don 't loose your chance .
36
+ Hurry up & don 't lose your chance .
28
37
</ p >
29
- < MDBBtn color = "cyan" href = "https://mdbootstrap.com/sale/" target = "_blank" >
30
- CLAIM OFFER
31
- </ MDBBtn >
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 >
32
47
</ div >
33
48
</ div >
34
49
</ MDBCol >
0 commit comments