diff --git a/network-poc/static/index.html b/network-poc/static/index.html index 0e9f115..ab785eb 100644 --- a/network-poc/static/index.html +++ b/network-poc/static/index.html @@ -735,6 +735,7 @@
Koodilaboratorio
Kipinä Agentic Playground
Agent Builder
+
Galleria
Opas
@@ -1260,6 +1261,14 @@ ZIP-paketti sisältäen: + +

Ladataan opasta...

@@ -1852,7 +1861,7 @@ IMPORTANT: Include get_db() dependency for FastAPI` }, // URL-hash navigointi const initHash = window.location.hash.replace('#', ''); - const hashMap = { 'laskentaverkko': 'network', 'network': 'network', 'codelab': 'codelab', 'agents': 'agents', 'builder': 'builder', 'guide': 'guide' }; + const hashMap = { 'laskentaverkko': 'network', 'network': 'network', 'codelab': 'codelab', 'agents': 'agents', 'builder': 'builder', 'gallery': 'gallery', 'guide': 'guide' }; if (hashMap[initHash]) { switchMainTab(hashMap[initHash]); } @@ -5039,6 +5048,45 @@ uv run python crew.py "FastAPI + SQLite CRUD API" window.builderExportCrewAI = builderExportCrewAI; window.builderCancel = builderCancel; + // ── Hahmogalleria ── + (function renderGallery() { + const ALL_AVATARS = [ + { file: 'kipina_notext.png', name: 'Salamanteri', role: 'Koodari' }, + { file: 'karhunpentu.png', name: 'Karhunpentu', role: 'Manageri' }, + { file: 'kettu_notext.png', name: 'Kettu', role: 'Asiakas' }, + { file: 'pesukarhu_notext.png', name: 'Pesukarhu', role: 'Data' }, + { file: 'susi_notext.png', name: 'Pikkususi', role: 'QA' }, + { file: 'laiskiainen_notext.png', name: 'Laiskiainen', role: 'DevOps' }, + { file: 'aikuinen_susi.png', name: 'Aikuinen susi', role: 'Tarkkailija' }, + { file: 'gecko_notext.png', name: 'Gecko', role: 'Tofuist / IaC' }, + { file: 'bear.png', name: 'Karhu', role: '' }, + { file: 'beaver.png', name: 'Majava', role: '' }, + { file: 'chameleon.png', name: 'Kameleontti', role: '' }, + { file: 'elephant.png', name: 'Norsu', role: '' }, + { file: 'gecko.png', name: 'Gecko v2', role: '' }, + { file: 'lion.png', name: 'Leijona', role: '' }, + { file: 'mantis.png', name: 'Rukoilijasirkka', role: '' }, + { file: 'owl.png', name: 'Pöllö', role: '' }, + { file: 'penguin.png', name: 'Pingviini', role: '' }, + { file: 'serpent.png', name: 'Kyy', role: 'DevSecOps' }, + { file: 'spider.png', name: 'Hämähäkki', role: '' }, + { file: 'tortoise.png', name: 'Kilpikonna', role: '' }, + { file: 'walrus.png', name: 'Mursu', role: '' }, + ]; + const grid = document.getElementById('gallery-grid'); + if (!grid) return; + grid.innerHTML = ALL_AVATARS.map(a => { + const path = '/avatars/' + a.file; + return `
+ +
${a.name}
+ ${a.role ? `
${a.role}
` : ''} +
${a.file}
+ +
`; + }).join(''); + })(); + // Ladataan agentit kun builder-tabi avataan builderLoad();