contact info in data
This commit is contained in:
parent
554ca60390
commit
ae166c59a9
2 changed files with 13 additions and 9 deletions
9
src/_data/contact.js
Normal file
9
src/_data/contact.js
Normal file
|
@ -0,0 +1,9 @@
|
||||||
|
module.exports = function() {
|
||||||
|
return {
|
||||||
|
email: 'hello@monsieurlouis.se',
|
||||||
|
phone: '+33 6 99 39 23 90',
|
||||||
|
linkedin: 'https://www.linkedin.com/in/louis-guidez-42a4a0170/',
|
||||||
|
instagram: 'https://www.instagram.com/wingsofxiv/',
|
||||||
|
git: 'https://git.hostux.fr/louis/'
|
||||||
|
};
|
||||||
|
};
|
|
@ -26,17 +26,12 @@
|
||||||
</div>
|
</div>
|
||||||
<img id="photo" alt="Photo of Louis Guidez" src="photo.png">
|
<img id="photo" alt="Photo of Louis Guidez" src="photo.png">
|
||||||
<ul id="contact">
|
<ul id="contact">
|
||||||
<li title="Phone: +33 6 99 39 23 90"><a href="tel:+33699392390"><i>{% include "ionicons/call-outline.svg" %}</i></a></li>
|
<li title="Phone: {{ contact.phone }}"><a href="tel:{{ contact.phone | replace(" ", "") }}"><i>{% include "ionicons/call-outline.svg" %}</i></a></li>
|
||||||
<li title="Email: louis@hostux.fr"><a href="mailto:louis@hostux.fr"><i>{% include "ionicons/mail-outline.svg" %}</i></a></li>
|
<li title="Email: {{ contact.email }}"><a href="mailto:{{ contact.email }}"><i>{% include "ionicons/mail-outline.svg" %}</i></a></li>
|
||||||
<li title="LinkedIn"><a href="https://www.linkedin.com/in/louis-guidez-42a4a0170/"><i>{% include "ionicons/logo-linkedin.svg" %}</i></a></li>
|
<li title="LinkedIn"><a href="{{ contact.linkedin }}"><i>{% include "ionicons/logo-linkedin.svg" %}</i></a></li>
|
||||||
<li title="Instagram: @wingsofxiv"><a href="https://www.instagram.com/wingsofxiv/"><i>{% include "ionicons/logo-instagram.svg" %}</i></a></li>
|
<li title="Instagram: @wingsofxiv"><a href="{{ contact.instagram }}"><i>{% include "ionicons/logo-instagram.svg" %}</i></a></li>
|
||||||
<li title="Git"><a href="https://git.hostux.fr/louis/"><i>{% include "ionicons/git-branch-outline.svg" %}</i></a></li>
|
<li title="Git"><a href="https://git.hostux.fr/louis/"><i>{% include "ionicons/git-branch-outline.svg" %}</i></a></li>
|
||||||
</ul>
|
</ul>
|
||||||
</div>
|
</div>
|
||||||
{#
|
|
||||||
<div class="page">
|
|
||||||
Hey
|
|
||||||
</div>
|
|
||||||
#}
|
|
||||||
</body>
|
</body>
|
||||||
</html>
|
</html>
|
||||||
|
|
Loading…
Reference in a new issue