<commit_before>/**
 * React Static Boilerplate
 * https://github.com/koistya/react-static-boilerplate
 * Copyright (c) <NAME> (@koistya) | MIT license
 */

import React from 'react';
import './Navigation.scss';
import Link from '../Link';

function Navigation() {
  return (
    <ul className="Navigation" role="menu">
      <li className="Navigation-item">
        <a className="Navigation-link" href="/" onClick={Link.handleClick}>Home</a>
      </li>
      <li className="Navigation-item">
        <a className="Navigation-link" href="/about" onClick={Link.handleClick}>About</a>
      </li>
    </ul>
  );
}

export default Navigation;<commit_msg>Explore using material-ui<commit_after>/**
 * React Static Boilerplate
 * https://github.com/koistya/react-static-boilerplate
 * Copyright (c) <NAME> (@koistya) | MIT license
 */
/* Changes copyright (c) <NAME> */

import './Navigation.scss';
import Link from '../Link';
import AppBar from 'material-ui/lib/app-bar';
import LeftNav from 'material-ui/lib/left-nav';
import IconButton from 'material-ui/lib/icon-button';

import React, { Component } from 'react';

export default class extends Component {
  toggleNav() {
    this.refs.leftNav.toggle();
  }

  render() {
    let menuItems = [
      { 
        text: <span>test<b>hello</b></span>,
        onToggle: function() { alert("OK") },
      }
    ]
    return <div>
      <AppBar title="hello"
        onLeftIconButtonTouchTap={this.toggleNav.bind(this)} />
      <LeftNav ref="leftNav" docked={false} menuItems={menuItems} />
    </div>
  }
}
{'fraction_non_alphanumeric': 0.16827852998065765, 'fraction_numerical': 0.0, 'mean_word_length': 3.384180790960452, 'pattern_counts': {'":': 0, '<': 24, '<?xml version=': 0, '>': 24, 'https://': 2, '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': '2869285', 'n_tokens_mistral': 499, 'n_tokens_neox': 485, 'n_words': 109}