mirror of
https://github.com/dilllxd/gitfolio.git
synced 2024-08-14 22:28:09 +00:00
Various Updates
- Move Email from Socials to About - Attach a link to user location that searches it on Google Maps - Update Material Design Icons
This commit is contained in:
parent
6a240bfed2
commit
523521ea35
2 changed files with 11 additions and 12 deletions
|
@ -8,7 +8,7 @@
|
||||||
<title></title>
|
<title></title>
|
||||||
<link
|
<link
|
||||||
rel="stylesheet"
|
rel="stylesheet"
|
||||||
href="https://cdn.materialdesignicons.com/4.7.95/css/materialdesignicons.min.css"
|
href="https://cdn.materialdesignicons.com/4.8.95/css/materialdesignicons.min.css"
|
||||||
/>
|
/>
|
||||||
<script
|
<script
|
||||||
src="https://code.jquery.com/jquery-3.4.1.min.js"
|
src="https://code.jquery.com/jquery-3.4.1.min.js"
|
||||||
|
|
21
populate.js
21
populate.js
|
@ -128,20 +128,21 @@ module.exports.updateHTML = (username, opts) => {
|
||||||
<span style="display:${
|
<span style="display:${
|
||||||
user.company == null || !user.company ? "none" : "block"
|
user.company == null || !user.company ? "none" : "block"
|
||||||
};"><i class="mdi-face"></i> ${user.company}</span>
|
};"><i class="mdi-face"></i> ${user.company}</span>
|
||||||
<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="${
|
<span style="display:block;"><a href="${
|
||||||
user.html_url
|
user.html_url
|
||||||
}"><i class="mdi mdi-github-circle"></i> @${
|
}"><i class="mdi mdi-github-circle"></i> @${
|
||||||
user.login
|
user.login
|
||||||
}</a>
|
}</a></span>
|
||||||
</span>
|
<span style="display:${
|
||||||
|
email == null ? "none !important" : "block"
|
||||||
|
};"><a href="mailto:${email}" target="_blank" class="socials"><i class="mdi mdi-email"></i> ${email}</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> ${
|
};"><a href="https://www.google.com/maps/search/?api=1&query=${
|
||||||
user.location
|
user.location
|
||||||
}</span>
|
}"<i class="mdi mdi-map-marker"></i> ${
|
||||||
|
user.location
|
||||||
|
}</a></span>
|
||||||
<span style="display:${
|
<span style="display:${
|
||||||
user.hireable == false || !user.hireable ? "none" : "block"
|
user.hireable == false || !user.hireable ? "none" : "block"
|
||||||
};"><i class="mdi mdi-account-tie"></i> Available for hire</span>
|
};"><i class="mdi mdi-account-tie"></i> Available for hire</span>
|
||||||
|
@ -155,9 +156,7 @@ module.exports.updateHTML = (username, opts) => {
|
||||||
<span style="display:${
|
<span style="display:${
|
||||||
dribbble == null ? "none !important" : "block"
|
dribbble == null ? "none !important" : "block"
|
||||||
};"><a href="https://www.dribbble.com/${dribbble}" target="_blank" class="socials"><i class="mdi mdi-dribbble"></i></a></span>
|
};"><a href="https://www.dribbble.com/${dribbble}" target="_blank" class="socials"><i class="mdi mdi-dribbble"></i></a></span>
|
||||||
<span style="display:${
|
|
||||||
email == null ? "none !important" : "block"
|
|
||||||
};"><a href="mailto:${email}" target="_blank" class="socials"><i class="mdi mdi-email"></i></a></span>
|
|
||||||
<span style="display:${
|
<span style="display:${
|
||||||
facebook == null ? "none !important" : "block"
|
facebook == null ? "none !important" : "block"
|
||||||
};"><a href="https://facebook.com/${facebook}" target="_blank" class="socials"><i class="mdi mdi-facebook-box"></i></a></span>
|
};"><a href="https://facebook.com/${facebook}" target="_blank" class="socials"><i class="mdi mdi-facebook-box"></i></a></span>
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue