Add network graph for the home page

This commit is contained in:
dario-cfpt
2020-01-07 08:32:08 +01:00
parent 5fa7f19eb1
commit 05bf75babe
55 changed files with 832 additions and 56 deletions

View File

@ -1,7 +1,38 @@
routes = [
{
path: '/',
url: './index.html',
path: '/',
templateUrl: './index.html',
on: {
pageAfterIn: () => {
displayCharacters();
}
}
},
];
{
path: '/classes/',
templateUrl: './pages/classes.html',
},
{
name: 'stat',
path: '/stat/:charId',
templateUrl: './pages/stat.html',
on: {
pageInit: (e, page) => {
const charId = page.route.params.charId;
if (charId != null) {
const char = feData.characters.find(x => x.id == charId);
console.log(char);
}
}
}
},
{
path: '/comparator/',
templateUrl: './pages/comparator.html'
},
{
path: '/about/',
templateUrl: './pages/about.html'
},
];