1
0
Fork 0
mirror of https://github.com/dilllxd/gitfolio.git synced 2024-08-14 22:28:09 +00:00

Revert "Repo list now pulls from a JSON list like Blogs"

This commit is contained in:
imfunny 2019-05-11 14:11:46 +05:30 committed by GitHub
parent ec0f180409
commit ec6b040f97
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23
5 changed files with 21 additions and 101 deletions

View file

@ -62,25 +62,6 @@
`)
}
});
$.getJSON("repos.json", function(repos){
for(var i = 0; i < repos.length; i++){
$("#projects").append(`
<a href="${repos[i].html_url}" target="_blank">
<section>
<div class="section_title">${repos[i].name}</div>
<div class="about_section">
${repos[i].description}
</div>
<div class="bottom_section">
<span><i class="fas fa-code"></i>&nbsp; ${repos[i].language}</span>
<span><i class="fas fa-star"></i>&nbsp; ${repos[i].stargazers_count}</span>
<span><i class="fas fa-code-branch"></i>&nbsp; ${repos[i].forks_count}</span>
</div>
</section>
</a>
`)
}
});
</script>
</body>
</html>