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"
|
"username"
|
||||||
).innerHTML = `<span id="text" style="display:${
|
).innerHTML = `<span id="text" style="display:${
|
||||||
user.name == null || !user.name ? "none" : "block"
|
user.name == null || !user.name ? "none" : "block"
|
||||||
};"></span><div class='console-underscore' id='console'>_</div><br><a href="${
|
};"></span><div class='console-underscore' id='console'>_</div>`;
|
||||||
user.html_url
|
|
||||||
}"><i class="mdi mdi-github-circle"></i> @${user.login}</a>`;
|
|
||||||
//document.getElementById("github_link").href = `https://github.com/${user.login}`;
|
|
||||||
document.getElementById("userbio").innerHTML = convertToEmoji(
|
document.getElementById("userbio").innerHTML = convertToEmoji(
|
||||||
user.bio
|
user.bio
|
||||||
);
|
);
|
||||||
|
@ -134,6 +131,12 @@ module.exports.updateHTML = (username, opts) => {
|
||||||
<span style="display:${
|
<span style="display:${
|
||||||
user.email == null || !user.email ? "none" : "block"
|
user.email == null || !user.email ? "none" : "block"
|
||||||
};"><i class="mdi mdi-email"></i> ${user.email}</span>
|
};"><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:${
|
<span style="display:${
|
||||||
user.location == null || !user.location ? "none" : "block"
|
user.location == null || !user.location ? "none" : "block"
|
||||||
};"><i class="mdi mdi-map-marker"></i> ${
|
};"><i class="mdi mdi-map-marker"></i> ${
|
||||||
|
|
Loading…
Reference in a new issue