{"size": 1350, "ext": "js", "max_stars_repo_path": "src/pages/routes/Home/index.js", "max_stars_repo_name": "StLyn4/manager-react", "max_stars_repo_stars_event_min_datetime": null, "max_stars_repo_stars_event_max_datetime": null, "max_issues_repo_path": "src/pages/routes/Home/index.js", "max_issues_repo_name": "StLyn4/manager-react", "max_issues_repo_issues_event_min_datetime": null, "max_issues_repo_issues_event_max_datetime": null, "max_forks_repo_path": "src/pages/routes/Home/index.js", "max_forks_repo_name": "StLyn4/manager-react", "max_forks_repo_forks_event_min_datetime": null, "max_forks_repo_forks_event_max_datetime": null}
{"max_stars_count": null, "max_issues_count": null, "max_forks_count": null, "avg_line_length": 35.5263157895, "max_line_length": 108, "alphanum_fraction": 0.6007407407}
import { Card } from 'antd';
import { FontAwesomeIcon } from '@fortawesome/react-fontawesome'
import { faUserGraduate, faPlane, faMeteor } from '@fortawesome/free-solid-svg-icons'
import classes from './styles.module.scss';

const Home = props => {
  return (
    <div className={classes.wrap}>
      <Card
        hoverable
        className={classes.card}
        title={<FontAwesomeIcon className={classes.title} icon={faPlane} />}
        onClick={() => props.history.push('/airplanes')}
      >
        <Card.Meta title="Самолёты" description={<span>Задание №1<br />Управление авиапарком</span>} />
      </Card>
      <Card
        hoverable
        className={classes.card}
        title={<FontAwesomeIcon className={classes.title} icon={faUserGraduate} />}
        onClick={() => props.history.push('/students')}
      >
        <Card.Meta title="Студенты" description={<span>Задание №2<br />Управление студентами</span>} />
      </Card>
      <Card
        hoverable
        className={classes.card}
        title={<FontAwesomeIcon className={classes.title} icon={faMeteor} />}
        onClick={() => props.history.push('/meteor')}
      >
        <Card.Meta title="Метеорит" description={<span>Задание №3<br />На Землю падает метеорит!</span>} />
      </Card>
    </div>
  );
};

export default Home;
