diff --git a/frontend/src/components/welcome/welcome.js b/frontend/src/components/welcome/welcome.js index 87eeb5ac1..45a67261f 100644 --- a/frontend/src/components/welcome/welcome.js +++ b/frontend/src/components/welcome/welcome.js @@ -1,285 +1,117 @@ -import React, { Component } from 'react' -import PropTypes from 'prop-types' -import 'typeface-roboto' -import { - withStyles, - Grid, - Typography, - List, - ListItem, - ListItemText, - ListItemIcon, - Avatar, - Container -} from '@material-ui/core' - -import { - AccountBalanceWallet, - Work, - Apps, - Assignment, - GroupWork -} from '@material-ui/icons' - -import './mailchimp.css' - -import { injectIntl, FormattedMessage } from 'react-intl' - -import TopBarContainer from '../../containers/topbar' -import Bottom from '../../components/bottom/bottom' -import messages from './messages' -import mainStyles from '../styles/style' - -const freelancerImage = require('../../images/collections/collection-flat-community.svg') -const companiesImage = require('../../images/collections/collection-flat-companies.svg') -const teamImage = require('../../images/welcome-teamwork.png') - -import { - MainTitle, - MainList, - ResponsiveImage, - Section -} from './components/CommonStyles' - -const styles = theme => mainStyles(theme) - -class Welcome extends Component { - constructor (props) { - super(props) - - this.state = { - value: 0 - } - } - - componentDidMount () { - - } - - componentWillUnmount () { - - } - - render () { - const { classes } = this.props - - return ( -
- - -
- - - - - { + const classes = useStyles(); + + return ( +
+ + +
+ + + + + + + + + + + + + + + + - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - -
-
-
- - - - - - + + + + + + + + + + + + + + + + + - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - + + + + + + - +
+ +
-
- - - - - + + + + + + + + + + + + + + + - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - -
-
- -
- ) - } -} - -Welcome.propTypes = { - classes: PropTypes.object.isRequired -} - -export default injectIntl(withStyles(styles)(Welcome)) + + + + + + + +