Skip to content

Commit 7b41383

Browse files
committed
feat: add project link
1 parent a621f24 commit 7b41383

File tree

1 file changed

+7
-10
lines changed

1 file changed

+7
-10
lines changed

src/assets/javascript/script.js

Lines changed: 7 additions & 10 deletions
Original file line numberDiff line numberDiff line change
@@ -30,15 +30,12 @@ navToggle();
3030
var githubprojectsdomelement = document.getElementById('githubprojects');
3131

3232
let githubprojects = [
33-
{
34-
name: 'chryz-hub/chryz-hub.github.io',
35-
}, {
36-
name: 'chryz-hub/opensource-4-everyone',
37-
}, {
38-
name: 'chryz-hub/top-languages-cheat',
39-
}, {
40-
name: 'chryz-hub/web-dev-resources',
41-
},
33+
{
34+
name: 'chryz-hub/chryz-hub.github.io',
35+
},
36+
{
37+
name: 'chryz-hub/chryz-hub.github.io',
38+
},
4239
// Here can be added some more projets if needed
4340
];
4441

@@ -62,7 +59,7 @@ function createprojectcard(project) {
6259
project.description = project.description.replace(/:[^}]*:/, '');
6360

6461
// TODO: add Project Card
65-
let projectcard = `<a href="#">
62+
let projectcard = `<a href="${project.html_url}">
6663
<div class="item project">
6764
<h4 class="text-secondary">${project.name}</h4>
6865
<p>${project.description}</p>

0 commit comments

Comments
 (0)