-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathscript.js
98 lines (91 loc) · 4.14 KB
/
script.js
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
88
89
90
91
92
93
94
95
96
97
98
const skillsContainer = document.getElementById("skillsContainer");
const projectContainer = document.getElementById('projectContainer');
const skills = [
{
category: "Frontend Development",
skills: ["JS", "CSS", "HTML/EJS", "Tailwind CSS", "React", "TypeScript", "GSAP"]
},
{
category: "Backend Development",
skills: ["Node and Express", "MongoDB", "PostgreSQL"]
},
{
category: "Programming Languages",
skills: ["JavaScript", "Python", "TypeScript", "Arduino-Cpp"]
},
{
category: "Databases",
skills: ["MongoDB", "PostgreSQL", "Drizzle-ORM" , "Redis"]
},
{
category: "Tech Tools",
skills: ["Arduino-Cpp", "GSAP" , "Clerk" , "socketio" , "webRTC-API" , "canvas-API"]
}
];
const projects = [
{
title: 'Amz Clone',
description: 'A clone of Amazon\'s website, featuring a fully responsive layout using HTML, CSS, and JavaScript.',
link: 'https://github.com/vinitngr/webD-amzClone',
status: 'Completed'
},
{
title: 'ownAcar',
description: 'A platform for buying and selling cars , immplemented services like drizzle, neon, client etc..',
link: 'https://github.com/vinitngr/ownacar',
status: 'Completed'
},
{
title: 'Type Racer',
description: 'A simple type racing platform where you can type given quotes and check your type speed ,btw mine is 80 lol.',
link: 'https://github.com/vinitngr/webD-TypeSpeed-js',
status: 'completed'
},
{
title: 'Rejouice Clone',
description: 'A clone of Rejouice A animated website made using Gsap, ',
link: 'https://github.com/vinitngr/rejouice_clone_GSAP',
status: 'completed'
},
{
title: 'Simon Game',
description: 'A classic memory game where players repeat a sequence of colors and sounds.',
link: 'https://github.com/vinitngr/webD-The-simon-game',
status: 'Completed'
},
{
title: 'Primarease',
description: 'A digital dashboard designed for farmers, Primarease offers easy graphical data visualization, allowing users to monitor their crops effectively.',
link: '',
status: 'planned'
}
];
projects.forEach(project => {
const projectDiv = document.createElement('div');
projectDiv.className = 'project';
const statusClass = project.status.toLowerCase();
projectDiv.innerHTML = `
<div>
<h3 class='titlee'>
<a href="${project.link}" target="_blank" style="text-decoration: none; color: black ;">${project.title}</a>
<span class="status ${statusClass}" >${project.status}</span>
</h3>
<p style="margin: 0; display: -webkit-box; -webkit-box-orient: vertical; -webkit-line-clamp: 3; overflow: hidden; text-overflow: ellipsis;">
${project.description}
</p>
</div>
`;
projectContainer.appendChild(projectDiv);
});
skills.forEach(section => {
const categoryHeading = document.createElement("h3");
categoryHeading.textContent = section.category;
skillsContainer.appendChild(categoryHeading);
const skillsWrapper = document.createElement("div");
section.skills.forEach(skill => {
const skillTag = document.createElement("code");
skillTag.textContent = skill;
skillsWrapper.appendChild(skillTag);
});
skillsContainer.appendChild(skillsWrapper);
});