<commit_before>import React from 'react';
import { Link } from 'react-router';
import { Menu, Segment } from 'semantic-ui-react'

export const Navbar = ({location}) => {
  console.log('location', location);
  return (
    <Segment inverted>
      <Menu inverted pointing secondary>
        <Menu.Item header>Our Company</Menu.Item>
        <Menu.Item as={Link} to='landing' name='About' active={location === 'landing'} />
        <Menu.Item as={Link} to='/customer/dashboard' name='customer dashboard' active={location === 'customer/dashboard'} />

          <Menu.Menu position='right'>
            <Link to='signup' className='item'>
              Sign Up
            </Link>

            <Menu.Item as={Link} to='login' name='login'>
              Login
            </Menu.Item>
          </Menu.Menu>
        </Menu>
      </Segment>
      )
      };



      // import React, { Component } from 'react'
      // import { Menu } from 'semantic-ui-react'

      // export default class MenuExampleHeader extends Component {
        //   state = {}

        //   handleItemClick = (e, { name }) => this.setState({ activeItem: name })

        //   render() {
        //     const { activeItem } = this.state

        //     return (
        //       <Menu><commit_msg>fix indent in navbar<commit_after>import React from 'react';
import { Link } from 'react-router';
import { Menu, Segment } from 'semantic-ui-react'

export const Navbar = ({location}) => {
  console.log('location', location);
  return (
    <Segment inverted>
      <Menu inverted pointing secondary>
        <Menu.Item header>Our Company</Menu.Item>
        <Menu.Item as={Link} to='landing' name='About' active={location === 'landing'} />
        <Menu.Item as={Link} to='/customer/dashboard' name='customer dashboard' active={location === 'customer/dashboard'} />

          <Menu.Menu position='right'>
            <Link to='signup' className='item'>
              Sign Up
            </Link>
          <Menu.Item as={Link} to='login' name='login'>
            Login
          </Menu.Item>
        </Menu.Menu>
      </Menu>
    </Segment>
  )
};



      // import React, { Component } from 'react'
      // import { Menu } from 'semantic-ui-react'

      // export default class MenuExampleHeader extends Component {
        //   state = {}

        //   handleItemClick = (e, { name }) => this.setState({ activeItem: name })

        //   render() {
        //     const { activeItem } = this.state

        //     return (
        //       <Menu>
{'fraction_non_alphanumeric': 0.1537242472266244, 'fraction_numerical': 0.0, 'mean_word_length': 2.0239520958083834, 'pattern_counts': {'":': 0, '<': 33, '<?xml version=': 0, '>': 37, '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': '101733', 'n_tokens_mistral': 716, 'n_tokens_neox': 698, 'n_words': 176}