summaryrefslogtreecommitdiff
path: root/dest/js
diff options
context:
space:
mode:
authorlittleblack111 <littleblack11111@gmail.com>2023-12-22 08:04:48 +0800
committerlittleblack111 <littleblack11111@gmail.com>2023-12-22 08:04:48 +0800
commit622f3a29e00439150bf23af4493946bcc20a1d4e (patch)
treee83e944dae8835dd73d63393a51e178e12b2ea64 /dest/js
parentf06956efd2dc4bf77244a9fcce2b883a00b925af (diff)
updated parrlax effect and added hacktype to ghrepo title
Re-designed home page background to show random blob
Diffstat (limited to 'dest/js')
-rw-r--r--dest/js/getrepo.js2
1 files changed, 1 insertions, 1 deletions
diff --git a/dest/js/getrepo.js b/dest/js/getrepo.js
index 2231756d..968a2743 100644
--- a/dest/js/getrepo.js
+++ b/dest/js/getrepo.js
@@ -43,7 +43,7 @@ getProfile();
// display infomation from github profile
var displayProfile = function displayProfile(profile) {
var userInfo = document.querySelector('.user-info');
- userInfo.innerHTML = "\n\t\t<figure>\n\t\t\t<a href=".concat(profile.html_url, "><img alt=\"user avatar\" src=").concat(profile.avatar_url, "></a>\n\t\t</figure>\n\t\t<div>\n\t\t\t<!-- <h2><a href=").concat(profile.blog, "><strong>").concat(profile.name, "</strong></a></h2> -->\n\t\t\t<h2><a href=/><strong class=\"usertitle\">").concat(profile.name, "</strong></a></h2>\n\t\t\t<!-- <h2><a href=").concat(profile.html_url, "><strong>").concat(profile.name, "</strong></a></h2> -->\n\t\t\t<p>").concat(profile.bio, "</p>\n\t\t\t<p>\n\t\t\t<strong>Mail:</strong> ").concat(profile.email, "\n\t\t\t</p>\n\t\t\t<p>\n\t\t\t\t<strong>Location:</strong> ").concat(profile.location, "\n\t\t\t</p>\n\t\t\t<p>\n\t\t\t\t<strong>@").concat(profile.login, " </strong>\n\t\t\t\tRepos: ").concat(profile.public_repos, "\n\t\t\t\tGists: ").concat(profile.public_gists, "\n\t\t\t</p>\n\t\t</div>\n\t");
+ userInfo.innerHTML = "\n\t\t<figure class=\"floattext\">\n\t\t\t<a href=".concat(profile.html_url, "><img alt=\"user avatar\" src=").concat(profile.avatar_url, "></a>\n\t\t</figure>\n\t\t<div class=\"floattext\">\n\t\t\t<!-- <h2><a href=").concat(profile.blog, "><strong>").concat(profile.name, "</strong></a></h2> -->\n\t\t\t<h2><a href=/><strong data-value=\"").concat(profile.name, "\" class=\"usertitle hacktype\">").concat(profile.name, "</strong></a></h2>\n\t\t\t<!-- <h2><a href=").concat(profile.html_url, "><strong>").concat(profile.name, "</strong></a></h2> -->\n\t\t\t<p>").concat(profile.bio, "</p>\n\t\t\t<p>\n\t\t\t<strong>Mail:</strong> ").concat(profile.email, "\n\t\t\t</p>\n\t\t\t<p>\n\t\t\t\t<strong>Location:</strong> ").concat(profile.location, "\n\t\t\t</p>\n\t\t\t<p>\n\t\t\t\t<strong>@").concat(profile.login, " </strong>\n\t\t\t\tRepos: ").concat(profile.public_repos, "\n\t\t\t\tGists: ").concat(profile.public_gists, "\n\t\t\t</p>\n\t\t</div>\n\t");
};
// get list of user's public repos