WIP updates

This commit is contained in:
Dave Lane 2024-08-17 10:55:55 +12:00
parent ab29a8629c
commit b4aa116bf7
2 changed files with 6 additions and 3 deletions

View file

@ -44,6 +44,7 @@
if (hasInstances(tech)) { if (hasInstances(tech)) {
console.log(tech.name + ': ' + tech.instances.length + ' instances...'); console.log(tech.name + ': ' + tech.instances.length + ' instances...');
tech.instances.forEach(function(instance, i) { tech.instances.forEach(function(instance, i) {
instances++;
if (instance.hasOwnProperty('status')) { if (instance.hasOwnProperty('status')) {
let tag = instance.status; let tag = instance.status;
if (statuses.hasOwnProperty(tag)) statuses[tag]++; if (statuses.hasOwnProperty(tag)) statuses[tag]++;
@ -63,12 +64,12 @@
} }
}); });
console.log('categories: ', categories); /*console.log('categories: ', categories);
console.log('analogues: ', analogues); console.log('analogues: ', analogues);
console.log('licenses: ', licenses); console.log('licenses: ', licenses);
console.log('statuses: ', statuses); console.log('statuses: ', statuses);
console.log('affiliates: ', affiliates); console.log('affiliates: ', affiliates);
console.log('hosts: ', hosts); console.log('hosts: ', hosts); */
return { return {
total_instances: instances, total_instances: instances,
@ -95,6 +96,8 @@
const results = processData(webservices); const results = processData(webservices);
console.log('stats = ' + results.total_instances); console.log('stats = ' + results.total_instances);
console.log('tech_tags: ', results.tech_tags);
console.log('instance_tags: ', results.instance_tags);
const technologies = webservices.technologies; const technologies = webservices.technologies;
const hosts = webservices.hosts; const hosts = webservices.hosts;

View file

@ -5,7 +5,7 @@
font-style: normal; font-style: normal;
font-weight: 500; font-weight: 500;
font-display: swap; font-display: swap;
src: local('Moderustic'), local('moderustic'), url('/fonts/Moderustic/Moderustic-Regular.ttf') format('truetype'); src: local('Moderustic'), local('moderustic'), url('/fonts/Moderustic/Moderustic-Variable.ttf') format('truetype');
} }
/*@font-face { /*@font-face {
font-family: 'Lato'; font-family: 'Lato';