<commit_before>import React, { PropTypes } from 'react';
import IndexLink from 'react-router/lib/IndexLink';
import Link from 'react-router/lib/Link';
import { StyleSheet, css } from 'aphrodite';
import { Type } from '../style';

const Nav = () =>
  <div>
    <IndexLink to="/" className={css(styles.link)}>Home</IndexLink>
    <Link to="/about" className={css(styles.link)}>About</Link>
    <a href="https://github.com/jaredpalmer/react-production-starter" className={css(styles.link)} target="_blank">GitHub</a>
    <a href="https://twitter.com/jaredpalmer" className={css(styles.link)} target="_blank">Twitter</a>
  </div>;

const styles = StyleSheet.create({
  link: {
    maxWidth: 700,
    color: '#000',
    marginTop: '1rem',
    marginBottom: '1rem',
    marginRight: '1rem',
    fontFamily: Type.sans,
    display: 'inline-block',
    textDecoration: 'none',
    fontWeight: 'bold',
    transition: '.2s opacity ease',
    ':hover': {
      opacity: .6,
    },
  },
});

export default Nav;<commit_msg>use activeClassName for link confirmation<commit_after>import React, { PropTypes } from 'react';
import IndexLink from 'react-router/lib/IndexLink';
import Link from 'react-router/lib/Link';
import { StyleSheet, css } from 'aphrodite';
import { Type } from '../style';

const Nav = () =>
  <div>
    <IndexLink to="/"
      className={css(styles.link)}
      activeClassName={css(styles.link, styles.activeLink)}>
      Home
    </IndexLink>
    <Link to="/about"
      className={css(styles.link)}
      activeClassName={css(styles.link, styles.activeLink)}>
      About
    </Link>
    <a href="https://github.com/jaredpalmer/react-production-starter" className={css(styles.link)} target="_blank">GitHub</a>
    <a href="https://twitter.com/jaredpalmer" className={css(styles.link)} target="_blank">Twitter</a>
  </div>;

const styles = StyleSheet.create({
  link: {
    maxWidth: 700,
    color: '#999',
    margin: '1.5rem 1rem 1.5rem 0',
    display: 'inline-block',
    textDecoration: 'none',
    fontWeight: 'bold',
    transition: '.2s opacity ease',
    ':hover': {
      opacity: .6,
    },
  },
  activeLink: {
    color: '#000',
  },
});

export default Nav;
{'fraction_non_alphanumeric': 0.17682088868529547, 'fraction_numerical': 0.01282638570774164, 'mean_word_length': 3.686695278969957, 'pattern_counts': {'":': 0, '<': 23, '<?xml version=': 0, '>': 25, 'https://': 4, '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': '2092417', 'n_tokens_mistral': 731, 'n_tokens_neox': 708, 'n_words': 155}