11import React , { Component } from 'react' ;
2- import { MDBBtn , MDBCol , MDBContainer , MDBRow } from 'mdbreact' ;
2+ import { MDBBtn , MDBCol , MDBContainer , MDBRow , MDBIcon } from 'mdbreact' ;
33import './index.css' ;
44import logo from './logo.png' ;
5- import image from './christmas.png' ;
6-
7- // remove body styles in index.css too
85
96class App extends Component {
107 render ( ) {
@@ -13,37 +10,25 @@ class App extends Component {
1310 < MDBRow center style = { { height : '100vh' } } >
1411 < MDBCol middle = { true } md = '6' className = 'text-center' >
1512 < 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 >
2015 < MDBBtn href = 'https://mdbootstrap.com/docs/react/' target = 'blank' color = 'light-blue' >
2116 < strong > Check out our docs!</ strong >
2217 </ MDBBtn >
2318 </ MDBCol >
24- < MDBCol middle = { true } md = '6' className = 'text-center ' >
19+ < MDBCol middle = { true } md = '6' className = 'text-center' >
2520 < 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.
3526 < br />
36- Hurry up & don 't lose your chance .
27+ Hurry up & don 't loose your chance .
3728 </ 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 >
4732 </ div >
4833 </ div >
4934 </ MDBCol >
0 commit comments