<commit_before>import React from 'react';
import Styles from '../styles/Styles.js';
import Paper from 'material-ui/lib/paper';

import Home from './Home.jsx';
import Catalog from './Catalog.jsx';
import Yummy from './Yummy.jsx';
import ShoppingCart from './ShoppingCart.jsx';
import Payment from './Payment.jsx';
import AboutUs from './AboutUs.jsx';

/*<div className={'MainContentWrapper'}>
	<Home />
</div>*/
export default class Content extends React.Component {
	constructor(props) {
		super(props)
	};
	render(){
		switch (this.props.category) {
			case 0:
				return(
					<Paper className={'ContentWrapper'} style={Styles.ContentWrapper}>
						<ShoppingCart data={this.props.data.shoppingcart} />
					</Paper>
				)
				break;
			case 1:
				return(
					<Paper className={'ContentWrapper'} style={Styles.ContentWrapper}>
						<Catalog data={this.props.data.bouquets} />
					</Paper>
				)
				break;
			case 2:
				return(
					<Paper className={'ContentWrapper'} style={Styles.ContentWrapper}>
						<Catalog data={this.props.data.wedding} />
					</Paper>
				)
				break;
			case 3:
				return(
					<Paper className={'ContentWrapper'} style={Styles.ContentWrapper}>
						<Catalog data={this.props.data.liveplants} />
					</Paper>
				)
				break;
			case 4:
				return(
					<Paper className={'ContentWrapper'} style={Styles.ContentWrapper}>
						<Catalog data={this.props.data.gifts} />
					</Paper>
				)
				break;
			case 5:
				return(
					<Paper className={'ContentWrapper'} style={Styles.ContentWrapper}>
						<Yummy data={this.props.data.yummy} />
					</Paper>
				)
				break;
			case 6:
				return(
					<Paper className={'ContentWrapper'} style={Styles.ContentWrapper}>
						<AboutUs />
					</Paper>
				)
				break;
			case 7:
				return(
					<Paper className={'ContentWrapper'} style={Styles.ContentWrapper}>
						<Payment />
					</Paper>
				)
				break;
			case 8:
				return(
					<Paper className={'ContentWrapper'} style={Styles.ContentWrapper}>
						<ShoppingCart />
					</Paper>
				)
				break;
		}
	}
}<commit_msg>moved shopping cart page to payment page temporarily<commit_after>import React from 'react';
import Styles from '../styles/Styles.js';
import Paper from 'material-ui/lib/paper';

import Home from './Home.jsx';
import Catalog from './Catalog.jsx';
import Yummy from './Yummy.jsx';
import ShoppingCart from './ShoppingCart.jsx';
import Payment from './Payment.jsx';
import AboutUs from './AboutUs.jsx';


export default class Content extends React.Component {
	constructor(props) {
		super(props)
	};
	render(){
		switch (this.props.category) {
			case 0:
				return(
					<div className={'MainContentWrapper'}>
						<Home />
					</div>
				)
				break;
			case 1:
				return(
					<Paper className={'ContentWrapper'} style={Styles.ContentWrapper}>
						<Catalog data={this.props.data.bouquets} />
					</Paper>
				)
				break;
			case 2:
				return(
					<Paper className={'ContentWrapper'} style={Styles.ContentWrapper}>
						<Catalog data={this.props.data.wedding} />
					</Paper>
				)
				break;
			case 3:
				return(
					<Paper className={'ContentWrapper'} style={Styles.ContentWrapper}>
						<Catalog data={this.props.data.liveplants} />
					</Paper>
				)
				break;
			case 4:
				return(
					<Paper className={'ContentWrapper'} style={Styles.ContentWrapper}>
						<Catalog data={this.props.data.gifts} />
					</Paper>
				)
				break;
			case 5:
				return(
					<Paper className={'ContentWrapper'} style={Styles.ContentWrapper}>
						<Yummy data={this.props.data.yummy} />
					</Paper>
				)
				break;
			case 6:
				return(
					<Paper className={'ContentWrapper'} style={Styles.ContentWrapper}>
						<AboutUs />
					</Paper>
				)
				break;
			case 7:
				return(
					<Paper className={'ContentWrapper'} style={Styles.ContentWrapper}>
						<ShoppingCart data={this.props.data.shoppingcart} />
						{/*<Payment />*/}
					</Paper>
				)
				break;
			case 8:
				return(
					<Paper className={'ContentWrapper'} style={Styles.ContentWrapper}>
						<ShoppingCart data={this.props.data.shoppingcart} />
					</Paper>
				)
				break;
		}
	}
}
{'fraction_non_alphanumeric': 0.1522106789079488, 'fraction_numerical': 0.004348876540227108, 'mean_word_length': 2.8404452690166977, 'pattern_counts': {'":': 0, '<': 61, '<?xml version=': 0, '>': 61, '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': '6477875', 'n_tokens_mistral': 1768, 'n_tokens_neox': 1317, 'n_words': 280}