import 'jquery';
import 'bootflat/js/site.min.js';
import 'bootflat/css/site.min.css!';

export class App {
  configureRouter(config, router){
    config.title = 'Aurelia';
    config.map([
        {
            route: ['','welcome'],
            name: 'welcome',
            moduleId: 'welcome',
            nav: true,
            title:'Welcome'
        },
        {
            route: 'users',
            name: 'users',
            moduleId: 'users',
            nav: true,
            title:'Github Users'
        },
        {
            route: 'child-router',
            name: 'child-router',
            moduleId: 'child-router',
            nav: true,
            title:'Child Router'
        }
    ]);

    this.router = router;
  }
}
