mirror of
https://github.com/dilllxd/gitfolio.git
synced 2024-08-14 22:28:09 +00:00
Move GitHub username from "username" to "about"
This commit is contained in:
parent
5218c959c8
commit
5a630ea3eb
1 changed files with 7 additions and 4 deletions
11
populate.js
11
populate.js
|
@ -118,10 +118,7 @@ module.exports.updateHTML = (username, opts) => {
|
|||
"username"
|
||||
).innerHTML = `<span id="text" style="display:${
|
||||
user.name == null || !user.name ? "none" : "block"
|
||||
};"></span><div class='console-underscore' id='console'>_</div><br><a href="${
|
||||
user.html_url
|
||||
}"><i class="mdi mdi-github-circle"></i> @${user.login}</a>`;
|
||||
//document.getElementById("github_link").href = `https://github.com/${user.login}`;
|
||||
};"></span><div class='console-underscore' id='console'>_</div>`;
|
||||
document.getElementById("userbio").innerHTML = convertToEmoji(
|
||||
user.bio
|
||||
);
|
||||
|
@ -134,6 +131,12 @@ module.exports.updateHTML = (username, opts) => {
|
|||
<span style="display:${
|
||||
user.email == null || !user.email ? "none" : "block"
|
||||
};"><i class="mdi mdi-email"></i> ${user.email}</span>
|
||||
<span style="display:block;"><a href="${
|
||||
user.html_url
|
||||
}"><i class="mdi mdi-github-circle"></i> @${
|
||||
user.login
|
||||
}</a>
|
||||
</span>
|
||||
<span style="display:${
|
||||
user.location == null || !user.location ? "none" : "block"
|
||||
};"><i class="mdi mdi-map-marker"></i> ${
|
||||
|
|
Loading…
Reference in a new issue