{"size": 1161, "ext": "js", "max_stars_repo_path": "frontend/src/components/common/WebSidebar.js", "max_stars_repo_name": "kcakar/PersonalityTest", "max_stars_repo_stars_event_min_datetime": "2019-02-21T14:56:02.000Z", "max_stars_repo_stars_event_max_datetime": "2019-02-21T14:56:02.000Z", "max_issues_repo_path": "frontend/src/components/common/WebSidebar.js", "max_issues_repo_name": "kcakar/PersonalityTest", "max_issues_repo_issues_event_min_datetime": null, "max_issues_repo_issues_event_max_datetime": null, "max_forks_repo_path": "frontend/src/components/common/WebSidebar.js", "max_forks_repo_name": "kcakar/PersonalityTest", "max_forks_repo_forks_event_min_datetime": null, "max_forks_repo_forks_event_max_datetime": null}
{"max_stars_count": 1, "max_issues_count": null, "max_forks_count": null, "avg_line_length": 25.8, "max_line_length": 84, "alphanum_fraction": 0.5297157623}
import React from 'react';
import { Icon, Menu, Segment, Sidebar } from 'semantic-ui-react';
import {Link } from 'react-router-dom';

import urls from '../../helpers/URLs';

const WebSidebar = () => (
  <Sidebar.Pushable as={Segment}>
    <Sidebar as={Menu} animation='overlay' icon='labeled' inverted vertical visible>
      <Link to={urls.intro}>
        <Menu.Item as='span'>
          <Icon name='home' />
          Intro
        </Menu.Item>
      </Link>
      <Link to={urls.test}>
        <Menu.Item as='span'>
          <Icon name='gamepad' />
          Test
        </Menu.Item>
      </Link>
      <Link to={urls.results}>
        <Menu.Item as='span'>
          <Icon name='chart bar outline' />
          Sonuçlar
        </Menu.Item>
      </Link>
      <Link to={urls.customerPanel() }>
        <Menu.Item as='span'>
          <Icon name='chess pawn' />
          Müşteri Paneli
        </Menu.Item>
      </Link>
      <Link to={urls.adminPanel() }>
        <Menu.Item as='span'>
          <Icon name='chess queen' />
          Yönetici Paneli
        </Menu.Item>
      </Link>
    </Sidebar>
  </Sidebar.Pushable>
)

export default WebSidebar
