Add LinkedIn link
This commit is contained in:
parent
0f362d2987
commit
5f7d52966a
5 changed files with 18 additions and 1 deletions
|
|
@ -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>
|
||||
|
|
|
|||
|
|
@ -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;
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue