mirror of
https://github.com/dilllxd/gitfolio.git
synced 2024-08-14 22:28:09 +00:00
Make the blog attribute a link (#56)
* Make the blog a link * actual link text * Make the CSS style the link
This commit is contained in:
parent
cbd7aeb88d
commit
88b29ab754
2 changed files with 12 additions and 2 deletions
|
@ -240,6 +240,16 @@ body{
|
|||
font-family: 'Questrial', sans-serif;
|
||||
}
|
||||
|
||||
#about a {
|
||||
color:#fff !important;
|
||||
text-decoration:none;
|
||||
font-weight:bold;
|
||||
}
|
||||
|
||||
#about a:hover {
|
||||
text-decoration:underline;
|
||||
}
|
||||
|
||||
#about span {
|
||||
margin:1vh 0px;
|
||||
display:block;
|
||||
|
@ -434,4 +444,4 @@ body{
|
|||
|
||||
::-webkit-scrollbar {width:5px;height:5px;}
|
||||
::-webkit-scrollbar-track {background:var(--bg-color);}
|
||||
::-webkit-scrollbar-thumb {background:var(--text-color);}
|
||||
::-webkit-scrollbar-thumb {background:var(--text-color);}
|
||||
|
|
|
@ -112,7 +112,7 @@ module.exports.updateHTML = (username, sort, order, includeFork) => {
|
|||
document.getElementById("about").innerHTML = `
|
||||
<span style="display:${user.company == null || !user.company ? 'none' : 'block'};"><i class="fas fa-users"></i> ${user.company}</span>
|
||||
<span style="display:${user.email == null || !user.email ? 'none' : 'block'};"><i class="fas fa-envelope"></i> ${user.email}</span>
|
||||
<span style="display:${user.blog == null || !user.blog ? 'none' : 'block'};"><i class="fas fa-link"></i> ${user.blog}</span>
|
||||
<span style="display:${user.blog == null || !user.blog ? 'none' : 'block'};"><i class="fas fa-link"></i> <a href="${user.blog}">${user.blog}</a></span>
|
||||
<span style="display:${user.location == null || !user.location ? 'none' : 'block'};"><i class="fas fa-map-marker-alt"></i> ${user.location}</span>
|
||||
<span style="display:${user.hireable == false || !user.hireable ? 'none' : 'block'};"><i class="fas fa-user-tie"></i> Available for hire</span>`;
|
||||
//add data to config.json
|
||||
|
|
Loading…
Reference in a new issue