Skip to content

Commit 8f32b40

Browse files
committed
add christmas template to app-clear
1 parent 3ff8364 commit 8f32b40

File tree

4 files changed

+36
-16
lines changed

4 files changed

+36
-16
lines changed

docs/App-clear.js

Lines changed: 28 additions & 13 deletions
Original file line numberDiff line numberDiff line change
@@ -1,7 +1,10 @@
11
import React, { Component } from 'react';
2-
import { MDBBtn, MDBCol, MDBContainer, MDBRow, MDBIcon } from 'mdbreact';
2+
import { MDBBtn, MDBCol, MDBContainer, MDBRow } 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
58

69
class App extends Component {
710
render() {
@@ -10,25 +13,37 @@ class App extends Component {
1013
<MDBRow center style={{ height: '100vh' }}>
1114
<MDBCol middle={true} md='6' className='text-center'>
1215
<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>
1520
<MDBBtn href='https://mdbootstrap.com/docs/react/' target='blank' color='light-blue'>
1621
<strong>Check out our docs!</strong>
1722
</MDBBtn>
1823
</MDBCol>
19-
<MDBCol middle={true} md='6' className='text-center'>
24+
<MDBCol middle={true} md='6' className='text-center '>
2025
<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!
2635
<br />
27-
Hurry up & don't loose your chance.
36+
Hurry up & don't lose your chance.
2837
</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>
3247
</div>
3348
</div>
3449
</MDBCol>

docs/christmas.png

15.7 KB
Loading

docs/index.css

Lines changed: 5 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,3 +1,7 @@
1+
body {
2+
background-color: #f6e0a2;
3+
}
4+
15
.flyout {
26
display: flex;
37
flex-direction: column;
@@ -42,6 +46,6 @@
4246
color: #283593;
4347
}
4448

45-
.nav-link:focus{
49+
.nav-link:focus {
4650
outline: none;
4751
}

docs/index.js

Lines changed: 3 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -4,13 +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';
7+
// import App from './App';
8+
import AppClear from './App-clear';
89

910
import registerServiceWorker from './registerServiceWorker';
1011

1112
ReactDOM.render(
1213
<React.StrictMode>
13-
<App />
14+
<AppClear />
1415
</React.StrictMode>,
1516
document.getElementById('root')
1617
);

0 commit comments

Comments
 (0)