From b4aa116bf78fd10c75f25e8319faa26d1302259a Mon Sep 17 00:00:00 2001 From: Dave Lane Date: Sat, 17 Aug 2024 10:55:55 +1200 Subject: [PATCH] WIP updates --- src/routes/+page.svelte | 7 +++++-- static/fonts.css | 2 +- 2 files changed, 6 insertions(+), 3 deletions(-) diff --git a/src/routes/+page.svelte b/src/routes/+page.svelte index 2112d64..4008cfc 100644 --- a/src/routes/+page.svelte +++ b/src/routes/+page.svelte @@ -44,6 +44,7 @@ if (hasInstances(tech)) { console.log(tech.name + ': ' + tech.instances.length + ' instances...'); tech.instances.forEach(function(instance, i) { + instances++; if (instance.hasOwnProperty('status')) { let tag = instance.status; if (statuses.hasOwnProperty(tag)) statuses[tag]++; @@ -63,12 +64,12 @@ } }); - console.log('categories: ', categories); + /*console.log('categories: ', categories); console.log('analogues: ', analogues); console.log('licenses: ', licenses); console.log('statuses: ', statuses); console.log('affiliates: ', affiliates); - console.log('hosts: ', hosts); + console.log('hosts: ', hosts); */ return { total_instances: instances, @@ -95,6 +96,8 @@ const results = processData(webservices); 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 hosts = webservices.hosts; diff --git a/static/fonts.css b/static/fonts.css index d27fb5e..9c3e85c 100644 --- a/static/fonts.css +++ b/static/fonts.css @@ -5,7 +5,7 @@ font-style: normal; font-weight: 500; 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-family: 'Lato';