import React from 'react';
import { Link } from 'react-router';
import UI from 'cem/components/ui';

import styles from 'cem/styles/ui/tabs';

const {
  Grid: { Row, Col },
} = UI;

export default ({ id }) => (
  <Row className={styles.textAlign}>
    <Col sm="4">
      <Link className={styles.tab} activeClassName={styles.active} to={`/properties/${id}/about`}>Информация</Link>
    </Col>
    <Col sm="4">
      <Link className={styles.tab} activeClassName={styles.active} to={`/properties/${id}/photos`}>Фото и планировки</Link>
    </Col>
    <Col sm="4">
      <Link className={styles.tab} activeClassName={styles.active} to={`/properties/${id}/documents`}>Документы</Link>
    </Col>
    <Col sm="4">
      <Link className={styles.tab} activeClassName={styles.active} to={`/properties/${id}/tasks`}>Задачи</Link>
    </Col>
    <Col sm="4">
      <Link className={styles.tab} activeClassName={styles.active} to={`/properties/${id}/requests`}>Запросы</Link>
    </Col>
  </Row>
);
