Add LinkedIn link

This commit is contained in:
schmelczerandras 2021-01-14 10:15:33 +01:00
parent 0f362d2987
commit 5f7d52966a
5 changed files with 18 additions and 1 deletions

View file

@ -1,6 +1,7 @@
import './footer.scss';
import cvIcon from '../../static/icons/cv.svg';
import emailIcon from '../../static/icons/email.svg';
import linkedinIcon from '../../static/icons/linkedin.svg';
import { html } from '../../types/html';
import { FooterParameters } from './footer';
@ -8,6 +9,7 @@ export const generate = ({
title,
email,
curriculaVitae,
linkedin,
lastEditText,
lastEdit,
}: FooterParameters): html => `
@ -24,6 +26,10 @@ export const generate = ({
`
)
.join('\n')}
<li>
${linkedinIcon}
<a id="linkedin" target="_blank" href="${linkedin}">Find me on LinkedIn</a>
</li>
<li>
${emailIcon}
<a id="email" href="mailto:${email}">${email}</a>

View file

@ -5,7 +5,8 @@ import { url } from '../../types/url';
export interface FooterParameters {
title: string;
email: string;
email: url;
linkedin: url;
curriculaVitae: Array<{
name: string;
url: url;