contact info in data
Some checks failed
/ build (push) Successful in 1m26s
/ deploy (push) Failing after 11s

This commit is contained in:
lgpilot 2024-02-21 13:44:48 +01:00
parent 554ca60390
commit ae166c59a9
2 changed files with 13 additions and 9 deletions

9
src/_data/contact.js Normal file
View 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/'
};
};

View file

@ -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>