Skip to content

Commit 8a68341

Browse files
committed
remove christmas app
1 parent 8f32b40 commit 8a68341

File tree

2 files changed

+16
-31
lines changed

2 files changed

+16
-31
lines changed

docs/App-clear.js

Lines changed: 13 additions & 28 deletions
Original file line numberDiff line numberDiff line change
@@ -1,10 +1,7 @@
11
import React, { Component } from 'react';
2-
import { MDBBtn, MDBCol, MDBContainer, MDBRow } from 'mdbreact';
2+
import { MDBBtn, MDBCol, MDBContainer, MDBRow, MDBIcon } from 'mdbreact';
33
import './index.css';
44
import logo from './logo.png';
5-
import image from './christmas.png';
6-
7-
// remove body styles in index.css too
85

96
class 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>

docs/index.js

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -4,14 +4,14 @@ import '@fortawesome/fontawesome-free/css/all.min.css';
44
import 'bootstrap-css-only/css/bootstrap.min.css';
55
import '../dist/css/mdb.css';
66
import './index.css';
7-
// import App from './App';
8-
import AppClear from './App-clear';
7+
import App from './App';
8+
// import AppClear from './App-clear';
99

1010
import registerServiceWorker from './registerServiceWorker';
1111

1212
ReactDOM.render(
1313
<React.StrictMode>
14-
<AppClear />
14+
<App />
1515
</React.StrictMode>,
1616
document.getElementById('root')
1717
);

0 commit comments

Comments
 (0)