|
| 1 | +import React, { Component } from 'react'; |
| 2 | +import { MDBBtn, MDBCol, MDBContainer, MDBRow } from 'mdbreact'; |
| 3 | +import './index.css'; |
| 4 | +import logo from './logo.png'; |
| 5 | + |
| 6 | +class App extends Component { |
| 7 | + render() { |
| 8 | + return ( |
| 9 | + <MDBContainer> |
| 10 | + <MDBRow center style={{ height: '100vh' }}> |
| 11 | + <MDBCol middle={true} md='6' className='text-center'> |
| 12 | + <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> |
| 15 | + <MDBBtn href='https://mdbootstrap.com/docs/react/' target='blank' color='light-blue'> |
| 16 | + <strong>Check out our docs!</strong> |
| 17 | + </MDBBtn> |
| 18 | + </MDBCol> |
| 19 | + <MDBCol middle={true} md='6' className='text-center'> |
| 20 | + <div className='d-flex mt-5'> |
| 21 | + <div className='text-center'> |
| 22 | + <h2 className='h1 text-poppy-red'>BLACK NOVEMBER SURPRISE!</h2> |
| 23 | + <i className='fas fa-shopping-basket text-white fa-10x'></i> |
| 24 | + <p className='mt-2 text-white'> |
| 25 | + Check what we have prepared and start using the richest UI Kit today. |
| 26 | + <br /> |
| 27 | + Hurry up & don't loose your chance. |
| 28 | + </p> |
| 29 | + <p> |
| 30 | + <a |
| 31 | + rel='noopener noreferrer' |
| 32 | + target='_blank' |
| 33 | + type='button' |
| 34 | + className='btn btn-danger btn-rounded btn-lg text-white bg-poppy-red' |
| 35 | + href='https://mdbootstrap.com/sale/' |
| 36 | + > |
| 37 | + <i className='fas fa-cart-arrow-down'></i> CLAIM OFFER |
| 38 | + </a> |
| 39 | + </p> |
| 40 | + </div> |
| 41 | + </div> |
| 42 | + </MDBCol> |
| 43 | + </MDBRow> |
| 44 | + </MDBContainer> |
| 45 | + ); |
| 46 | + } |
| 47 | +} |
| 48 | + |
| 49 | +export default App; |
0 commit comments