<commit_before>import React, { Component, PropTypes } from 'react';
import cx from 'classnames';
import s from './Home.scss';
import Catalogs from './Catalogs';
import FeaturedProducts from './FeaturedProducts';
import Testimonials from './Testimonials';
import Hero from './Hero';
import Marketing from './Marketing';
import withStyles from '../../decorators/withStyles';
import ProductStore from '../../stores/ProductStore';
import SiteStore from '../../stores/SiteStore';
import { brand } from '../../config';
import connectToStores from 'alt-utils/lib/connectToStores';

const seo = {
	title: brand.name,
	description: brand.seoDesc,
};

@withStyles(s)
@connectToStores
class Home extends Component {

	static propTypes = {
		className: PropTypes.string,
		featuredProducts: PropTypes.array,
		testimonials: PropTypes.array,
	};

	static contextTypes = {
		onSetTitle: PropTypes.func.isRequired,
		onPageNotFound: PropTypes.func.isRequired,
		onSetMeta: PropTypes.func.isRequired,
		seo: PropTypes.func.isRequired,
	};

	componentWillMount() {
		this.context.onSetTitle(brand.name);
		this.context.onSetMeta('description', brand.description);
		this.context.seo(seo);
	}

	static getStores() {
		return [ProductStore, SiteStore];
	}

	static getPropsFromStores() {
		return {
			...ProductStore.getState(),
			...SiteStore.getState(),
		};
	}

	render() {
		return (
			<div className={cx(s.root, this.props.className, 'home-container')} role="navigation">

				<Hero />
				<Marketing />
				<Catalogs />
				<FeaturedProducts products={this.props.featuredProducts} />
				<Testimonials testimonials={this.props.testimonials} />

			</div>
		);
	}

}

export default Home;<commit_msg>Remove catalogs from the home page footer<commit_after>import React, { Component, PropTypes } from 'react';
import cx from 'classnames';
import s from './Home.scss';
// import Catalogs from './Catalogs';
import FeaturedProducts from './FeaturedProducts';
import Testimonials from './Testimonials';
import Hero from './Hero';
import Marketing from './Marketing';
import withStyles from '../../decorators/withStyles';
import ProductStore from '../../stores/ProductStore';
import SiteStore from '../../stores/SiteStore';
import { brand } from '../../config';
import connectToStores from 'alt-utils/lib/connectToStores';

const seo = {
	title: brand.name,
	description: brand.seoDesc,
};

@withStyles(s)
@connectToStores
class Home extends Component {

	static propTypes = {
		className: PropTypes.string,
		featuredProducts: PropTypes.array,
		testimonials: PropTypes.array,
	};

	static contextTypes = {
		onSetTitle: PropTypes.func.isRequired,
		onPageNotFound: PropTypes.func.isRequired,
		onSetMeta: PropTypes.func.isRequired,
		seo: PropTypes.func.isRequired,
	};

	componentWillMount() {
		this.context.onSetTitle(brand.name);
		this.context.onSetMeta('description', brand.description);
		this.context.seo(seo);
	}

	static getStores() {
		return [ProductStore, SiteStore];
	}

	static getPropsFromStores() {
		return {
			...ProductStore.getState(),
			...SiteStore.getState(),
		};
	}

	render() {
		return (
			<div className={cx(s.root, this.props.className, 'home-container')} role="navigation">

				<Hero />
				<Marketing />
				{/* <Catalogs fullWidth="true" /> uncomment when there is more than one catalog */}
				<FeaturedProducts products={this.props.featuredProducts} />
				<Testimonials testimonials={this.props.testimonials} />

			</div>
		);
	}

}

export default Home;
{'fraction_non_alphanumeric': 0.14511494252873564, 'fraction_numerical': 0.0, 'mean_word_length': 4.2188905547226385, 'pattern_counts': {'":': 0, '<': 17, '<?xml version=': 0, '>': 17, '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': '1179232', 'n_tokens_mistral': 1186, 'n_tokens_neox': 1087, 'n_words': 248}