<commit_before>import React from 'react';
import { Link } from 'react-router';

// Material Design stuff
import RaisedButton from 'material-ui/RaisedButton';
import Dialog from 'material-ui/Dialog';
import {deepOrange500} from 'material-ui/styles/colors';
import FlatButton from 'material-ui/FlatButton';
import getMuiTheme from 'material-ui/styles/getMuiTheme';
import MuiThemeProvider from 'material-ui/styles/MuiThemeProvider';

/*
  Welcome
  Let's us make <Welcome/> elements
*/
// My component imports
import Header from './Header';

var Welcome = React.createClass({
  getInitialState : function() {
    return {
        open: false,
    }
  },

  handleRequestClose : function() {
    this.setState({
      open: false,
    });
  },

  handleTouchTap : function() {
    this.setState({
      open: true,
    });
  },

  render : function() {
    var muiTheme = getMuiTheme({
      palette: {
        accent1Color: deepOrange500,
      },
    });

    var standardActions = (
      <FlatButton
        label="Ok"
        primary={true}
        onTouchTap={this.handleRequestClose}
      />
    );

    var styles = {
      container: {
        textAlign: 'center',
        paddingTop: 200,
      },
    };
    return (
      <div>
      <MuiThemeProvider muiTheme={muiTheme}>
        <div style={styles.container}>
          <Dialog
            open={this.state.open}
            title="Super Secret Password"
            actions={standardActions}
            onRequestClose={this.handleRequestClose}
          >
            1-2-3-4-5
          </Dialog>
          <h1>Material-UI</h1>
          <h2>example project</h2>
          <Link to='/browse'>
            <RaisedButton
            label="Super Secret Password"
            secondary={true}
            onTouchTap={this.handleTouchTap}
            />
          </Link>
        </div>
      </MuiThemeProvider>
        <Header/>
      </div>
    )
  }

});

export default Welcome;
<commit_msg>Welcome page cleanup<commit_after>import React from 'react';
import { Link } from 'react-router';

// Material Design imports
import RaisedButton from 'material-ui/RaisedButton';
import MuiThemeProvider from 'material-ui/styles/MuiThemeProvider';

// My component imports
import Header from './Header';

var Welcome = React.createClass({
  getInitialState : function() {
    return {}
  },
  render : function() {
    var styles = {
      container: {
        textAlign: 'center',
        paddingTop: 125,
        width: '70%',
        margin: '0 auto',
        maxWidth: '420px'
      }
    };
    return (
      <div>
        <Header/>
        <MuiThemeProvider>
          <div style={styles.container}>
            <h1>Material-UI</h1>
            <Link to='/browse'>
              <RaisedButton label="Browse Discoveries" fullWidth={true}/>
            </Link>
            <Link to='/explore'>
              <RaisedButton label="Explore Datasets" fullWidth={true}/>
            </Link>
            <Link to='/dataset/new'>
              <RaisedButton label="Contribute Data" fullWidth={true}/>
            </Link>
          </div>
        </MuiThemeProvider>
      </div>
    )
  }
});

export default Welcome;

{'fraction_non_alphanumeric': 0.1276796973518285, 'fraction_numerical': 0.009457755359394703, 'mean_word_length': 2.0480307396733908, 'pattern_counts': {'":': 0, '<': 39, '<?xml version=': 0, '>': 39, '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': '1855664', 'n_tokens_mistral': 963, 'n_tokens_neox': 930, 'n_words': 205}