<commit_before>import React, { Component } from 'react';
import ReactDOM from 'react-dom';
// import { BrowserRouter, Switch, Route } from 'react-router-dom';
import { HashRouter, BrowserRouter, Route, Switch, Link } from "react-router-dom";
import Home from './pages/Home';
import About from './pages/About';
import './index.scss';
import { library } from '@fortawesome/fontawesome-svg-core';
import { fab } from '@fortawesome/free-brands-svg-icons';
import { fas } from '@fortawesome/free-solid-svg-icons'
import * as serviceWorker from './serviceWorker';
import Membership from './pages/Membership';
import Partnership from './pages/Partnership';
import AcademicPrograms from './pages/AcademicPrograms';
import Programs from './pages/Programs';
import Conferences from './pages/BaiWorkshops/AllConferences';

library.add(fab, fas);

ReactDOM.render(
    <HashRouter basename='https://blackinai.github.io/blackinai-website/'>
        <Switch>
            <Route path="/" component={Home} exact />
            <Route path="/about" component={About} />
            <Route path="/membership" component={Membership}/>
            <Route path="/partnership" component={Partnership}/>
            <Route path="/academic-programs" component={AcademicPrograms}/> 
            <Route path="/programs" component={Programs}/>
            <Route path="/conferences" component={Conferences}/>
            <Route path="/workshop/bai2017" component={Conferences}/>
            <Route path="/workshop/bai2018" component={Conferences}/>
            <Route path="/workshop/bai2019" component={Conferences}/>
            <Route path="/workshop/bai2020" component={Conferences}/>
        </Switch>
    </HashRouter>,
  document.getElementById('root')
);


// If you want your app to work offline and load faster, you can change
// unregister() to register() below. Note this comes with some pitfalls.
// Learn more about service workers: https://bit.ly/CRA-PWA
serviceWorker.unregister();<commit_msg>change basename<commit_after>import React, { Component } from 'react';
import ReactDOM from 'react-dom';
// import { BrowserRouter, Switch, Route } from 'react-router-dom';
import { HashRouter, BrowserRouter, Route, Switch, Link } from "react-router-dom";
import Home from './pages/Home';
import About from './pages/About';
import './index.scss';
import { library } from '@fortawesome/fontawesome-svg-core';
import { fab } from '@fortawesome/free-brands-svg-icons';
import { fas } from '@fortawesome/free-solid-svg-icons'
import * as serviceWorker from './serviceWorker';
import Membership from './pages/Membership';
import Partnership from './pages/Partnership';
import AcademicPrograms from './pages/AcademicPrograms';
import Programs from './pages/Programs';
import Conferences from './pages/BaiWorkshops/AllConferences';

library.add(fab, fas);

ReactDOM.render(
    <HashRouter basename='/blackinai-website/'>
        <Switch>
            <Route path="/" component={Home} exact />
            <Route path="/about" component={About} />
            <Route path="/membership" component={Membership}/>
            <Route path="/partnership" component={Partnership}/>
            <Route path="/academic-programs" component={AcademicPrograms}/> 
            <Route path="/programs" component={Programs}/>
            <Route path="/conferences" component={Conferences}/>
            <Route path="/workshop/bai2017" component={Conferences}/>
            <Route path="/workshop/bai2018" component={Conferences}/>
            <Route path="/workshop/bai2019" component={Conferences}/>
            <Route path="/workshop/bai2020" component={Conferences}/>
        </Switch>
    </HashRouter>,
  document.getElementById('root')
);


// If you want your app to work offline and load faster, you can change
// unregister() to register() below. Note this comes with some pitfalls.
// Learn more about service workers: https://bit.ly/CRA-PWA
serviceWorker.unregister();
{'fraction_non_alphanumeric': 0.1474993653211475, 'fraction_numerical': 0.008123889312008125, 'mean_word_length': 3.657210401891253, 'pattern_counts': {'":': 0, '<': 33, '<?xml version=': 0, '>': 33, 'https://': 3, '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': '7172445', 'n_tokens_mistral': 1122, 'n_tokens_neox': 1074, 'n_words': 288}