Skip to content

Commit eded76f

Browse files
committed
refactor(projects): move project descriptions and tags to projects.json
Centralize project metadata in projects.json for better maintainability and single source of truth
1 parent b07f9ca commit eded76f

2 files changed

Lines changed: 12 additions & 21 deletions

File tree

‎app/projects/page.tsx‎

Lines changed: 0 additions & 21 deletions
Original file line numberDiff line numberDiff line change
@@ -14,25 +14,6 @@ import projectsData from "./projects.json"
1414

1515
// Define additional project details for UI display
1616
const projectsWithDetails = projectsData.projects.map((project, index) => {
17-
// Define descriptions and tags for each project
18-
const descriptions = [
19-
"An intelligent task management system that uses AI to prioritize and categorize tasks.",
20-
"A comprehensive dashboard for e-learning platforms with analytics and progress tracking.",
21-
"A secure certificate verification system using blockchain technology for tamper-proof credentials.",
22-
"A collaborative code editor with real-time syncing, syntax highlighting, and execution capabilities.",
23-
"A simulation platform for sustainable smart city planning with energy consumption analytics.",
24-
"An intelligent scheduling system for healthcare providers with AI-based optimization.",
25-
]
26-
27-
const tagsList = [
28-
["React", "Node.js", "AI", "MongoDB"],
29-
["Vue.js", "Express", "PostgreSQL", "Chart.js"],
30-
["Solidity", "Ethereum", "Web3.js", "React"],
31-
["Socket.io", "CodeMirror", "Express", "MongoDB"],
32-
["Three.js", "D3.js", "Node.js", "Python"],
33-
["React", "Django", "PostgreSQL", "TensorFlow"],
34-
]
35-
3617
const gradients = [
3718
"from-blue-500 to-cyan-500",
3819
"from-emerald-500 to-teal-500",
@@ -44,8 +25,6 @@ const projectsWithDetails = projectsData.projects.map((project, index) => {
4425

4526
return {
4627
...project,
47-
description: descriptions[index % descriptions.length],
48-
tags: tagsList[index % tagsList.length],
4928
gradient: gradients[index % gradients.length],
5029
}
5130
})

‎app/projects/projects.json‎

Lines changed: 12 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -2,36 +2,48 @@
22
"projects": [
33
{
44
"project_name": "AI-Powered Task Management System",
5+
"description": "An intelligent task management system that uses AI to prioritize and categorize tasks.",
6+
"tags": ["React", "Node.js", "AI", "MongoDB"],
57
"github_repository_url": "https://github.com/codeunia/task-management-ai",
68
"intern_name": "Rahul Sharma",
79
"intern_linkedin": "https://linkedin.com/in/rahul-sharma"
810
},
911
{
1012
"project_name": "E-Learning Platform Dashboard",
13+
"description": "A comprehensive dashboard for e-learning platforms with analytics and progress tracking.",
14+
"tags": ["Vue.js", "Express", "PostgreSQL", "Chart.js"],
1115
"github_repository_url": "https://github.com/codeunia/elearning-dashboard",
1216
"intern_name": "Priya Patel",
1317
"intern_linkedin": "https://linkedin.com/in/priya-patel"
1418
},
1519
{
1620
"project_name": "Blockchain-based Certificate Verification",
21+
"description": "A secure certificate verification system using blockchain technology for tamper-proof credentials.",
22+
"tags": ["Solidity", "Ethereum", "Web3.js", "React"],
1723
"github_repository_url": "https://github.com/codeunia/blockchain-certificates",
1824
"intern_name": "Arjun Kumar",
1925
"intern_linkedin": "https://linkedin.com/in/arjun-kumar"
2026
},
2127
{
2228
"project_name": "Real-time Collaborative Code Editor",
29+
"description": "A collaborative code editor with real-time syncing, syntax highlighting, and execution capabilities.",
30+
"tags": ["Socket.io", "CodeMirror", "Express", "MongoDB"],
2331
"github_repository_url": "https://github.com/codeunia/collab-code-editor",
2432
"intern_name": "Sneha Gupta",
2533
"intern_linkedin": "https://linkedin.com/in/sneha-gupta"
2634
},
2735
{
2836
"project_name": "Sustainable Smart City Simulator",
37+
"description": "A simulation platform for sustainable smart city planning with energy consumption analytics.",
38+
"tags": ["Three.js", "D3.js", "Node.js", "Python"],
2939
"github_repository_url": "https://github.com/codeunia/smart-city-simulator",
3040
"intern_name": "Vikram Singh",
3141
"intern_linkedin": "https://linkedin.com/in/vikram-singh"
3242
},
3343
{
3444
"project_name": "Healthcare Appointment Scheduling System",
45+
"description": "An intelligent scheduling system for healthcare providers with AI-based optimization.",
46+
"tags": ["React", "Django", "PostgreSQL", "TensorFlow"],
3547
"github_repository_url": "https://github.com/codeunia/healthcare-scheduler",
3648
"intern_name": "Ananya Desai",
3749
"intern_linkedin": "https://linkedin.com/in/ananya-desai"

0 commit comments

Comments
 (0)