From 2ddf8cbd589e14ffecc8e577e9819a197e00bb3b Mon Sep 17 00:00:00 2001 From: Ajinkya Karanjikar Date: Sat, 21 Sep 2024 14:39:38 +0530 Subject: [PATCH] Updated landing page and data --- data/data.json | 154 ++++++++++++++++++++++++++++++++++++++++ index.html | 186 +++++++++++++++++++++++++------------------------ 2 files changed, 249 insertions(+), 91 deletions(-) create mode 100644 data/data.json diff --git a/data/data.json b/data/data.json new file mode 100644 index 0000000..dc15394 --- /dev/null +++ b/data/data.json @@ -0,0 +1,154 @@ +{ + "members": [ + { + "id": "1", + "name": "Anuj Verma", + "github": "iamanujvrma", + "designation": "Engineering Manager", + "active":false + }, + { + "id": "2", + "name": "Shubham Pradhan", + "github": "ShubhamPradhan17", + "designation": "Software Engineer", + "active":false + }, + { + "id": "3", + "name": "Monica", + "github": "Monica-MRN", + "designation": "Software Engineer", + "active":false + }, + { + "id": "4", + "name": "Prajjwalkumar Panzade", + "github": "kumarpanzade", + "designation": "Software Engineer", + "active":true + }, + { + "id": "5", + "name": "Sharyu Marwadi", + "github": "SharyuMarwadi", + "designation": "Software Engineer", + "active":true + }, + { + "id": "6", + "name": "Sourabh Bharale", + "github": "sourabh-josh", + "designation": "Software Engineer", + "active":true + }, + { + "id": "7", + "name": "Prajwal", + "github": "kumarpanzade", + "designation": "", + "active":true + }, + { + "id": "8", + "name": "Samrath", + "github": "samrocks03", + "designation": "", + "active":true + }, + { + "id": "9", + "name": "Divya", + "github": "divyatambat", + "designation": "", + "active":true + }, { + "id": "10", + "name": "Sagar Sonawane", + "github": "sagar23sj", + "designation": "", + "active":true + }, + { + "id": "11", + "name": "Ajinkya Karanjikar", + "github": "AjinkyaASK", + "designation": "", + "active":true + }, + { + "id": "12", + "name": "Ankitkumar Singh", + "github": "ankitatjosh", + "designation": "", + "active":true + }, + { + "id": "13", + "name": "Vinay Chopda", + "github": "AlgorithmChopda", + "designation": "", + "active":true + }, + { + "id": "14", + "name": "Sharanya", + "github": "SharanyaSD", + "designation": "", + "active":true + }, { + "id": "15", + "name": "Sharyu Marwadi", + "github": "SharyuMarwadi", + "designation": "", + "active":true + }, + { + "id": "16", + "name": "Sethupathi Asokan", + "github": "sethu", + "designation": "", + "active":true + }, + { + "id": "17", + "name": " Vishwajeetsingh Desurkar", + "github": "selectus2", + "designation": "", + "active":true + } + ], + "projects": { + "completed": [ + { + "id": "1", + "name": "E-KYC Spoof", + "description": "This is a PoC project for eKYC spoofing. Analyse if this issue is real and are there solutions If not, identify a tool to showcase the spoof a person in video Try to spoof it on eKYS website Identify a tool or contribute to a tool which can detect the spoof Or build eKYC spoofing as a testing utility for liveness detection", + "tech": "Python, OBS", + "team": ["1","2","3"], + "repo": "https://github.com/joshsoftware/ekyc-spoof" + } + ], + "ongoing": [ + { + "id": "1", + "name": "Call Summarization", + "description": "This project focuses on converting voice input data in Indian languages into text. The text data will then be analyzed to generate a summary.", + "tech": "Python, NextJs, Fast Api, Whisper, LLama 3.1", + "team": ["4","5","6"], + "repo": "https://github.com/joshsoftware/lingo.ai" + } + ], + "planned": [ + { + "id": "1", + "name": "ChatBot AI", + "description": "A private ChatGPT tailored for your organization's specific data. This application allows you to communicate with your own data, which can include PDFs, text, and more.", + "tech": "Python, LLama 3.1, Llama Index,Vector DB, RAG", + "team": ["7","8","9"], + "repo": "https://github.com/joshsoftware/lingo.ai" + } + ] + }, + "join_link": "" + } \ No newline at end of file diff --git a/index.html b/index.html index 454e692..6b2c169 100644 --- a/index.html +++ b/index.html @@ -12,117 +12,34 @@

Josh Innovation Lab

- - - + + +

Ongoing Projects

-
-
-

Call Summarization

-

Description: This project focuses on converting voice input data in Indian languages into text. The text data will then be analyzed to generate a summary.

-
Team:
-

-

-

-
-
-
- -
-
-

Project B

-

Brief description of Project B.

-

Team: Alice Johnson, Bob Williams

-
-
-
- -
-
+

Contributors

-
-
- John Doe -
-

John Doe

-

Project Manager

- Profile -
-
-
- Jane Smith -
-

Jane Smith

-

Lead Developer

- Profile -
-
-
- Bob Williams -
-

Bob Williams

-

UX Designer

- Profile -
-
-
+
- + Join the Team
@@ -131,6 +48,93 @@

Bob Williams

document.querySelectorAll('.tab-content').forEach(tab => tab.classList.add('hidden')); document.getElementById(tabId).classList.remove('hidden'); } + + function renderProjects(containerElementId, projects, members) { + projects.forEach(project => { + const container = document.getElementById(containerElementId); + + const projectDiv = document.createElement('div'); + var divContent = ``; + divContent += + ` +
+

${project.name}

+

${project.description}

+
Team:
+

+

+ `; + project.team.forEach(memberId => { + const member = members.find((m) => m.id === memberId); + if (member) { + // divContent += `
  • ${member.name}
  • `; + divContent += ` + `; + } + }); + divContent += + ` +
    +

    + View Repo +
    + `; + projectDiv.innerHTML = divContent; + container.appendChild(projectDiv); + }); + } + + function renderMembers(members) { + const container = document.getElementById("members_container"); + + members.forEach(member => { + if (member.active) { + const memberDiv = document.createElement('div'); + const divContent = ` +
    + ${member.name} +
    +

    ${member.name}

    +

    ${member.designation}

    + Profile +
    +
    + `; + memberDiv.innerHTML = divContent; + container.appendChild(memberDiv); + } + }); + } + + function renderAllData() { + fetch('data/data.json') + .then(response => response.json()) + .then(data => { + renderProjects("projects_container_ongoing", data.projects.ongoing, data.members); + renderProjects("projects_container_completed", data.projects.completed, data.members); + renderProjects("projects_container_planned", data.projects.planned, data.members); + + renderMembers(data.members); + + setJoinFormLink(data.join_link); + }) + .catch(error => { + console.error('Error:', error); + }); + } + + + function setJoinFormLink(link) { + document.getElementById("join_team_link").href = link; + } + + renderAllData();