Home.jsx 1.6KB

12345678910111213141516171819202122232425262728293031323334353637383940414243
  1. import React, { Component } from 'react'
  2. import Card from '../component/common/Card/Card.jsx'
  3. import CardHeader from '../component/common/Card/CardHeader.jsx'
  4. import CardBody from '../component/common/Card/CardBody.jsx'
  5. import LogoHomepage from '../img/logoHeader.svg'
  6. import { translate } from 'react-i18next'
  7. class Home extends Component {
  8. render () {
  9. return (
  10. <section className='homepage'>
  11. <div className='container-fluid nopadding'>
  12. <Card customClass='homepagecard'>
  13. <CardHeader /> {/* @TODO fix architecture of this component */}
  14. <CardBody customClass='homepagecard'>
  15. <div>
  16. <div className='homepagecard__title text-center my-4'>
  17. {this.props.t('Welcome on Tracim')}
  18. </div>
  19. <div className='homepagecard__thanks text-center'>
  20. {this.props.t('Thank you for trusting us and using our collaborative tool')}
  21. </div>
  22. <div className='homepagecard__delimiter delimiter' />
  23. <div className='homepagecard__text text-center mb-5'>
  24. {this.props.t('You will create your first workspace')}
  25. </div>
  26. <div className='homepagecard__btn btn btn-outline-primary'>
  27. {this.props.t('create a workspace')}
  28. </div>
  29. <div className='homepagecard__logo mt-5 mb-3'>
  30. <img src={LogoHomepage} alt='logo homepage' />
  31. </div>
  32. </div>
  33. </CardBody>
  34. </Card>
  35. </div>
  36. </section>
  37. )
  38. }
  39. }
  40. export default translate()(Home)