<commit_before>import AFRAME from 'aframe';
import 'aframe-animation-component';
import 'aframe-text-component';
import 'babel-polyfill';
import {Entity, Scene} from 'aframe-react';
import React from 'react';
import { Link, withRouter } from 'react-router';


import Camera from './Camera';
import Text from './Text';
import Sky from './Sky';
import Plane from './Plane';


export default props => {
    let pics = props.pics.map((pic, index) => {
    console.log(pic.title, index, pic.imageLink)
    const rot = '0 ' + (index * -35) + ' 0';
    var row;
    if (index >18 && index <= 27) {
      row = -1.1;
    } else if (index > 9 && index <= 18) {
      row = 0;
    } else if (index > -1 && index <= 9) {
      row = 1.1;
    }
    var imageName = pic.title.split('.')[0];
    return (
      <Entity
      rotation={rot}
      position={"0 "+ row +" 0"}
      material={{src: ('#resized-'+imageName), color: '#FFF', shader: 'flat', side: 'double', transparent: 'true', repeat: '-1 1'}}
      geometry="height:1;primitive:cylinder;radius:2;segmentsRadial:48;thetaLength:30;openEnded:true;thetaStart:0"
      onClick={() => {
        props.router.replace('/' + imageName)
        props.changeBigPic(pic.title)
      }} />
    );
  });
  return (
    <Entity>

        {pics}

        <a-image look-at="[camera]" id="exit-image" src="#exit" geometry="height: 0.3; width: 0.3" position="0.64 -1 2.36" onClick={() => props.router.replace('/dashboard')}></a-image>

        <Entity light={{type: 'ambient', color: '#fff'}}/>
        <Entity light={{type: 'directional', intensity: 0.2}} position='-1 2 1'/>

        <a-sky src='#lobby-_1' rotation='0 -90 0'></a-sky>
    </Entity>
  );
};

<commit_msg>Adjust exit button position in lobby<commit_after>import AFRAME from 'aframe';
import 'aframe-animation-component';
import 'aframe-text-component';
import 'babel-polyfill';
import {Entity, Scene} from 'aframe-react';
import React from 'react';
import { Link, withRouter } from 'react-router';


import Camera from './Camera';
import Text from './Text';
import Sky from './Sky';
import Plane from './Plane';


export default props => {
    let pics = props.pics.map((pic, index) => {
    console.log(pic.title, index, pic.imageLink)
    const rot = '0 ' + (index * -35) + ' 0';
    var row;
    if (index >18 && index <= 27) {
      row = -1.1;
    } else if (index > 9 && index <= 18) {
      row = 0;
    } else if (index > -1 && index <= 9) {
      row = 1.1;
    }
    var imageName = pic.title.split('.')[0];
    return (
      <Entity
      rotation={rot}
      position={"0 "+ row +" 0"}
      material={{src: ('#resized-'+imageName), color: '#FFF', shader: 'flat', side: 'double', transparent: 'true', repeat: '-1 1'}}
      geometry="height:1;primitive:cylinder;radius:2;segmentsRadial:48;thetaLength:30;openEnded:true;thetaStart:0"
      onClick={() => {
        props.router.replace('/' + imageName)
        props.changeBigPic(pic.title)
      }} />
    );
  });
  return (
    <Entity>

        {pics}

        <a-image look-at="[camera]" id="exit-image" src="#exit" geometry="height: 0.3; width: 0.3" position="0.64 -2.5 2.36" onClick={() => props.router.replace('/dashboard')}></a-image>

        <Entity light={{type: 'ambient', color: '#fff'}}/>
        <Entity light={{type: 'directional', intensity: 0.2}} position='-1 2 1'/>

        <a-sky src='#lobby-_1' rotation='0 -90 0'></a-sky>
    </Entity>
  );
};


{'fraction_non_alphanumeric': 0.19988327983659177, 'fraction_numerical': 0.03005544207761891, 'mean_word_length': 2.9538638985005767, 'pattern_counts': {'":': 0, '<': 27, '<?xml version=': 0, '>': 35, 'https://': 0, 'lorem ipsum': 0, 'www.': 0, 'xml': 0}, 'pii_count': 0, 'substrings_counts': 0, 'word_list_counts': {'cursed_substrings.json': 0, 'profanity_word_list.json': 0, 'sexual_word_list.json': 0, 'zh_pornsignals.json': 0}}
{'dir': 'git-commits-cleaned', 'id': '6420628', 'n_tokens_mistral': 1240, 'n_tokens_neox': 1174, 'n_words': 291}